Class MpxServerSocket
Represents server-side asynchronous socket that clients connect to
Inheritance
System.Object
MpxServerSocket
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)
System.Object.ToString()
Namespace: NFX.Glue.Native
Assembly: NFX.dll
Syntax
public abstract class MpxServerSocket : MpxSocket<MpxServerTransport>, IDisposable
Constructors
MpxServerSocket(MpxListener, IPEndPoint, ClientSite, MpxSocketReceiveAction<MpxServerTransport>)
Declaration
protected MpxServerSocket(MpxListener listener, IPEndPoint clientEndPoint, ClientSite clientSite, MpxSocketReceiveAction<MpxServerTransport> receiveAction)
Parameters
Type | Name | Description |
---|---|---|
MpxListener | listener | |
System.Net.IPEndPoint | clientEndPoint | |
ClientSite | clientSite | |
MpxSocketReceiveAction<MpxServerTransport> | receiveAction |
Properties
Listener
Returns listener socket that initiated/opened this server socket
Declaration
public MpxListener Listener { get; }
Property Value
Type | Description |
---|---|
MpxListener |
Methods
AcceptManagerVisit(DateTime)
Declaration
public override void AcceptManagerVisit(DateTime when)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | when |
Overrides
NFX.Glue.Native.MpxSocket<NFX.Glue.Native.MpxServerTransport>.AcceptManagerVisit(System.DateTime)
Destructor()
Declaration
protected override void Destructor()
Overrides
NFX.Glue.Native.MpxSocket<NFX.Glue.Native.MpxServerTransport>.Destructor()
Implements
System.IDisposable