|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.remote.Token
public class Token
Abstraction for the commands.
| Field Summary | |
|---|---|
static byte[] |
CLOSE
The bytes form of CLOSE_STRING |
static java.lang.String |
CLOSE_STRING
The token for telling a server to close the connection |
static byte[] |
DATA
The bytes form of DATA_STRING |
static java.lang.String |
DATA_STRING
The token for sending data |
static byte[] |
DELETE_DATA
The bytes form of DELETE_DATA_STRING |
static java.lang.String |
DELETE_DATA_STRING
The token for deleting data |
static byte[] |
DELETE_META
The bytes form of DELETE_META_STRING |
static java.lang.String |
DELETE_META_STRING
The token for deleting data |
static byte |
EOL
The new line |
static byte[] |
ERROR
The bytes of the ERROR_STRING |
static java.lang.String |
ERROR_META_DATA_TOO_BIG
Meta data can only be so big. |
static java.lang.String |
ERROR_STRING
The token for sending errors |
static byte[] |
GET_ACTIVITY_LOG_ENTRIES
The byte array form of GET_ACTIVITY_LOG_ENTRIES_STRING. |
static byte[] |
GET_ACTIVITY_LOG_ENTRIES_COUNT
The byte array form of GET_ACTIVITY_LOG_ENTRIES_COUNT_STRING. |
static java.lang.String |
GET_ACTIVITY_LOG_ENTRIES_COUNT_STRING
The token for getting activity log entries count. |
static java.lang.String |
GET_ACTIVITY_LOG_ENTRIES_STRING
The token for getting activity log entries. |
static byte[] |
GET_CONFIGURATION
The bytes form of GET_CONFIGURATION_STRING |
static byte[] |
GET_CONFIGURATION_NO_SIG
The bytes form of GET_CONFIGURATION_NO_SIG_STRING |
static java.lang.String |
GET_CONFIGURATION_NO_SIG_STRING
The token for getting configuration |
static java.lang.String |
GET_CONFIGURATION_STRING
The token for getting configuration |
static byte[] |
GET_DATA
The bytes form of GET_DATA_STRING |
static byte[] |
GET_DATA_HASHES
The bytes form of GET_DATA_HASHSES_STRING |
static java.lang.String |
GET_DATA_HASHES_STRING
The token for getting data hashes |
static java.lang.String |
GET_DATA_STRING
The token for asking for data |
static byte[] |
GET_META
The bytes form of GET_META_STRING |
static byte[] |
GET_META_HASHES
The bytes form of GET_META_HASHES_STRING |
static java.lang.String |
GET_META_HASHES_STRING
The token for getting meta-data hashes |
static java.lang.String |
GET_META_STRING
The token for sending meta-data |
static byte[] |
GET_NETWORK_STATUS_PORTION
The bytes form of GET_NETWORK_STATUS_STRING |
static java.lang.String |
GET_NETWORK_STATUS_PORTION_STRING
Token for a network status request. |
static byte[] |
GET_NONCES
The bytes form of GET_NONCE_STRING |
static java.lang.String |
GET_NONCES_STRING
The token for sending nonce |
static byte[] |
GET_PROJECT_HASHES
The bytes form of GET_PROJECT_HASHES_STRING |
static java.lang.String |
GET_PROJECT_HASHES_STRING
The token for getting project hashes |
static byte[] |
HAS_DATA
The bytes form of HAS_DATA_STRING |
static java.lang.String |
HAS_DATA_STRING
The token for pinging data |
static byte[] |
HAS_META
The bytes form of HAS_META_STRING |
static java.lang.String |
HAS_META_STRING
The token for sending meta-data |
static byte[] |
KEEP_ALIVE
The bytes of the KEEP_ALIVE_STRING |
static java.lang.String |
KEEP_ALIVE_STRING
The token to reset a timeout. |
static byte[] |
NO
The bytes of the NO_STRING |
static java.lang.String |
NO_STRING
The token for negation |
static byte[] |
OK
The bytes of the OK_STRING |
static java.lang.String |
OK_STRING
The token for confirmation |
static byte[] |
PING
The bytes form of PING_STRING |
static java.lang.String |
PING_STRING
The token for pinging the server |
static byte[] |
REGISTER_SERVER
The bytes form of ADD_SERVER_STRING |
static java.lang.String |
REGISTER_SERVER_STRING
The token for registering a server |
static byte[] |
REJECTED_CONNECTION
The bytes form of REJECTED_CONNECTION_STRING |
static java.lang.String |
REJECTED_CONNECTION_STRING
Rejected connection string |
static java.lang.String |
REQUEST_ERROR
Special error for request problems. |
static java.lang.String |
SECURITY_ERROR
Special error for security problems. |
static byte[] |
SET_CONFIGURATION
The bytes form of SET_CONFIGURATION_STRING |
static java.lang.String |
SET_CONFIGURATION_STRING
The token for sending data |
static byte[] |
SET_DATA
The bytes form of SET_DATA_STRING |
static java.lang.String |
SET_DATA_STRING
The token for deleting data |
static byte[] |
SET_META
The bytes form of SET_META_STRING |
static java.lang.String |
SET_META_STRING
The token for deleting data |
static byte[] |
SHUTDOWN
The bytes form of SHUTDOWN_STRING |
static java.lang.String |
SHUTDOWN_STRING
Token for a remote shutdown request. |
| Constructor Summary | |
|---|---|
Token()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OK_STRING
The token for confirmation
public static final byte[] OK
The bytes of the OK_STRING
public static final java.lang.String KEEP_ALIVE_STRING
The token to reset a timeout.
public static final byte[] KEEP_ALIVE
The bytes of the KEEP_ALIVE_STRING
public static final java.lang.String NO_STRING
The token for negation
public static final byte[] NO
The bytes of the NO_STRING
public static final java.lang.String ERROR_STRING
The token for sending errors
public static final byte[] ERROR
The bytes of the ERROR_STRING
public static final java.lang.String DATA_STRING
The token for sending data
public static final byte[] DATA
The bytes form of DATA_STRING
public static final java.lang.String SHUTDOWN_STRING
Token for a remote shutdown request.
public static final byte[] SHUTDOWN
The bytes form of SHUTDOWN_STRING
public static final java.lang.String GET_NETWORK_STATUS_PORTION_STRING
Token for a network status request.
public static final byte[] GET_NETWORK_STATUS_PORTION
The bytes form of GET_NETWORK_STATUS_STRING
public static final java.lang.String GET_DATA_STRING
The token for asking for data
public static final byte[] GET_DATA
The bytes form of GET_DATA_STRING
public static final java.lang.String GET_META_STRING
The token for sending meta-data
public static final byte[] GET_META
The bytes form of GET_META_STRING
public static final java.lang.String HAS_DATA_STRING
The token for pinging data
public static final byte[] HAS_DATA
The bytes form of HAS_DATA_STRING
public static final java.lang.String HAS_META_STRING
The token for sending meta-data
public static final byte[] HAS_META
The bytes form of HAS_META_STRING
public static final java.lang.String GET_NONCES_STRING
The token for sending nonce
public static final byte[] GET_NONCES
The bytes form of GET_NONCE_STRING
public static final java.lang.String PING_STRING
The token for pinging the server
public static final byte[] PING
The bytes form of PING_STRING
public static final java.lang.String GET_DATA_HASHES_STRING
The token for getting data hashes
public static final byte[] GET_DATA_HASHES
The bytes form of GET_DATA_HASHSES_STRING
public static final java.lang.String GET_PROJECT_HASHES_STRING
The token for getting project hashes
public static final byte[] GET_PROJECT_HASHES
The bytes form of GET_PROJECT_HASHES_STRING
public static final java.lang.String GET_META_HASHES_STRING
The token for getting meta-data hashes
public static final byte[] GET_META_HASHES
The bytes form of GET_META_HASHES_STRING
public static final java.lang.String DELETE_DATA_STRING
The token for deleting data
public static final byte[] DELETE_DATA
The bytes form of DELETE_DATA_STRING
public static final java.lang.String DELETE_META_STRING
The token for deleting data
public static final byte[] DELETE_META
The bytes form of DELETE_META_STRING
public static final java.lang.String SET_DATA_STRING
The token for deleting data
public static final byte[] SET_DATA
The bytes form of SET_DATA_STRING
public static final java.lang.String SET_META_STRING
The token for deleting data
public static final byte[] SET_META
The bytes form of SET_META_STRING
public static final java.lang.String REGISTER_SERVER_STRING
The token for registering a server
public static final byte[] REGISTER_SERVER
The bytes form of ADD_SERVER_STRING
public static final java.lang.String CLOSE_STRING
The token for telling a server to close the connection
public static final byte[] CLOSE
The bytes form of CLOSE_STRING
public static final java.lang.String GET_CONFIGURATION_NO_SIG_STRING
The token for getting configuration
public static final byte[] GET_CONFIGURATION_NO_SIG
The bytes form of GET_CONFIGURATION_NO_SIG_STRING
public static final java.lang.String GET_CONFIGURATION_STRING
The token for getting configuration
public static final byte[] GET_CONFIGURATION
The bytes form of GET_CONFIGURATION_STRING
public static final java.lang.String SET_CONFIGURATION_STRING
The token for sending data
public static final byte[] SET_CONFIGURATION
The bytes form of SET_CONFIGURATION_STRING
public static final java.lang.String GET_ACTIVITY_LOG_ENTRIES_STRING
The token for getting activity log entries.
public static final byte[] GET_ACTIVITY_LOG_ENTRIES
The byte array form of GET_ACTIVITY_LOG_ENTRIES_STRING.
public static final java.lang.String GET_ACTIVITY_LOG_ENTRIES_COUNT_STRING
The token for getting activity log entries count.
public static final byte[] GET_ACTIVITY_LOG_ENTRIES_COUNT
The byte array form of GET_ACTIVITY_LOG_ENTRIES_COUNT_STRING.
public static final byte EOL
The new line
public static final java.lang.String REJECTED_CONNECTION_STRING
Rejected connection string
public static final byte[] REJECTED_CONNECTION
The bytes form of REJECTED_CONNECTION_STRING
public static final java.lang.String SECURITY_ERROR
Special error for security problems.
public static final java.lang.String REQUEST_ERROR
Special error for request problems.
public static final java.lang.String ERROR_META_DATA_TOO_BIG
Meta data can only be so big.
| Constructor Detail |
|---|
public Token()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||