Class MpxWinSocketFactory
Factory that makes MpxWin sockets based on Windows-IO completion ports
Implements
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 sealed class MpxWinSocketFactory : MpxSocketFactory, IConfigurable
Methods
Configure(IConfigSectionNode)
Declaration
public override void Configure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
MakeClientSocket(MpxClientTransport, IPEndPoint, ClientSite, MpxSocketReceiveAction<MpxClientTransport>)
Declaration
public override MpxClientSocket MakeClientSocket(MpxClientTransport transport, IPEndPoint remoteServer, ClientSite clientSite, MpxSocketReceiveAction<MpxClientTransport> receiveAction)
Parameters
Type | Name | Description |
---|---|---|
MpxClientTransport | transport | |
System.Net.IPEndPoint | remoteServer | |
ClientSite | clientSite | |
MpxSocketReceiveAction<MpxClientTransport> | receiveAction |
Returns
Type | Description |
---|---|
MpxClientSocket |
Overrides
MakeListener(MpxServerTransport, IPEndPoint, MpxSocketReceiveAction<MpxServerTransport>)
Declaration
public override MpxListener MakeListener(MpxServerTransport transport, IPEndPoint listenEndPoint, MpxSocketReceiveAction<MpxServerTransport> socketReceiveAction)
Parameters
Type | Name | Description |
---|---|---|
MpxServerTransport | transport | |
System.Net.IPEndPoint | listenEndPoint | |
MpxSocketReceiveAction<MpxServerTransport> | socketReceiveAction |
Returns
Type | Description |
---|---|
MpxListener |