com.martiansoftware.nailgun

Class NGConstants

public class NGConstants extends Object

Just a simple holder for various NailGun-related contants.

Author: Marty Lamb

Field Summary
static charCHUNKTYPE_ARGUMENT
Chunk type marker for command line arguments
static charCHUNKTYPE_COMMAND
Chunk type marker for the command (alias or class)
static charCHUNKTYPE_ENVIRONMENT
Chunk type marker for client environment variables
static charCHUNKTYPE_EXIT
Chunk type marker for client exit chunks
static charCHUNKTYPE_STDERR
Chunk type marker for stderr
static charCHUNKTYPE_STDIN
Chunk type marker for stdin
static charCHUNKTYPE_STDIN_EOF
Chunk type marker for the end of stdin
static charCHUNKTYPE_STDOUT
Chunk type marker for stdout
static charCHUNKTYPE_WORKINGDIRECTORY
Chunk type marker for client working directory
static intDEFAULT_PORT
The default NailGun port (2113)
static intEXIT_EXCEPTION
The exit code sent to clients if an exception occurred on the server
static intEXIT_NOSUCHCOMMAND
The exit code sent to clients if an invalid command is sent
static StringVERSION
Server version number

Field Detail

CHUNKTYPE_ARGUMENT

public static final char CHUNKTYPE_ARGUMENT
Chunk type marker for command line arguments

CHUNKTYPE_COMMAND

public static final char CHUNKTYPE_COMMAND
Chunk type marker for the command (alias or class)

CHUNKTYPE_ENVIRONMENT

public static final char CHUNKTYPE_ENVIRONMENT
Chunk type marker for client environment variables

CHUNKTYPE_EXIT

public static final char CHUNKTYPE_EXIT
Chunk type marker for client exit chunks

CHUNKTYPE_STDERR

public static final char CHUNKTYPE_STDERR
Chunk type marker for stderr

CHUNKTYPE_STDIN

public static final char CHUNKTYPE_STDIN
Chunk type marker for stdin

CHUNKTYPE_STDIN_EOF

public static final char CHUNKTYPE_STDIN_EOF
Chunk type marker for the end of stdin

CHUNKTYPE_STDOUT

public static final char CHUNKTYPE_STDOUT
Chunk type marker for stdout

CHUNKTYPE_WORKINGDIRECTORY

public static final char CHUNKTYPE_WORKINGDIRECTORY
Chunk type marker for client working directory

DEFAULT_PORT

public static final int DEFAULT_PORT
The default NailGun port (2113)

EXIT_EXCEPTION

public static final int EXIT_EXCEPTION
The exit code sent to clients if an exception occurred on the server

EXIT_NOSUCHCOMMAND

public static final int EXIT_NOSUCHCOMMAND
The exit code sent to clients if an invalid command is sent

VERSION

public static final String VERSION
Server version number
© 2004, Martian Software, Inc.