|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.tcpip.model.server.TCPIPServerWorkManager
public class TCPIPServerWorkManager
This class is not a full-featured WorkManager. It is ONLY used for my RA non-managed mode test.
| Field Summary | |
|---|---|
static java.lang.String |
version
|
| Fields inherited from interface javax.resource.spi.work.WorkManager |
|---|
IMMEDIATE, INDEFINITE, UNKNOWN |
| Constructor Summary | |
|---|---|
TCPIPServerWorkManager()
Constructor |
|
| Method Summary | |
|---|---|
void |
doWork(javax.resource.spi.work.Work work)
Accepts a Work instance for processing. |
void |
doWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
Accepts a Work instance for processing. |
void |
scheduleWork(javax.resource.spi.work.Work work)
Accepts a Work instance for processing. |
void |
scheduleWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
Accepts a Work instance for processing. |
long |
startWork(javax.resource.spi.work.Work work)
Accepts a Work instance for processing. |
long |
startWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
Accepts a Work instance for processing. |
void |
stop()
Method stop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String version
| Constructor Detail |
|---|
public TCPIPServerWorkManager()
| Method Detail |
|---|
public void doWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
doWork in interface javax.resource.spi.work.WorkManagerwork - The Work object to process.
javax.resource.spi.work.WorkException - If there was a problem
processing the Work instance.WorkManager.doWork(Work)
public void doWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
doWork in interface javax.resource.spi.work.WorkManagerwork - The Work object to process.startTimeout - time duration (in milliseconds) within which
the execution of the Work instance must startexecContext - an object containing the execution context with
which the submitted Work instance must be executedworkListener - an object which would be notified when the various
Work processing events (work accepted, work rejected,
work started, work completed) occur.
javax.resource.spi.work.WorkException - If there was a problem processing the Work instance.WorkManager.doWork(Work, long, ExecutionContext, WorkListener)
public long startWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
startWork in interface javax.resource.spi.work.WorkManagerwork - The Work object to process.
javax.resource.spi.work.WorkException - If there was a problem processing the Work instance.WorkManager.startWork(Work)
public long startWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
startWork in interface javax.resource.spi.work.WorkManagerwork - The Work object to process.startTimeout - time duration (in milliseconds) within which
the execution of the Work instance must startexecContext - an object containing the execution context with
which the submitted Work instance must be executedworkListener - an object which would be notified when the various
Work processing events (work accepted, work rejected,
work started, work completed) occur.
javax.resource.spi.work.WorkException - If there was a problem processing the Work instance.WorkManager.startWork(Work, long, ExecutionContext, WorkListener)
public void scheduleWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
scheduleWork in interface javax.resource.spi.work.WorkManagerwork - The Work object to process.
javax.resource.spi.work.WorkException - If there was a problem processing the Work instance.WorkManager.scheduleWork(Work)
public void scheduleWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
scheduleWork in interface javax.resource.spi.work.WorkManagerwork - The Work object to process.startTimeout - time duration (in milliseconds) within which
the execution of the Work instance must startexecContext - an object containing the execution context with
which the submitted Work instance must be executedworkListener - an object which would be notified when the various
Work processing events (work accepted, work rejected,
work started, work completed) occur.
javax.resource.spi.work.WorkException - If there was a problem processing the Work instance.WorkManager.scheduleWork(Work, long, ExecutionContext, WorkListener)public void stop()
|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||