Package com.sun.corba.ee.impl.transport
Class ReaderThreadImpl
java.lang.Object
com.sun.corba.ee.impl.transport.ReaderThreadImpl
- All Implemented Interfaces:
Work,ReaderThread
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Connectionprivate longprivate booleanprivate ORBprivate static final ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidprivate voidvoiddoWork()This method denotes the actual work that is done by the work item.longThis 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 booleanvoidsetEnqueueTime(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
-
orb
-
connection
-
keepRunning
private boolean keepRunning -
enqueueTime
private long enqueueTime -
wrapper
-
-
Constructor Details
-
ReaderThreadImpl
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceReaderThread
-
close
public void close()- Specified by:
closein interfaceReaderThread
-
isRunning
private boolean isRunning() -
display
-
display
-
doWork
public void doWork()Description copied from interface:WorkThis method denotes the actual work that is done by the work item. -
setEnqueueTime
public void setEnqueueTime(long timeInMillis) Description copied from interface:WorkThis methods sets the time in millis in the work item, when this work item was enqueued in the work queue.- Specified by:
setEnqueueTimein interfaceWork
-
getEnqueueTime
public long getEnqueueTime()Description copied from interface:WorkThis methods gets the time in millis in the work item, when this work item was enqueued in the work queue.- Specified by:
getEnqueueTimein interfaceWork
-
getName
Description copied from interface:WorkThis method will return the name of the work item.
-