|
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.TCPIPServerScheduleInfo
public class TCPIPServerScheduleInfo
This class represents TCPIP Server Schedule configuration information.
| Field Summary | |
|---|---|
static java.lang.String |
version
|
| Constructor Summary | |
|---|---|
TCPIPServerScheduleInfo()
Constructor for TCPIPServerScheduleInfo. |
|
TCPIPServerScheduleInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
Constructor for TCPIPServerScheduleInfo. |
|
| Method Summary | |
|---|---|
protected Schedule |
createMonitorSchedule()
Creates a Schedule instance for Monitor. |
protected Schedule |
createWorkerSchedule()
Creates a Schedule instance for Worker. |
protected com.stc.connector.framework.util.ConfigurationHelper |
getInitPropertiesInfo()
Returns the initial configuration. |
TCPIPServerMonitorScheduleInfoInterface |
getListenerScheduleInfo()
|
protected boolean |
getMonitorAtFixedRate()
Returns the monitorAtFixedRate. |
protected long |
getMonitorDelay()
Returns the monitorDelay. |
protected long |
getMonitorPeriod()
Returns the monitorPeriod. |
protected java.lang.String |
getMonitorScheduler()
|
protected java.lang.String |
getMonitorScheduleType()
|
TCPIPServerWorkerScheduleInfoInterface |
getServiceScheduleInfo()
|
protected boolean |
getWorkerAtFixedRate()
Returns the workerAtFixedRate. |
protected long |
getWorkerDelay()
Returns the workerDelay. |
protected long |
getWorkerPeriod()
Returns the workerPeriod. |
protected java.lang.String |
getWorkerScheduler()
|
protected java.lang.String |
getWorkerScheduleType()
|
protected boolean |
isMonitorAtFixedRate()
Returns the monitorAtFixedRate. |
protected boolean |
isMonitorOneTimeScheduleType()
|
protected boolean |
isMonitorRepeatedScheduleType()
|
protected boolean |
isMonitorTimerServiceScheduler()
|
protected boolean |
isMonitorWorkManagerScheduler()
|
protected boolean |
isWorkerAtFixedRate()
Returns the workerAtFixedRate. |
protected boolean |
isWorkerOneTimeScheduleType()
|
protected boolean |
isWorkerRepeatedScheduleType()
|
protected boolean |
isWorkerTimerServiceScheduler()
|
protected boolean |
isWorkerWorkManagerScheduler()
|
void |
setListenerScheduleInfo(TCPIPServerMonitorScheduleInfo info)
|
protected void |
setMonitorAtFixedRate(boolean monitorAtFixedRate)
Sets the monitorAtFixedRate. |
protected void |
setMonitorDelay(long monitorDelay)
Sets the monitorDelay. |
protected void |
setMonitorPeriod(long monitorPeriod)
Sets the monitorPeriod. |
protected void |
setMonitorScheduler(java.lang.String string)
|
protected void |
setMonitorScheduleType(java.lang.String string)
|
void |
setServiceScheduleInfo(TCPIPServerWorkerScheduleInfo info)
|
protected void |
setWorkerAtFixedRate(boolean workerAtFixedRate)
Sets the workerAtFixedRate. |
protected void |
setWorkerDelay(long workerDelay)
Sets the workerDelay. |
protected void |
setWorkerPeriod(long workerPeriod)
Sets the workerPeriod. |
protected void |
setWorkerScheduler(java.lang.String string)
|
protected void |
setWorkerScheduleType(java.lang.String string)
|
void |
validate()
Validates the scheduler configuration settings. |
| 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 TCPIPServerScheduleInfo()
throws TCPIPApplicationException
TCPIPApplicationException - on error.
public TCPIPServerScheduleInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
throws TCPIPApplicationException
aConfiguration - The initial properties into.
TCPIPApplicationException - on error.| Method Detail |
|---|
protected com.stc.connector.framework.util.ConfigurationHelper getInitPropertiesInfo()
protected boolean isMonitorAtFixedRate()
protected boolean getMonitorAtFixedRate()
protected boolean isWorkerAtFixedRate()
protected boolean getWorkerAtFixedRate()
protected void setMonitorAtFixedRate(boolean monitorAtFixedRate)
monitorAtFixedRate - The monitorAtFixedRate to setprotected void setWorkerAtFixedRate(boolean workerAtFixedRate)
workerAtFixedRate - The workerAtFixedRate to setprotected long getMonitorDelay()
protected long getMonitorPeriod()
protected long getWorkerDelay()
protected long getWorkerPeriod()
protected void setMonitorDelay(long monitorDelay)
throws TCPIPApplicationException
monitorDelay - The monitorDelay to set
TCPIPApplicationException - on error.
protected void setMonitorPeriod(long monitorPeriod)
throws TCPIPApplicationException
monitorPeriod - The monitorPeriod to set
TCPIPApplicationException - on error.
protected void setWorkerDelay(long workerDelay)
throws TCPIPApplicationException
workerDelay - The workerDelay to set
TCPIPApplicationException - on error.
protected void setWorkerPeriod(long workerPeriod)
throws TCPIPApplicationException
workerPeriod - The workerPeriod to set
TCPIPApplicationException - on error.protected java.lang.String getMonitorScheduleType()
protected java.lang.String getWorkerScheduleType()
protected boolean isMonitorOneTimeScheduleType()
protected boolean isMonitorRepeatedScheduleType()
protected boolean isWorkerOneTimeScheduleType()
protected boolean isWorkerRepeatedScheduleType()
protected void setMonitorScheduleType(java.lang.String string)
throws TCPIPApplicationException
string - the value to set
TCPIPApplicationException - on error.
protected void setWorkerScheduleType(java.lang.String string)
throws TCPIPApplicationException
string - the value to set
TCPIPApplicationException - on error.protected boolean isMonitorTimerServiceScheduler()
protected boolean isMonitorWorkManagerScheduler()
protected boolean isWorkerTimerServiceScheduler()
protected boolean isWorkerWorkManagerScheduler()
protected java.lang.String getMonitorScheduler()
protected java.lang.String getWorkerScheduler()
protected void setMonitorScheduler(java.lang.String string)
throws TCPIPApplicationException
string - the valuue to set
TCPIPApplicationException - on error.
protected void setWorkerScheduler(java.lang.String string)
throws TCPIPApplicationException
string - the value to set
TCPIPApplicationException - on error.protected Schedule createMonitorSchedule()
protected Schedule createWorkerSchedule()
public void validate()
throws TCPIPApplicationException
TCPIPApplicationException - on error
public TCPIPServerMonitorScheduleInfoInterface getListenerScheduleInfo()
throws TCPIPApplicationException
getListenerScheduleInfo in interface TCPIPServerScheduleInfoInterfaceTCPIPApplicationException
public TCPIPServerWorkerScheduleInfoInterface getServiceScheduleInfo()
throws TCPIPApplicationException
getServiceScheduleInfo in interface TCPIPServerScheduleInfoInterfaceTCPIPApplicationExceptionpublic void setListenerScheduleInfo(TCPIPServerMonitorScheduleInfo info)
info - the value to setpublic void setServiceScheduleInfo(TCPIPServerWorkerScheduleInfo info)
info - the value to set
|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||