|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a number of constants that are useful for the client(s) to do their business. This needs refactoring, because I have constants scattered all over this code base.
Field Summary | |
static int |
CLI_COMMAND
Demarcating the beginning of the "client command" group. |
static int |
CLI_FORCE_LEASE_TERMINATE
Client is forcing an immediate lease termination. |
static int |
CLI_FORCE_LEASE_UPDATE
Contoller is forcing an immediate lease update. |
static int |
CLI_TERMINATE_THREAD
Client is forcing the entire thread to exit. |
static java.lang.String |
cliIPFieldString
The string presented to the user for the client IP field. |
static int |
HALT
Demarcating the beginning of the "halt group". |
static int |
HALT_ACQUIRE_LEASE
Lease loop halted because first lease acquire attempt failed. |
static int |
HALT_INTERRUPTED
Lease loop was interrupted by contoller. |
static int |
HALT_INVALID_SLEEP_TIMER
Lease loop tried to sleep for an invalid time (likely negative). |
static int |
HALT_NO_RESPONSE
Lease loop halted because response was received from the server. |
static int |
HALT_SERVER_NACK
Lease loop halted because the server NACK'd our lease. |
static int |
HALT_T2_EXPIRED
Lease loop halted because the t2 timer expired. |
static int |
NUM_RETRIES
Constant -- the number of times to re-send a message, without receiving a reply from the server. |
static java.lang.String |
okButtonString
The string on the OK button. |
static java.lang.String |
reqDurationFieldString
The label string for the desired lease duration. |
static java.lang.String |
reqPortFieldString
the label string fo the requested external port. |
static java.lang.String |
reqProtocolFieldString
The label string for the desired lease protocol. |
static java.lang.String |
resetButtonString
The string on the reset button. |
static java.lang.String |
srvIPFieldString
The string presented to the user for the gateway IP address field. |
static java.lang.String |
srvPortFieldString
The label string for the listening port on the gateway. |
static java.lang.String |
terminateButtonString
The string on the squash lease button. |
static java.lang.String |
updateButtonString
The string on the update lease button. |
Field Detail |
public static final int NUM_RETRIES
public static final int HALT
public static final int HALT_ACQUIRE_LEASE
public static final int HALT_SERVER_NACK
public static final int HALT_T2_EXPIRED
public static final int HALT_NO_RESPONSE
public static final int HALT_INVALID_SLEEP_TIMER
public static final int HALT_INTERRUPTED
public static final int CLI_COMMAND
public static final int CLI_FORCE_LEASE_UPDATE
public static final int CLI_FORCE_LEASE_TERMINATE
public static final int CLI_TERMINATE_THREAD
public static final java.lang.String cliIPFieldString
public static final java.lang.String srvIPFieldString
public static final java.lang.String srvPortFieldString
public static final java.lang.String reqProtocolFieldString
public static final java.lang.String reqPortFieldString
public static final java.lang.String reqDurationFieldString
public static final java.lang.String resetButtonString
public static final java.lang.String okButtonString
public static final java.lang.String updateButtonString
public static final java.lang.String terminateButtonString
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |