edu.uiuc.cs.net.DPRPManager
Interface DPRPClientConstants

All Known Implementing Classes:
DPRPClient, DPRPClientSession, CLI_DPRPClient, GUI_DPRPClient

public interface DPRPClientConstants

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.

Version:
1.0 - October 16th, 2001
Author:
Andy Reitz (areitz@cs.uiuc.edu)

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

NUM_RETRIES

public static final int NUM_RETRIES
Constant -- the number of times to re-send a message, without receiving a reply from the server.

HALT

public static final int HALT
Demarcating the beginning of the "halt group".

HALT_ACQUIRE_LEASE

public static final int HALT_ACQUIRE_LEASE
Lease loop halted because first lease acquire attempt failed.

HALT_SERVER_NACK

public static final int HALT_SERVER_NACK
Lease loop halted because the server NACK'd our lease.

HALT_T2_EXPIRED

public static final int HALT_T2_EXPIRED
Lease loop halted because the t2 timer expired.

HALT_NO_RESPONSE

public static final int HALT_NO_RESPONSE
Lease loop halted because response was received from the server.

HALT_INVALID_SLEEP_TIMER

public static final int HALT_INVALID_SLEEP_TIMER
Lease loop tried to sleep for an invalid time (likely negative).

HALT_INTERRUPTED

public static final int HALT_INTERRUPTED
Lease loop was interrupted by contoller. Event must be processed.

CLI_COMMAND

public static final int CLI_COMMAND
Demarcating the beginning of the "client command" group.

CLI_FORCE_LEASE_UPDATE

public static final int CLI_FORCE_LEASE_UPDATE
Contoller is forcing an immediate lease update.

CLI_FORCE_LEASE_TERMINATE

public static final int CLI_FORCE_LEASE_TERMINATE
Client is forcing an immediate lease termination.

CLI_TERMINATE_THREAD

public static final int CLI_TERMINATE_THREAD
Client is forcing the entire thread to exit.

cliIPFieldString

public static final java.lang.String cliIPFieldString
The string presented to the user for the client IP field.

srvIPFieldString

public static final java.lang.String srvIPFieldString
The string presented to the user for the gateway IP address field.

srvPortFieldString

public static final java.lang.String srvPortFieldString
The label string for the listening port on the gateway.

reqProtocolFieldString

public static final java.lang.String reqProtocolFieldString
The label string for the desired lease protocol.

reqPortFieldString

public static final java.lang.String reqPortFieldString
the label string fo the requested external port.

reqDurationFieldString

public static final java.lang.String reqDurationFieldString
The label string for the desired lease duration.

resetButtonString

public static final java.lang.String resetButtonString
The string on the reset button.

okButtonString

public static final java.lang.String okButtonString
The string on the OK button.

updateButtonString

public static final java.lang.String updateButtonString
The string on the update lease button.

terminateButtonString

public static final java.lang.String terminateButtonString
The string on the squash lease button.