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
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
-
Ancestry:
- IChannel | IClientChannel .NET Core, .NET Standard
Properties
TargetUri
property TargetUri: Uri read write;
Uri TargetUri { get; set; }
var TargetUri: Uri { get{} set{} }
Property TargetUri() As Uri
TargetUrl
property TargetUrl: String read write;
String TargetUrl { get; set; }
var TargetUrl: String { 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)
func AsyncDispatch(_ message: IMessage, _ callback: AsyncCallback, _ userData: Object) -> IClientAsyncResult
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.
Clone .NET Core, .NET Standard
method Clone: Object
Object Clone()
func Clone() -> Object
Function Clone() As Object
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)
func Dispatch(_ iMessage: IMessage)
Sub Dispatch(iMessage As IMessage)
Parameters:
- iMessage: