IActiveEventChannel

Overview

The IActiveEventChannel interface represents the IClientChannel that is aware about Multicast Events listeners expecting server event data via this IClientChannel instance. All client channels that are able to receive Multicast Events actively (i.e. Super Channels) implement this interface.

Location


 

AsyncDispatch    (declared in IClientChannel)

Asynchronously sends given IMessage instance using the implemented transport method. Server response is loaded into the provided IMessage instance.

 

method AsyncDispatch(message: IMessage; callback: AsyncCallback; userData: Object): IClientAsyncResult

 

IClientAsyncResult AsyncDispatch(IMessage message, AsyncCallback callback, Object userData)

 

Function AsyncDispatch(message As IMessage, callback As AsyncCallback, userData As Object) As IClientAsyncResult

Parameters:

  • message: IMessage instance containing data to send.
  • callback: Callback method that will be called once the server response is received.
  • userData: Additional parameter that will be provided to the callback method.

Dispatch    (declared in IClientChannel)

Synchronously sends given IMessage instance using the implemented transport method. Server response is loaded into the provided IMessage instance.

 

method Dispatch(iMessage: IMessage)

 

void Dispatch(IMessage iMessage)

 

Sub Dispatch(iMessage As IMessage)

Parameters:

  • iMessage:

RegisterEventReceiver

Registers the provided IEventReceiver instance as an event listener.

 

method RegisterEventReceiver(receiver: IEventReceiver)

 

void RegisterEventReceiver(IEventReceiver receiver)

 

Sub RegisterEventReceiver(receiver As IEventReceiver)

Parameters:

  • receiver:

TargetUri    (declared in IClientChannel)

 

property TargetUri: Uri read write;

 

Uri TargetUri { get; set; }

 

Property TargetUri() As Uri

TargetUrl    (declared in IClientChannel)

 

property TargetUrl: String read write;

 

String TargetUrl { get; set; }

 

Property TargetUrl() As String

UnregisterEventReceiver

Unregisters the provided IEventReceiver instance.

 

method UnregisterEventReceiver(receiver: IEventReceiver)

 

void UnregisterEventReceiver(IEventReceiver receiver)

 

Sub UnregisterEventReceiver(receiver As IEventReceiver)

Parameters:

  • receiver:

 

TargetUri    (declared in IClientChannel)

 

property TargetUri: Uri read write;

 

Uri TargetUri { get; set; }

 

Property TargetUri() As Uri

TargetUrl    (declared in IClientChannel)

 

property TargetUrl: String read write;

 

String TargetUrl { get; set; }

 

Property TargetUrl() As String

 

AsyncDispatch    (declared in IClientChannel)

Asynchronously sends given IMessage instance using the implemented transport method. Server response is loaded into the provided IMessage instance.

 

method AsyncDispatch(message: IMessage; callback: AsyncCallback; userData: Object): IClientAsyncResult

 

IClientAsyncResult AsyncDispatch(IMessage message, AsyncCallback callback, Object userData)

 

Function AsyncDispatch(message As IMessage, callback As AsyncCallback, userData As Object) As IClientAsyncResult

Parameters:

  • message: IMessage instance containing data to send.
  • callback: Callback method that will be called once the server response is received.
  • userData: Additional parameter that will be provided to the callback method.

Dispatch    (declared in IClientChannel)

Synchronously sends given IMessage instance using the implemented transport method. Server response is loaded into the provided IMessage instance.

 

method Dispatch(iMessage: IMessage)

 

void Dispatch(IMessage iMessage)

 

Sub Dispatch(iMessage As IMessage)

Parameters:

  • iMessage:

RegisterEventReceiver

Registers the provided IEventReceiver instance as an event listener.

 

method RegisterEventReceiver(receiver: IEventReceiver)

 

void RegisterEventReceiver(IEventReceiver receiver)

 

Sub RegisterEventReceiver(receiver As IEventReceiver)

Parameters:

  • receiver:

UnregisterEventReceiver

Unregisters the provided IEventReceiver instance.

 

method UnregisterEventReceiver(receiver: IEventReceiver)

 

void UnregisterEventReceiver(IEventReceiver receiver)

 

Sub UnregisterEventReceiver(receiver As IEventReceiver)

Parameters:

  • receiver: