Method GetEventQueueSizeForConnection
GetEventQueueSizeForConnection(NetworkConnection)
Returns the size of the EventQueue for a specific connection
Declaration
public int GetEventQueueSizeForConnection(NetworkConnection connectionId)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkConnection | connectionId | Connection for which to get the event queue size. |
Returns
| Type | Description |
|---|---|
| int | If the connection is valid it returns the size of the event queue otherwise it returns 0. |