Struct IPCManager
Syntax
Fields
Instance
Declaration
public static IPCManager Instance
Field Value
Properties
IsCreated
Declaration
public bool IsCreated { get; }
Property Value
QueueSize
Declaration
public int QueueSize { get; }
Property Value
Methods
CreateEndPoint(String)
Create a NetworkEndPoint for IPC. If the EndPoint is passed to Bind the driver will assume ownership,
otherwise the EndPoint must be destroyed by calling ReleaseEndPoint.
Declaration
public NetworkEndPoint CreateEndPoint(string name = null)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Destroy()
Declaration
Initialize(Int32)
Declaration
public void Initialize(int receiveQueueSize)
Parameters
Type |
Name |
Description |
Int32 |
receiveQueueSize |
|
PeekNext(NetworkEndPoint, Void*, out Int32, out NetworkEndPoint)
Declaration
public int PeekNext(NetworkEndPoint local, void *slice, out int length, out NetworkEndPoint from)
Parameters
Returns
ReceiveMessageEx(NetworkEndPoint, network_iovec*, Int32, ref NetworkEndPoint)
Declaration
public int ReceiveMessageEx(NetworkEndPoint local, network_iovec*iov, int iov_len, ref NetworkEndPoint remote)
Parameters
Returns
ReleaseEndPoint(NetworkEndPoint)
Declaration
public void ReleaseEndPoint(NetworkEndPoint endpoint)
Parameters
TryGetEndPointByHandle(Int32, out NetworkEndPoint)
Declaration
public bool TryGetEndPointByHandle(int handle, out NetworkEndPoint endpoint)
Parameters
Returns