Struct NetworkEventQueue
Syntax
public struct NetworkEventQueue : IDisposable
Constructors
NetworkEventQueue(Int32)
Declaration
public NetworkEventQueue(int queueSizePerConnection)
Parameters
Type |
Name |
Description |
Int32 |
queueSizePerConnection |
|
Methods
Dispose()
Declaration
GetCountForConnection(Int32)
Declaration
public int GetCountForConnection(int connectionId)
Parameters
Type |
Name |
Description |
Int32 |
connectionId |
|
Returns
PopEvent(out Int32, out Int32, out Int32)
Declaration
public NetworkEvent.Type PopEvent(out int id, out int offset, out int size)
Parameters
Returns
PopEventForConnection(Int32, out Int32, out Int32)
Declaration
public NetworkEvent.Type PopEventForConnection(int connectionId, out int offset, out int size)
Parameters
Returns
PushEvent(NetworkEvent)
Declaration
public void PushEvent(NetworkEvent ev)
Parameters
ToConcurrent()
Declaration
public NetworkEventQueue.Concurrent ToConcurrent()
Returns