StreamLink.NET
7.1.11-7.1.11-4113-e3f20bc
|
Represents a JSON channel to a subject on the Liberator. More...
Public Member Functions | |
void | CloseChannel () |
void | Send (object obj, Caplin.StreamLink.ICommandListener commandListener) |
Properties | |
string | Subject [get] |
Represents a JSON channel to a subject on the Liberator.
A Channel provides a bi-directional communication channel between a StreamLink application and a DataSource adapter. Using a Channel in both DataSource and StreamLink provides a simplified method of communication between the two components and can allow you just to use the Caplin platform as a bi-directional messaging pipe.
void Caplin.StreamLink.IJsonChannel.CloseChannel | ( | ) |
void Caplin.StreamLink.IJsonChannel.Send | ( | object | obj, |
Caplin.StreamLink.ICommandListener | commandListener | ||
) |
obj | the object to send in JSON format (using the installed JsonHandler to serialize the object to JSON) |
commandListener | optional callback for command completion (can set to null). |
|
get |