Package com.sun.corba.ee.impl.transport
Class SelectorImpl
java.lang.Object
java.lang.Thread
com.sun.corba.ee.impl.transport.SelectorImpl
@ManagedObject
@Description("The Selector, which handles incoming requests to the ORB")
public class SelectorImpl
extends Thread
implements Selector
- Author:
- Harold Carr
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidregisterForEvent(EventHandler eventHandler) voidregisterInterestOps(EventHandler eventHandler) voidrun()voidsetTimeout(long timeout) voidunregisterForEvent(EventHandler eventHandler) Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
-
Constructor Details
-
SelectorImpl
-
-
Method Details
-
setTimeout
public void setTimeout(long timeout) - Specified by:
setTimeoutin interfaceSelector
-
getTimeout
@ManagedAttribute @Description("The selector timeout") public long getTimeout()- Specified by:
getTimeoutin interfaceSelector
-
registerInterestOps
- Specified by:
registerInterestOpsin interfaceSelector
-
registerForEvent
- Specified by:
registerForEventin interfaceSelector
-
unregisterForEvent
- Specified by:
unregisterForEventin interfaceSelector
-
close
public void close() -
run
public void run()
-