|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFourMS.FourMSConstants
public final class FourMSConstants
This is a class full of constants which are used throughout the 4MS package. It should not be instantiated, the constants are static values.
Field Summary | |
---|---|
static int |
ACKMSG
Indicates that a 4MS message is an ACK message . |
static int |
ACKNOWLEDGED
This is a constant which is used to indicate that a message that has been sent to the 4MS has had it's receipt acknowledged. |
static int |
BROADCASTMSG
Indicates that a 4MS message is an broadcast message. |
static int |
CMDERRMASK
A mask used for stripping out the command error from the cmd error status word |
static int |
CMDERROR
This is the parameter position in an incoming status message from a 4MS which corresponds to the command error |
static int |
CMDREJECTED
Command rejected bit mask . |
static int |
COMMANDACCEPTED
Command accepted bit mask. |
static int |
COMMANDMSG
Indicates that the message is a command message. |
static int |
COMMANDOK
Indicates that the command was okay. |
static int |
DATARESPONSEMSG
Indicates that a 4MS message is a data message . |
static int |
ENGINEERINGTOLOGICAL
This constant indicates that the parameter should be converted from engineering units to logical units. |
static java.lang.String |
FOURMSCOMMSFAILED
Indicates that the comms with the 4MS module are bad |
static java.lang.String |
FOURMSCOMMSOK
Indicates that the comms with the 4MS module are OK |
static int |
IDLE
This constants is used to indicate that a mechanism is idle. |
static int |
INITIALISING
This constants is used to indicate that a mechanism is initialising. |
static int |
INVALIDFORMAT
The message is in an invalid format. |
static int |
INVALIDFUNCTION
An invalid function has been specified . |
static int |
INVALIDPARAM
An invalid parameter has been specified. |
static int |
LOGICALTOENGINEERING
Used to indicate that the conversion to be applied to a 4MS parameter is from logical units to engineering. |
static int |
MAXSENDRETRIES
The maximum number of times that we will attempt to send a message giving up |
static int |
MECHERROR
This is the parameter position in an incoming status message from a 4MS which corresponds to the mechanism error |
static int |
MECHINTERLOCKED
The mechanism is interlocked. |
static int |
MECHPOSUNDEFINED
Constant to represent that the position of the mechanism is undefined |
static int |
MESSAGETYPE
This is the parameter position in an incoming status message from a 4MS which corresponds to the message number |
static int |
MONMODELISTFULL
The monitor mode list is full. |
static int |
MOVING
This constants is used to indicate that a mechanism is moving. |
static int |
MSGBUFFERSIZE
This is the size of the incoming buffer which will be used to store the details of messages coming in from a 4MS transceiver |
static int |
NOCMDERROR
Indicates that there is no command error |
static int |
NODENAMENOTPRESENT
The node name is not present, this is for monitor mode only. |
static int |
NOMECHERROR
Indicates that there is no mechanism error. |
static int |
OPERATIONCANCELLED
The operation has been cancelled. |
static int |
PARAMOUTOFRANGE
Indicates that a parameter specified is out of range. |
static int |
PORTSERVER
This is a type of socket which is to be opened |
static int |
REPROGRAMMING
Indicates that the mechanism is being reprogrammed |
static int |
SOCKETCLIENT
Indicates that we have opened a TCP/IP socket client to a 4MS software simulation |
static int |
SOCKETSERVER
This indicates that we want to use a normal TCP/IP socket when opening up a listening connection |
static int |
STATUSRESPONSEMSG
Indicates that the message is a status response message. |
static int |
STOPPED
This constants is used to indicate that a mechanism has stopped. |
static int |
SUBACTIONBUSY
This is sent in response to query about the state of a subaction when the subaction is busy |
static int |
SUBACTIONCANCELLED
This constant represents the final state of an execution of a subaction. |
static int |
SUBACTIONCOMPLETEDOK
This constant represents the final state of an execution of a subaction. |
static int |
SUBACTIONFAILED
This constant represents the final state of an execution of a subaction. |
static int |
SUBACTIONIDLE
This is a constant which indicates that the associated subaction is idle. |
static int |
SUBACTIONTIMEDOUT
This constant represents the final state of an execution of a subaction. |
static int |
TASKACTIVE
Task active mask. |
static int |
TIMEOUTBEFORERESEND
Timeout waiting for an ACK before sending the message again |
static int |
TIMERIDLE
Indicates if a stopwatch timer is idle. |
static int |
TIMERRUNNING
Indicates if a stopwatch timer is actually running. |
static int |
UNACKNOWLEDGED
This constant is used to indicate that a message was not acknowledged by the 4MS |
static int |
UNDELIVERABLE
This is a constant which is used to indicate that a message bound for the 4MS could not be sent. |
static int |
UNINITIALISED
Constant to represent the fact that a mechanism is not initialised |
static int |
UNSENT
This is a constant which is used to indicate that a message destined for the 4MS has not been sent as yet. |
static int |
WAITINGACK
This is a constant which is used to indicate that a message sent to the four MS has been delivered and waiting acknowledgement |
Constructor Summary | |
---|---|
FourMSConstants()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNSENT
public static final int UNDELIVERABLE
public static final int ACKNOWLEDGED
public static final int SUBACTIONIDLE
public static final int SUBACTIONBUSY
public static final int SUBACTIONCOMPLETEDOK
public static final int SUBACTIONTIMEDOUT
public static final int SUBACTIONFAILED
public static final int TIMERRUNNING
public static final int TIMERIDLE
public static final int SOCKETSERVER
public static final int LOGICALTOENGINEERING
public static final int ENGINEERINGTOLOGICAL
public static int UNACKNOWLEDGED
public static final int COMMANDMSG
public static final int STATUSRESPONSEMSG
public static final int ACKMSG
public static final int PORTSERVER
public static final int BROADCASTMSG
public static final int DATARESPONSEMSG
public static final int WAITINGACK
public static final int TIMEOUTBEFORERESEND
public static final int MAXSENDRETRIES
public static final int STOPPED
public static final int IDLE
public static final int MOVING
public static final int INITIALISING
public static final int REPROGRAMMING
public static final int UNINITIALISED
public static final int COMMANDOK
public static final int COMMANDACCEPTED
public static final int TASKACTIVE
public static final int CMDREJECTED
public static final int PARAMOUTOFRANGE
public static final int INVALIDPARAM
public static final int INVALIDFORMAT
public static final int MONMODELISTFULL
public static final int INVALIDFUNCTION
public static final int MECHINTERLOCKED
public static final int OPERATIONCANCELLED
public static final int NODENAMENOTPRESENT
public static final int MECHPOSUNDEFINED
public static final int NOMECHERROR
public static final int MSGBUFFERSIZE
public static final int SUBACTIONCANCELLED
public static final int SOCKETCLIENT
public static final int NOCMDERROR
public static final int CMDERRMASK
public static final int MESSAGETYPE
public static final int MECHERROR
public static final int CMDERROR
public static final java.lang.String FOURMSCOMMSOK
public static final java.lang.String FOURMSCOMMSFAILED
Constructor Detail |
---|
public FourMSConstants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |