com.esf.protocol.fielddevice.service
Class ProtocolConnectionType

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

public class ProtocolConnectionType
extends java.lang.Object

This static class defines the various protocol connection types. Any connection not clearly fitting one of the provided types should be specified as the PROTOCOL_CONNECTION_TYPE_PROTOCOL_SPECIFIC.

The idea behind providing connection types is for future support of a protocol connection layer to unload some of the work from the individual protocol implementations.

Author:
matt.demaree

Field Summary
static java.lang.String PROTOCOL_CONNECTION_TYPE_ETHER_TCP
          protocol specifically connects using a TCP socket connection
static java.lang.String PROTOCOL_CONNECTION_TYPE_ETHER_UDP
          protocol specifically connects using UDP datagrams
static java.lang.String PROTOCOL_CONNECTION_TYPE_ETHERNET
          protocol connects over Ethernet.
static java.lang.String PROTOCOL_CONNECTION_TYPE_NONE
          protocol specifically does not connect to a physical device.
static java.lang.String PROTOCOL_CONNECTION_TYPE_PROTOCOL_SPECIFIC
          may be a custom connection, dedicated interface, or a connection standard type connection that it is known would never fit any form of standardized protocol connection support layer.
static java.lang.String PROTOCOL_CONNECTION_TYPE_RS485
          protocol uses a standard serial port specifically connected as RS485.
static java.lang.String PROTOCOL_CONNECTION_TYPE_SERIAL
          protocol uses a standard serial port, may or may not use some form of handshake or extended control.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_CONNECTION_TYPE_PROTOCOL_SPECIFIC

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_PROTOCOL_SPECIFIC
may be a custom connection, dedicated interface, or a connection standard type connection that it is known would never fit any form of standardized protocol connection support layer.

See Also:
Constant Field Values

PROTOCOL_CONNECTION_TYPE_NONE

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_NONE
protocol specifically does not connect to a physical device. This type indication should never need to be used.

See Also:
Constant Field Values

PROTOCOL_CONNECTION_TYPE_SERIAL

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_SERIAL
protocol uses a standard serial port, may or may not use some form of handshake or extended control. This may be used to indicate a port operating in 485 mode.

See Also:
Constant Field Values

PROTOCOL_CONNECTION_TYPE_RS485

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_RS485
protocol uses a standard serial port specifically connected as RS485. Selecting this type over the basic serial type in a future protocol connection support layer may allow some simplification of the configuration for a 485 connection.

See Also:
Constant Field Values

PROTOCOL_CONNECTION_TYPE_ETHERNET

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_ETHERNET
protocol connects over Ethernet. One of the more specific Ethernet type definitions should be used if applicable.

See Also:
Constant Field Values

PROTOCOL_CONNECTION_TYPE_ETHER_TCP

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_ETHER_TCP
protocol specifically connects using a TCP socket connection

See Also:
Constant Field Values

PROTOCOL_CONNECTION_TYPE_ETHER_UDP

public static final java.lang.String PROTOCOL_CONNECTION_TYPE_ETHER_UDP
protocol specifically connects using UDP datagrams

See Also:
Constant Field Values