MpxSocket TTransport  ClassNFX Class Library

[This is preliminary documentation and is subject to change.]

Base for MpxSockets implementation. An MpxSocket represents an asynchronous bi-directional channel of communication that delivers binary/wire messages of flexible size. The socket is NOT THREAD SAFE for calling Send() from parallel threads. Send() is done synchronously on the calling thread, i.e. the sender waits until the data is written into the OS socket buff. Receive is invoked by internal/system/io thread asynchronously and should not block for long (seconds)
Inheritance Hierarchy

OnlineSystem Object
  NFX DisposableObject
    NFX.Glue.Native MpxSocket TTransport 
      NFX.Glue.Native MpxClientSocket
      NFX.Glue.Native MpxServerSocket

Namespace: NFX.Glue.Native
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public abstract class MpxSocket<TTransport> : DisposableObject 
where TTransport : Transport, IMpxTransport
Type Parameters

TTransport
See Also