public class NGConstants extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
CHUNKTYPE_ARGUMENT
Chunk type marker for command line arguments
|
static byte |
CHUNKTYPE_COMMAND
Chunk type marker for the command (alias or class)
|
static byte |
CHUNKTYPE_ENVIRONMENT
Chunk type marker for client environment variables
|
static byte |
CHUNKTYPE_EXIT
Chunk type marker for client exit chunks
|
static byte |
CHUNKTYPE_HEARTBEAT
Chunk type marker for heartbeats sent to let the server know the client is still alive.
|
static byte |
CHUNKTYPE_SENDINPUT
Chunk type marker for a "startinput" chunk.
|
static byte |
CHUNKTYPE_STDERR
Chunk type marker for stderr
|
static byte |
CHUNKTYPE_STDIN
Chunk type marker for stdin
|
static byte |
CHUNKTYPE_STDIN_EOF
Chunk type marker for the end of stdin
|
static byte |
CHUNKTYPE_STDOUT
Chunk type marker for stdout
|
static byte |
CHUNKTYPE_WORKINGDIRECTORY
Chunk type marker for client working directory
|
static int |
DEFAULT_PORT
The default NailGun port (2113)
|
static int |
EXIT_EXCEPTION
The exit code sent to clients if an exception occurred on the server
|
static int |
EXIT_NOSUCHCOMMAND
The exit code sent to clients if an invalid command is sent
|
static int |
EXIT_SUCCESS
The exit code sent to clients if nail completed successfully
|
static short |
HEARTBEAT_INTERVAL_MILLIS
Expected interval between heartbeats in milliseconds.
|
static short |
HEARTBEAT_TIMEOUT_MILLIS
Maximum interval to wait between heartbeats before considering client to have disconnected.
|
static short |
MAXIMUM_CHUNK_LENGTH
Maximum chunk len sent from client.
|
static int |
SESSION_TERMINATION_TIMEOUT_MILLIS
Maximum time to wait for a Nailgun session to terminate.
|
static String |
VERSION
Server version number
|
Constructor and Description |
---|
NGConstants() |
public static final int DEFAULT_PORT
public static final int EXIT_SUCCESS
public static final int EXIT_EXCEPTION
public static final int EXIT_NOSUCHCOMMAND
public static final byte CHUNKTYPE_ARGUMENT
public static final byte CHUNKTYPE_ENVIRONMENT
public static final byte CHUNKTYPE_COMMAND
public static final byte CHUNKTYPE_WORKINGDIRECTORY
public static final byte CHUNKTYPE_STDIN
public static final byte CHUNKTYPE_STDIN_EOF
public static final byte CHUNKTYPE_STDOUT
public static final byte CHUNKTYPE_STDERR
public static final byte CHUNKTYPE_EXIT
public static final byte CHUNKTYPE_SENDINPUT
public static final byte CHUNKTYPE_HEARTBEAT
public static final String VERSION
public static final short HEARTBEAT_INTERVAL_MILLIS
public static final short HEARTBEAT_TIMEOUT_MILLIS
public static final int SESSION_TERMINATION_TIMEOUT_MILLIS
public static final short MAXIMUM_CHUNK_LENGTH
Copyright © 2024. All rights reserved.