its.backbone.frame
Class ItsFrameType

java.lang.Object
  extended byits.backbone.frame.ItsFrameType

public class ItsFrameType
extends java.lang.Object

Encapsulates ITS Frame Type, allowing only valid numerical types to be used.

Author:
Rick Kint modified by Friedland to call ber packet extractor

Field Summary
static short BAP_DATA
          Frame contains speed or AVL data in BAP format (used in SWIFT project, this is treated differently from DATA for historical reasons).
static short CONTROL
          Frame contains control information.
static short DATA
          Frame contains data.
static short DICTIONARY
          Frame contains data dictionary.
static short EXTRACTOR
          Frame contains the binary java extractor
static short FLOWTYPE
          Frame contains a numerical flow type (used before Self-Defining Data was realized).
static short PAGING_DATA
          Frame contains paging data in SEIKO Message Watch format, i.e. phone numbers and message text (used in SWIFT project, this is treated differently from DATA for historical reasons).
static short REPLY
          Frame contains a server reply to a client request.
static short REQUEST
          Frame contains a request from client to server.
static short SCHEMA
          Frame contains a Self-Defining Data schema.
static short SCHEMA_CONTENTS
          Frame contains contents from a Self-Defining Data schema.
 
Constructor Summary
ItsFrameType(short newType)
          Construct a new ItsFrameType instance using the supplied type.
 
Method Summary
 short toShort()
          Returns the numerical value of the type.
 java.lang.String toString()
          Returns a string representation of the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA

public static final short DATA
Frame contains data.

See Also:
Constant Field Values

DICTIONARY

public static final short DICTIONARY
Frame contains data dictionary.

See Also:
Constant Field Values

CONTROL

public static final short CONTROL
Frame contains control information.

See Also:
Constant Field Values

BAP_DATA

public static final short BAP_DATA
Frame contains speed or AVL data in BAP format (used in SWIFT project, this is treated differently from DATA for historical reasons).

See Also:
Constant Field Values

PAGING_DATA

public static final short PAGING_DATA
Frame contains paging data in SEIKO Message Watch format, i.e. phone numbers and message text (used in SWIFT project, this is treated differently from DATA for historical reasons).

See Also:
Constant Field Values

REQUEST

public static final short REQUEST
Frame contains a request from client to server.

See Also:
Constant Field Values

REPLY

public static final short REPLY
Frame contains a server reply to a client request.

See Also:
Constant Field Values

SCHEMA

public static final short SCHEMA
Frame contains a Self-Defining Data schema.

See Also:
Constant Field Values

SCHEMA_CONTENTS

public static final short SCHEMA_CONTENTS
Frame contains contents from a Self-Defining Data schema.

See Also:
Constant Field Values

FLOWTYPE

public static final short FLOWTYPE
Frame contains a numerical flow type (used before Self-Defining Data was realized).

See Also:
Constant Field Values

EXTRACTOR

public static final short EXTRACTOR
Frame contains the binary java extractor

See Also:
Constant Field Values
Constructor Detail

ItsFrameType

public ItsFrameType(short newType)
Construct a new ItsFrameType instance using the supplied type. This is currently the only way to set a type.

Method Detail

toShort

public short toShort()
Returns the numerical value of the type.


toString

public java.lang.String toString()
Returns a string representation of the type.