IClientChannel

Overview

The IClientChannel interface represents client end-point of a communication channel. All client channels provided by Remoting SDK implement the IClientChannel interface.

Remoting SDK provides a default abstract implementation of the IClientChannel interface in the ClientChannel class.

Location


Properties


TargetUri

 

property TargetUri: Uri read write;

 

Uri TargetUri { get; set; }

 

Property TargetUri() As Uri

TargetUrl

 

property TargetUrl: String read write;

 

String TargetUrl { get; set; }

 

Property TargetUrl() As String

Required Methods


AsyncDispatch

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

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: