TheCommRequestResponse Members
The TheCommRequestResponse type exposes the following members.
Methods
Name | Description | |
---|---|---|
ParseRequestMessageJSON<(Of <<'(T>)>>) |
Deserializes the JSON string in the PLS of message into an object of type T. If it cannot be deserialized, returns the default of T.
|
|
ParseRequestOrResponseMessage(TSM, array<String>[]()[][]%, Guid%) |
Parses the TXT of the message in the format name:correlationToken:param1:param2...
|
|
PublishRequestAndParseResponseAsync(TheThing, TheThing, String, array<String>[]()[][], String, array<Byte>[]()[][]) |
Sends a TSM message to the targetThing and return the matching response message. Uses a timeout of 60 seconds.
|
|
PublishRequestAndParseResponseAsync(TheMessageAddress, TheMessageAddress, String, TimeSpan, array<String>[]()[][], String, array<Byte>[]()[][]) |
Sends a TSM message to the targetThing and return the matching response message
|
|
PublishRequestAsync(TheThing, TheThing, String, array<String>[]()[][], String, array<Byte>[]()[][]) |
Sends a TSM message to the targetThing and return the matching response message. Uses a timeout of 60 seconds.
|
|
PublishRequestAsync(TheMessageAddress, TheMessageAddress, String, TimeSpan, array<String>[]()[][], String, array<Byte>[]()[][]) |
Sends a TSM message to the targetThing and return the matching response message
|
|
PublishRequestCallback(TheMessageAddress, TheMessageAddress, String, TimeSpan, Action<(Of <<'(array<String>[]()[][]>)>>), array<String>[]()[][], String, array<Byte>[]()[][]) |
Sends a message with the given TXT and PLS/PLB to the target and returns the TXT of the response message separated by ':' into a string array.
|
|
PublishRequestCallback(TheMessageAddress, TheMessageAddress, String, TimeSpan, Action<(Of <<'(TSM>)>>), array<String>[]()[][], String, array<Byte>[]()[][]) |
Sends a message with the given TXT and PLS/PLB to the target and returns the response message to the callback as a TSM parameter.
|
|
PublishRequestJSonAsync<(Of <<'(inputT, outputT>)>>)(TheMessageAddress, inputT) |
Sends a message with JSON-serialized parameters to the targetThing and returns the response message as a deserialized object
|
|
PublishRequestJSonAsync<(Of <<'(inputT, outputT>)>>)(TheMessageAddress, TheMessageAddress, inputT) |
Sends a message with JSON-serialized parameters to the targetThing and returns the response message as a deserialized object
|
|
PublishRequestJSonAsync<(Of <<'(inputT, outputT>)>>)(TheMessageAddress, inputT, TimeSpan) |
Sends a message with JSON-serialized parameters to the targetThing and returns the response message as a deserialized object
|
|
PublishRequestJSonAsync<(Of <<'(inputT, outputT>)>>)(TheMessageAddress, TheMessageAddress, inputT, TimeSpan) |
Sends a message with JSON-serialized parameters to the targetThing and returns the payload of the response message as a deserialized object.
|
|
PublishRequestJsonCallback<(Of <<'(inputT, outputT>)>>) |
Sends a message with JSON-serialized parameters to the targetThing and returns the payload of the response message to the callback as a deserialized object.
|
|
PublishResponseMessage(TSM, String, array<Byte>[]()[][]) |
Simple Publish response message.
|
|
PublishResponseMessage(TSM, array<String>[]()[][], String, array<Byte>[]()[][]) |
Publishes the response message back to the originator of the originalMessage.
|
|
PublishResponseMessageJson<(Of <<'(outputT>)>>) |
Publishes the response message back to the originator of the originalMessage with the responseParameters serialized to a JSON string in the payload.
|