StreamLink.NET  6.2.7-3464-3cfce8d
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Properties | List of all members
Caplin.StreamLink.IChannel Interface Reference

Represents a channel to a subject on the Liberator. More...

Public Member Functions

void CloseChannel ()
 Closes the channel to the Liberator. This will result in a corresponding call to onChannelClose declared in ChannelListener on the DataSource. The delay before onChannelClose is called is defined by the Liberator configuration item, active-discard-timeout.
 
void Send (IDictionary< string, string > fields, Caplin.StreamLink.ICommandListener commandListener)
 

Properties

string Subject [get]
 Returns the subject name to which the channel relates. More...
 

Detailed Description

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.

Member Function Documentation

void Caplin.StreamLink.IChannel.Send ( IDictionary< string, string >  fields,
Caplin.StreamLink.ICommandListener  commandListener 
)

Sends fields to the channel subject

Parameters
fieldsthe fields to send
commandListeneroptional callback for command completion (can set to null).

Property Documentation

string Caplin.StreamLink.IChannel.Subject
get

Returns the subject name to which the channel relates.

The subject of this channel.


Generated on Mon Aug 3 2015 17:13:27 for StreamLink.NET