Свойство | Тип | Описание | |
---|---|---|---|
extraFlags | string | ||
queryTimeout | DateTime? |
Метод | Описание | |
---|---|---|
Reply ( ResponseData Response ) : void |
Sends a reply to the source of this request
|
|
ServiceRequest ( |
Initializes a new instance of the ServiceRequest class
|
Метод | Описание | |
---|---|---|
BuildResponse ( |
When overriden in a derived class, Generates an appropriate ResponseData object for this message, filled with supplied data
|
|
MergeResponseData ( StringBuilder Headers, byte Content, bool AppendContent, bool EncryptContent, |
Generates a raw response message data
|
|
QueryNetwork ( ) : bool |
Initiates a network query for a session
|
|
QueryNetwork ( System TimeoutHandler ) : bool |
Initiates a network query for a session
|
|
Validate ( ) : bool |
Validates a ServiceRequest message
|
protected abstract BuildResponse ( |
||
ResponseType | The Type of the Response message | |
ResponseMessage | string | The HTTP response reason phrase |
ResponseInfo | ISessionResponseInfo | The session response information |
Content | byte | The response data |
Результат | ResponseData |
protected static MergeResponseData ( StringBuilder Headers, byte Content, bool AppendContent, bool EncryptContent, |
||
Headers | StringBuilder | The HTTP Headers (includes first line) |
Content | byte | The Content (message body) |
AppendContent | bool | Specifies whether the content is to be included in the generated message |
EncryptContent | bool | Specifies whether the content is to be encrypted |
Authenticator | The Authenticator object | |
SessionKey | byte | The session encryption key |
Результат | byte[] |
protected QueryNetwork ( System TimeoutHandler ) : bool | ||
TimeoutHandler | System | The Action that is called when the query times out |
Результат | bool |
public Reply ( ResponseData Response ) : void | ||
Response | ResponseData | The response data |
Результат | void |
public ServiceRequest ( |
||
Data | The HTTPPartialData class to load this instance from | |
Service | StateServer | State server instance |
Результат | System |