Метод | Описание | |
---|---|---|
GetParameter ( String name ) : String |
Gets the value of a query parameter as a
|
|
MarkObserve ( ) : Request |
Sets CoAP's observe option. If the target resource of this request responds with a success code and also sets the observe option, it will send more responses in the future whenever the resource's state changes.
|
|
MarkObserveCancel ( ) : Request |
Sets CoAP's observe option to the value of 1 to proactively cancel.
|
|
NewDelete ( ) : Request |
Construct a DELETE request.
|
|
NewGet ( ) : Request |
Construct a GET request.
|
|
NewPost ( ) : Request |
Construct a POST request.
|
|
NewPut ( ) : Request |
Construct a PUT request.
|
|
Request ( Method method ) : System |
Initializes a request message.
|
|
Request ( Method method, System.Boolean confirmable ) : System |
Initializes a request message.
|
|
Send ( ) : Request |
Sends this message.
|
|
Send ( IEndPoint endpoint ) : Request |
Sends the request over the specified endpoint.
|
|
SetUri ( String uri ) : Request | ||
WaitForResponse ( ) : Response |
Wait for a response.
|
|
WaitForResponse ( |
Wait for a response.
|
Метод | Описание | |
---|---|---|
OnCanceled ( ) : void | ||
OnRejected ( ) : void | ||
OnTimedOut ( ) : void |
Метод | Описание | |
---|---|---|
CopyEventHandler ( Message src ) : void | ||
Execute ( ) : void | ||
FireReregister ( Request refresh ) : void | ||
FireRespond ( Response response ) : void | ||
FireResponding ( Response response ) : void | ||
NotifyResponse ( ) : void | ||
ValidateBeforeSending ( ) : void |
public GetParameter ( String name ) : String | ||
name | String | a String specifying the name of the parameter |
Результат | String |
public Request ( Method method, System.Boolean confirmable ) : System | ||
method | Method | The method code of the message |
confirmable | System.Boolean | True if the request is Confirmable |
Результат | System |
public Send ( IEndPoint endpoint ) : Request | ||
endpoint | IEndPoint | |
Результат | Request |
public WaitForResponse ( |
||
millisecondsTimeout | the maximum time to wait in milliseconds | |
Результат | Response |