Package com.sun.corba.ee.impl.transport
Class ListenerThreadImpl
java.lang.Object
com.sun.corba.ee.impl.transport.ListenerThreadImpl
- All Implemented Interfaces:
Work
,ListenerThread
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Acceptor
private long
private boolean
private ORB
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
private void
void
doWork()
This method denotes the actual work that is done by the work item.long
This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.getName()
This method will return the name of the work item.private boolean
void
setEnqueueTime
(long timeInMillis) This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
-
Field Details
-
wrapper
-
orb
-
acceptor
-
keepRunning
private boolean keepRunning -
enqueueTime
private long enqueueTime
-
-
Constructor Details
-
ListenerThreadImpl
-
-
Method Details
-
getAcceptor
- Specified by:
getAcceptor
in interfaceListenerThread
-
close
public void close()- Specified by:
close
in interfaceListenerThread
-
isRunning
private boolean isRunning() -
display
-
display
-
doWork
public void doWork()Description copied from interface:Work
This method denotes the actual work that is done by the work item. -
setEnqueueTime
public void setEnqueueTime(long timeInMillis) Description copied from interface:Work
This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.- Specified by:
setEnqueueTime
in interfaceWork
-
getEnqueueTime
public long getEnqueueTime()Description copied from interface:Work
This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.- Specified by:
getEnqueueTime
in interfaceWork
-
getName
Description copied from interface:Work
This method will return the name of the work item.
-