Class MpxSocketFactory
Defines factory abstraction that creates socket per particular technology
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 abstract class MpxSocketFactory : IConfigurable
Methods
Configure(IConfigSectionNode)
Declaration
public abstract void Configure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
MakeClientSocket(MpxClientTransport, IPEndPoint, ClientSite, MpxSocketReceiveAction<MpxClientTransport>)
Declaration
public abstract 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 |
MakeListener(MpxServerTransport, IPEndPoint, MpxSocketReceiveAction<MpxServerTransport>)
Declaration
public abstract 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 |