|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
com.stc.connector.tcpip.model.server.TCPIPServerMonitorTask
public class TCPIPServerMonitorTask
TCPIP Server Monitor Task (sub work) which is started from TCPIP Server ActivationSpec.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
TCPIPServerMonitorTask(TCPIPServerEndpoint aEndpoint)
Creates a new instance of TCPIPServerMonitorTask |
Method Summary | |
---|---|
boolean |
cancel()
|
TCPIPServerEndpoint |
getEwayEndpoint()
Returns the TCPIPServerEwayActivationSpec. |
com.stc.connector.management.util.ObjectReference |
getMonitor()
|
Scheduler |
getMonitorScheduler()
|
TCPIPServerMonitor |
getMonitorWork()
Returns the monitorWork. |
java.util.Vector |
getWorkerSchedulerList()
|
java.util.Vector |
getWorkerTaskList()
|
java.util.Vector |
getWorkerWorkList()
|
boolean |
isRunning()
Returns the running. |
boolean |
isStarted()
|
boolean |
isSuspendedByMonitor()
|
void |
run()
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread. |
void |
setMonitorScheduler(Scheduler scheduler)
|
void |
setMonitorWork(TCPIPServerMonitor monitorWork)
Sets the monitorWork. |
void |
setSuspendedByMonitor(boolean b)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.util.TimerTask |
---|
scheduledExecutionTime |
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 TCPIPServerMonitorTask(TCPIPServerEndpoint aEndpoint)
aEndpoint
- The TCPIPServerEwayActivationSpec.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
Runnable.run()
public boolean cancel()
cancel
in class java.util.TimerTask
TimerTask.cancel()
public boolean isRunning()
public TCPIPServerEndpoint getEwayEndpoint()
public TCPIPServerMonitor getMonitorWork()
public Scheduler getMonitorScheduler()
public void setMonitorScheduler(Scheduler scheduler)
scheduler
- sets the scheduler instancepublic void setMonitorWork(TCPIPServerMonitor monitorWork)
monitorWork
- The monitorWork to setpublic boolean isSuspendedByMonitor()
public void setSuspendedByMonitor(boolean b)
b
- value to setpublic java.util.Vector getWorkerSchedulerList()
public java.util.Vector getWorkerTaskList()
public java.util.Vector getWorkerWorkList()
public void start()
start
in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
LifeCycle.start()
public void stop()
stop
in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
LifeCycle.stop()
public boolean isStarted()
isStarted
in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
LifeCycle.isStarted()
public com.stc.connector.management.util.ObjectReference getMonitor()
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |