Class AppTermServerTransport
Implements server transport for application terminal contract. READ THIS: this binding processes a few messages a second at best, no need to implement complex optimizations like copy-free code etc.
Inheritance
System.Object
AppTermServerTransport
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.Sky.Glue
Assembly: Azos.Sky.dll
Syntax
public sealed class AppTermServerTransport : SyncServerTransport, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, ILocalizedTimeProvider
Constructors
AppTermServerTransport(SyncBinding, ServerEndPoint, IPAddress, Int32)
Declaration
public AppTermServerTransport(SyncBinding binding, ServerEndPoint serverEndpoint, IPAddress localAddr, int port)
Parameters
Type | Name | Description |
---|---|---|
SyncBinding | binding | |
ServerEndPoint | serverEndpoint | |
System.Net.IPAddress | localAddr | |
System.Int32 | port |
Methods
DoDecodeRequest(WireFrame, MemoryStream, ISerializer)
Declaration
protected override RequestMsg DoDecodeRequest(WireFrame frame, MemoryStream ms, ISerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
WireFrame | frame | |
System.IO.MemoryStream | ms | |
ISerializer | serializer |
Returns
Type | Description |
---|---|
RequestMsg |
Overrides
DoEncodeResponse(MemoryStream, ResponseMsg, ISerializer)
Declaration
protected override void DoEncodeResponse(MemoryStream ms, ResponseMsg msg, ISerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms | |
ResponseMsg | msg | |
ISerializer | serializer |
Overrides
Implements
System.IDisposable