Package com.sun.corba.ee.impl.transport
Class EventHandlerBase
java.lang.Object
com.sun.corba.ee.impl.transport.EventHandlerBase
- All Implemented Interfaces:
EventHandler
- Direct Known Subclasses:
AcceptorBase,ConnectionImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ORBprotected SelectionKeyprotected booleanprotected booleanprotected Workprivate static final ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidgetWork()voidvoidsetSelectionKey(SelectionKey selectionKey) voidsetUseSelectThreadToWait(boolean x) voidsetUseWorkerThreadForEvent(boolean x) voidbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.corba.ee.spi.transport.EventHandler
getAcceptor, getChannel, getConnection, getInterestOps
-
Field Details
-
wrapper
-
orb
-
work
-
useWorkerThreadForEvent
protected boolean useWorkerThreadForEvent -
useSelectThreadToWait
protected boolean useSelectThreadToWait -
selectionKey
-
-
Constructor Details
-
EventHandlerBase
public EventHandlerBase()
-
-
Method Details
-
setUseSelectThreadToWait
public void setUseSelectThreadToWait(boolean x) - Specified by:
setUseSelectThreadToWaitin interfaceEventHandler
-
shouldUseSelectThreadToWait
public boolean shouldUseSelectThreadToWait()- Specified by:
shouldUseSelectThreadToWaitin interfaceEventHandler
-
setSelectionKey
- Specified by:
setSelectionKeyin interfaceEventHandler
-
getSelectionKey
- Specified by:
getSelectionKeyin interfaceEventHandler
-
display
-
display
-
handleEvent
public void handleEvent()- Specified by:
handleEventin interfaceEventHandler
-
shouldUseWorkerThreadForEvent
public boolean shouldUseWorkerThreadForEvent()- Specified by:
shouldUseWorkerThreadForEventin interfaceEventHandler
-
setUseWorkerThreadForEvent
public void setUseWorkerThreadForEvent(boolean x) - Specified by:
setUseWorkerThreadForEventin interfaceEventHandler
-
setWork
- Specified by:
setWorkin interfaceEventHandler
-
getWork
- Specified by:
getWorkin interfaceEventHandler
-