public class StreamingToolConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STREAMING_ACK_MESSAGE
Command acknowledgement messages used to signal positive acknowledgement ('ack'),
negative acknowledgement ('nck'), and negative acknowledgement with an accompanying
message ('nkm').
|
protected static int |
STREAMING_ACK_MESSAGE_SIZE |
static java.lang.String |
STREAMING_NCK_MESSAGE |
static int |
STREAMING_NCK_WITH_MESSAGE_MAX_MESSAGE_LENGTH |
static java.lang.String |
STREAMING_NCK_WITH_MESSAGE_MESSAGE |
static int |
STREAMING_NCK_WITH_MESSAGE_MESSAGE_LEN_SIZE
Number of characters used to represent the length of the serialized message, fixed at a constant
4 characters to ensure we can deterministically know how much input to wait for when looking for
a message length in the incoming stream.
|
Constructor and Description |
---|
StreamingToolConstants() |
public static java.lang.String STREAMING_ACK_MESSAGE
public static java.lang.String STREAMING_NCK_MESSAGE
public static java.lang.String STREAMING_NCK_WITH_MESSAGE_MESSAGE
protected static int STREAMING_ACK_MESSAGE_SIZE
public static int STREAMING_NCK_WITH_MESSAGE_MESSAGE_LEN_SIZE
public static int STREAMING_NCK_WITH_MESSAGE_MAX_MESSAGE_LENGTH