Метод | Описание | |
---|---|---|
CompareTo ( object obj ) : int |
Compares the current instance with another object of the same type.
|
|
DeserializeToken ( string strToken ) : |
Creates a new instance of type Token from a token's string representation.
|
|
GetId ( |
||
SerializeTokenToString ( |
Serializes an instance of type Token to a string. The string representation is as followed: id + SequenceNo + InitRequest id: 29 chars SequenceNo: 10 chars InitRequest: 1 char (1=true; 0=false) Each part is right padded with ' '. |
|
Token ( ) : System | ||
Token ( Identity id, int sequenceNumber ) : System | ||
Token ( Identity id, int sequenceNumber, bool initRequest ) : System |
public CompareTo ( object obj ) : int | ||
obj | object | An object to compare with this instance. |
Результат | int |
public static DeserializeToken ( string strToken ) : |
||
strToken | string | The string representation of a token. |
Результат |
public static GetId ( |
||
token | ||
Результат | int |
public static SerializeTokenToString ( |
||
token | The object to be serialized. | |
Результат | string |
public Token ( Identity id, int sequenceNumber ) : System | ||
id | Identity | |
sequenceNumber | int | |
Результат | System |
public Token ( Identity id, int sequenceNumber, bool initRequest ) : System | ||
id | Identity | |
sequenceNumber | int | |
initRequest | bool | |
Результат | System |