|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.portal.QueuedCommand
public abstract class QueuedCommand
QueuedCommands are stored in a Portal, and forwarded to their destination node when the communications link is available.
| Field Summary | |
|---|---|
protected long |
_actualSentTime
|
protected long |
_deviceID
|
protected long |
_earliestSendTime
|
protected long |
_latestSendTime
|
protected java.lang.String |
_notifyAddress
|
static int |
ERROR
Indicates command error. |
static int |
OK
Indicates command success. |
| Method Summary | |
|---|---|
long |
actualSentTime()
Time command was actually sent. |
void |
clearResult()
Clear result code and string. |
long |
deviceID()
Device to which command is addressed. |
abstract void |
dispatch(Node node)
Dispatch command to the node. |
long |
earliestSendTime()
Earliest time to send command. |
long |
latestSendTime()
Latest time to send command. |
abstract java.lang.String |
name()
String indicating type of QueuedCommand |
java.lang.String |
notifyAddress()
Email to notify when command has been sent. |
int |
result()
Result of command; OKAY or ERROR. |
boolean |
resultSet()
Indicate whether result has been set. |
java.lang.String |
resultString()
String indicating result of command. |
void |
setActualSentTime(long sentTime)
Set sent time. |
void |
setResult(int result,
java.lang.String resultString)
Set result code and string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OK
public static final int ERROR
protected long _earliestSendTime
protected long _latestSendTime
protected long _actualSentTime
protected java.lang.String _notifyAddress
protected long _deviceID
| Method Detail |
|---|
public long deviceID()
public long earliestSendTime()
public long latestSendTime()
public long actualSentTime()
public void setActualSentTime(long sentTime)
public int result()
public java.lang.String resultString()
public java.lang.String notifyAddress()
public abstract java.lang.String name()
public void clearResult()
public void setResult(int result,
java.lang.String resultString)
public boolean resultSet()
public abstract void dispatch(Node node)
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||