DataSource.NET
IChannel Interface
NamespacesCaplin.DataSource.ChannelIChannel

Channels provide a bi-directional communication mechanism between StreamLink clients and DataSource applications. Messages on a channel take the form of IRecordMessages that can be sent by either the DataSource or the StreamLink client. An example use of Channel would be to implement a trade messaging channel.

Declaration Syntax
C#Visual BasicVisual C++
public interface IChannel
Public Interface IChannel
public interface class IChannel
Members
All MembersMethodsProperties



IconMemberDescription
CreateGenericMessage(String)
Creates a generic message.

CreateRecordMessage(String)
Creates a record message.

Peer
Gets the peer.

SendMessage(IRecordMessage)
Sends a record message to the peer that opened the channel.

SendRecordMessage(IRecordMessage)
Sends a record message to the peer that opened the channel.

Subject
Gets the subject of this channel.

Remarks

A channel is identified by its subject and the DataSource IPeer (for example, a Liberator) that opened the channel. In deployment, this means that it is possible for two channels to exist with identical subjects but they are differentiated by the IPeers that opened them.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 6.2.6.2123 (6.2.6.2123)