org.opcfoundation.ua.transport.tcp.impl
Class TcpMessageType

java.lang.Object
  extended by org.opcfoundation.ua.transport.tcp.impl.TcpMessageType

public class TcpMessageType
extends Object

TCP Communication headers


Field Summary
static int ABORT
          A final chunk for a message which indicates that the message has been aborted by the sender.
static int ACKF
          Constant ACKF=ACKNOWLEDGE | FINAL
static int ACKNOWLEDGE
          An acknowledge message.
static int CHUNK_TYPE_MASK
          A mask used to select the chunk type portion of the message id.
static int CLOSE
          A chunk for a CloseSecureChannel message.
static int CONTINUE
          An intermediate chunk for a message.
static int ERRF
          Constant ERRF=ERROR | FINAL
static int ERROR
          An error message.
static int FINAL
          A final chunk for a message.
static int HELF
          Constant HELF=HELLO | FINAL
static int HELLO
          A hello message.
static int MESSAGE
          A chunk for a generic message.
static int MESSAGE_TYPE_MASK
          A mask used to select the message type portion of the message id.
static int MSGA
          Constant MSGA=MESSAGE | ABORT
static int MSGC
          Constant MSGC=MESSAGE | CONTINUE
static int MSGF
          Constant MSGF=MESSAGE | FINAL
static int OPEN
          A chunk for an OpenSecureChannel message.
static int OPNA
          Constant OPNA=OPEN | ABORT
static int OPNC
          Constant OPNC=OPEN | CONTINUE
static int OPNF
          Constant OPNF=OPEN | FINAL
 
Constructor Summary
TcpMessageType()
           
 
Method Summary
static boolean continues(int msgType)
          continues.
static boolean isAbort(int msgType)
          isAbort.
static boolean isFinal(int msgType)
          isFinal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FINAL

public static final int FINAL
A final chunk for a message.

See Also:
Constant Field Values

CONTINUE

public static final int CONTINUE
An intermediate chunk for a message.

See Also:
Constant Field Values

ABORT

public static final int ABORT
A final chunk for a message which indicates that the message has been aborted by the sender.

See Also:
Constant Field Values

MESSAGE_TYPE_MASK

public static final int MESSAGE_TYPE_MASK
A mask used to select the message type portion of the message id.

See Also:
Constant Field Values

CHUNK_TYPE_MASK

public static final int CHUNK_TYPE_MASK
A mask used to select the chunk type portion of the message id.

See Also:
Constant Field Values

MESSAGE

public static final int MESSAGE
A chunk for a generic message.

See Also:
Constant Field Values

OPEN

public static final int OPEN
A chunk for an OpenSecureChannel message.

See Also:
Constant Field Values

CLOSE

public static final int CLOSE
A chunk for a CloseSecureChannel message.

See Also:
Constant Field Values

HELLO

public static final int HELLO
A hello message.

See Also:
Constant Field Values

ACKNOWLEDGE

public static final int ACKNOWLEDGE
An acknowledge message.

See Also:
Constant Field Values

ERROR

public static final int ERROR
An error message.

See Also:
Constant Field Values

MSGC

public static final int MSGC
Constant MSGC=MESSAGE | CONTINUE

See Also:
Constant Field Values

MSGF

public static final int MSGF
Constant MSGF=MESSAGE | FINAL

See Also:
Constant Field Values

MSGA

public static final int MSGA
Constant MSGA=MESSAGE | ABORT

See Also:
Constant Field Values

OPNC

public static final int OPNC
Constant OPNC=OPEN | CONTINUE

See Also:
Constant Field Values

OPNF

public static final int OPNF
Constant OPNF=OPEN | FINAL

See Also:
Constant Field Values

OPNA

public static final int OPNA
Constant OPNA=OPEN | ABORT

See Also:
Constant Field Values

HELF

public static final int HELF
Constant HELF=HELLO | FINAL

See Also:
Constant Field Values

ACKF

public static final int ACKF
Constant ACKF=ACKNOWLEDGE | FINAL

See Also:
Constant Field Values

ERRF

public static final int ERRF
Constant ERRF=ERROR | FINAL

See Also:
Constant Field Values
Constructor Detail

TcpMessageType

public TcpMessageType()
Method Detail

isFinal

public static boolean isFinal(int msgType)

isFinal.

Parameters:
msgType - a int.
Returns:
a boolean.

continues

public static boolean continues(int msgType)

continues.

Parameters:
msgType - a int.
Returns:
a boolean.

isAbort

public static boolean isAbort(int msgType)

isAbort.

Parameters:
msgType - a int.
Returns:
a boolean.


Copyright © 2018. All rights reserved.