Class ClientTransport
Inheritance
System.Object
ClientTransport
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Glue
Assembly: Azos.dll
Syntax
public abstract class ClientTransport : Transport, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, ILocalizedTimeProvider
Constructors
ClientTransport(Binding)
Declaration
protected ClientTransport(Binding binding)
Parameters
Type | Name | Description |
---|---|---|
Binding | binding |
Methods
DoSendRequest(ClientEndPoint, RequestMsg, CallOptions)
Override to send a client request into remote endpoint. This is a blocking call for bindings that are OperationFlow.Synchronous and result arrives immediately into CallSlot.
Declaration
protected abstract CallSlot DoSendRequest(ClientEndPoint endpoint, RequestMsg request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ClientEndPoint | endpoint | |
RequestMsg | request | |
CallOptions | options |
Returns
Type | Description |
---|---|
CallSlot |
SendRequest(ClientEndPoint, RequestMsg, CallOptions)
Sends a client request into remote endpoint. This is a blocking call for bindings that are OperationFlow.Synchronous and result arrives immediately into CallSlot.
Declaration
public CallSlot SendRequest(ClientEndPoint endpoint, RequestMsg request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ClientEndPoint | endpoint | |
RequestMsg | request | |
CallOptions | options |
Returns
Type | Description |
---|---|
CallSlot |
Implements
System.IDisposable