Class TripConstants
java.lang.Object
org.tentackle.trip.TripConstants
Some constants used in the Trip protocol.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaximum value for 3-byte signed integers.static final intMinimum value for 3-byte signed integers.static final longMaximum value for 5-byte signed longs.static final longMinimum value for 5-byte signed longs.static final longMaximum value for 6-byte signed longs.static final longMinimum value for 6-byte signed longs.static final longMaximum value for 7-byte signed longs.static final longMinimum value for 7-byte signed longs.static final byte[]The 2-byte magic number (TRIP connection header):» «
Which is followed by the UUID of the transport.static final intMaximum value for unsigned bytes.static final intMaximum value for unsigned 3-byte integers.static final intMaximum value for unsigned shorts. -
Method Summary
-
Field Details
-
MAGIC
public static final byte[] MAGICThe 2-byte magic number (TRIP connection header):» «
Which is followed by the UUID of the transport. -
UNSIGNED_BYTE_MAX
public static final int UNSIGNED_BYTE_MAXMaximum value for unsigned bytes.- See Also:
-
UNSIGNED_SHORT_MAX
public static final int UNSIGNED_SHORT_MAXMaximum value for unsigned shorts.- See Also:
-
UNSIGNED_INT3_MAX
public static final int UNSIGNED_INT3_MAXMaximum value for unsigned 3-byte integers.- See Also:
-
INT3_MAX
public static final int INT3_MAXMaximum value for 3-byte signed integers.- See Also:
-
INT3_MIN
public static final int INT3_MINMinimum value for 3-byte signed integers.- See Also:
-
LONG5_MAX
public static final long LONG5_MAXMaximum value for 5-byte signed longs.- See Also:
-
LONG5_MIN
public static final long LONG5_MINMinimum value for 5-byte signed longs.- See Also:
-
LONG6_MAX
public static final long LONG6_MAXMaximum value for 6-byte signed longs.- See Also:
-
LONG6_MIN
public static final long LONG6_MINMinimum value for 6-byte signed longs.- See Also:
-
LONG7_MAX
public static final long LONG7_MAXMaximum value for 7-byte signed longs.- See Also:
-
LONG7_MIN
public static final long LONG7_MINMinimum value for 7-byte signed longs.- See Also:
-