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 ORB
protected SelectionKey
protected boolean
protected boolean
protected Work
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
getWork()
void
void
setSelectionKey
(SelectionKey selectionKey) void
setUseSelectThreadToWait
(boolean x) void
setUseWorkerThreadForEvent
(boolean x) void
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
setUseSelectThreadToWait
in interfaceEventHandler
-
shouldUseSelectThreadToWait
public boolean shouldUseSelectThreadToWait()- Specified by:
shouldUseSelectThreadToWait
in interfaceEventHandler
-
setSelectionKey
- Specified by:
setSelectionKey
in interfaceEventHandler
-
getSelectionKey
- Specified by:
getSelectionKey
in interfaceEventHandler
-
display
-
display
-
handleEvent
public void handleEvent()- Specified by:
handleEvent
in interfaceEventHandler
-
shouldUseWorkerThreadForEvent
public boolean shouldUseWorkerThreadForEvent()- Specified by:
shouldUseWorkerThreadForEvent
in interfaceEventHandler
-
setUseWorkerThreadForEvent
public void setUseWorkerThreadForEvent(boolean x) - Specified by:
setUseWorkerThreadForEvent
in interfaceEventHandler
-
setWork
- Specified by:
setWork
in interfaceEventHandler
-
getWork
- Specified by:
getWork
in interfaceEventHandler
-