com.eruces.teadmin.LocalKeyStatus
The LocalKeyStatus class is for the remote engine key status.
Static Public Attributes
| Type | Name | Description |
|---|---|---|
| int | MARK_CHECKOUT | key checked out flag |
| int | UNMARK_CHECKOUT | key checked in flag |
Public Member Functions
| Member | Description |
|---|---|
LocalKeyStatus(byte[] hiddenlink) | Constructor of local key status. |
LocalKeyStatus(byte[] hiddenlink, int status) | Constructor of local key status. |
LocalKeyStatus(String hiddenlink) | Constructor of local key status. |
LocalKeyStatus(String hiddenlink, int status) | Constructor of local key status. |
void setHiddenLink(byte[] hiddenlink) | Set TTag. |
void setHiddenLink(String hiddenlink) | Set TTag. |
byte[] getRawHiddenLink() | Get raw TTag value. |
String getHiddenLink() | The getHiddenLink method is used to retrieve the base64-encoded TTag. |
void setStatus(int status) | Set key status. |
int getStatus() | Get key status. |
Member Function Documentation
LocalKeyStatus(byte[] hiddenlink)
Constructor of local key status.
Parameters
| Parameter | Description |
|---|---|
hiddenlink | A byte array representing the TTag |
LocalKeyStatus(byte[] hiddenlink, int status)
Constructor of local key status.
Parameters
| Parameter | Description |
|---|---|
hiddenlink | A byte array representing the TTag |
status | status of key |
LocalKeyStatus(String hiddenlink)
Constructor of local key status.
Parameters
| Parameter | Description |
|---|---|
hiddenlink | A string representing the base64-encoded TTag |
LocalKeyStatus(String hiddenlink, int status)
Constructor of local key status.
Parameters
| Parameter | Description |
|---|---|
hiddenlink | A string representing the base64-encoded TTag |
status | Key status |
void setHiddenLink(byte[] hiddenlink)
Set TTag.
Parameters
| Parameter | Description |
|---|---|
hiddenlink | raw TTag value |
void setHiddenLink(String hiddenlink)
Set TTag.
Parameters
| Parameter | Description |
|---|---|
hiddenlink | TTag string value (base64 encode) |
byte[] getRawHiddenLink()
Get raw TTag value.
Returns: A byte array representing the TTag value
String getHiddenLink()
The getHiddenLink method is used to retrieve the base64-encoded TTag.
Returns: A string representing the base64-encoded TTag.
void setStatus(int status)
Set key status.
Parameters
| Parameter | Description |
|---|---|
status | key status |
int getStatus()
Get key status.
Returns: