Sun Adapter for TCP/IP HL7

com.stc.connector.tcpip.model.schedule
Interface Schedule

All Known Implementing Classes:
OneTimeSchedule, RepeatedSchedule

public interface Schedule

RA Communication schedule interface for a timer schedule.

Version:
cvs revision: $Revision: 1.3 $ Last Modified: $Date: 2005/09/03 06:33:17 $
Author:
Harry Liu

Field Summary
static java.lang.String TYPE_ONETIME
           
static java.lang.String TYPE_REPEATED
           
static java.lang.String version
           
 
Method Summary
 long getDelay()
          Method getDelay.
 long getRepeatPeriod()
          Method getRepeatPeriod.
 java.util.Date getStartTime()
          Method getStartTime.
 boolean isFixedRate()
          Method isFixedRate.
 

Field Detail

version

static final java.lang.String version
See Also:
Constant Field Values

TYPE_ONETIME

static final java.lang.String TYPE_ONETIME
See Also:
Constant Field Values

TYPE_REPEATED

static final java.lang.String TYPE_REPEATED
See Also:
Constant Field Values
Method Detail

getStartTime

java.util.Date getStartTime()
Method getStartTime.

Returns:
Date

getDelay

long getDelay()
Method getDelay.

Returns:
long

getRepeatPeriod

long getRepeatPeriod()
Method getRepeatPeriod. Negative value means one-time (non repeated) schedule.

Returns:
long

isFixedRate

boolean isFixedRate()
Method isFixedRate. It is only for repeated schedule.

Returns:
boolean

Sun Adapter for TCP/IP HL7