StreamLink.NET
7.1.11-7.1.11-4113-e3f20bc
|
Represents a channel to a subject on the Liberator. More...
Public Member Functions | |
void | CloseChannel () |
void | Send (IDictionary< string, string > fields, Caplin.StreamLink.ICommandListener commandListener) |
void | SendWithFieldList (IList< Caplin.StreamLink.STuple > fields, Caplin.StreamLink.ICommandListener commandListener) |
Properties | |
string | Subject [get] |
Represents a 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.IChannel.CloseChannel | ( | ) |
void Caplin.StreamLink.IChannel.Send | ( | IDictionary< string, string > | fields, |
Caplin.StreamLink.ICommandListener | commandListener | ||
) |
fields | the fields to send |
commandListener | optional callback for command completion (can set to null). |
void Caplin.StreamLink.IChannel.SendWithFieldList | ( | IList< Caplin.StreamLink.STuple > | fields, |
Caplin.StreamLink.ICommandListener | commandListener | ||
) |
fields | the fields to send. Note: for Javascript this should be a JSON object of the form |
commandListener | optional callback for command completion (can set to null). |
|
get |