com.esf.protocol.fielddevice.service
Class ProtocolConnectionStatus

java.lang.Object
  extended by com.esf.protocol.fielddevice.service.ProtocolConnectionStatus

public class ProtocolConnectionStatus
extends java.lang.Object

This static class provides the possible responses for the connection status.

Author:
matt.demaree

Field Summary
static int CONNECTED
          a connection to the field device currently exists.
static int CONNECTING
          attempting to connect to field device, this is a transient state
static int DISCONNECTED
          attempts have been made to connect to the device, but currently no connection exists
static int DISCONNECTING
          attempting to disconnect from the field device.
static int NEVERCONNECTED
          initial state for any connection
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEVERCONNECTED

public static final int NEVERCONNECTED
initial state for any connection

See Also:
Constant Field Values

DISCONNECTED

public static final int DISCONNECTED
attempts have been made to connect to the device, but currently no connection exists

See Also:
Constant Field Values

CONNECTING

public static final int CONNECTING
attempting to connect to field device, this is a transient state

See Also:
Constant Field Values

CONNECTED

public static final int CONNECTED
a connection to the field device currently exists. A status of CONNECTED does not assure that requests from or commands to this field device will succeed.

See Also:
Constant Field Values

DISCONNECTING

public static final int DISCONNECTING
attempting to disconnect from the field device. Disconnection from a field device may be delayed while outstanding commands are either completed or terminated.

See Also:
Constant Field Values