Package com.sun.corba.se.impl.transport
Class EventHandlerBase
java.lang.Object
com.sun.corba.se.impl.transport.EventHandlerBase
- All Implemented Interfaces:
EventHandler
- Direct Known Subclasses:
SocketOrChannelAcceptorImpl,SocketOrChannelConnectionImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ORBprotected SelectionKeyprotected booleanprotected booleanprotected Work -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWork()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.se.pept.transport.EventHandler
getAcceptor, getChannel, getConnection, getInterestOps
-
Field Details
-
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
-
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
-