Struct NetworkPipelineStage
The network pipeline stage
Inherited Members
Namespace: Unity.Networking.Transport
Syntax
public struct NetworkPipelineStage
Constructors
NetworkPipelineStage(TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate>, TransportFunctionPointer<NetworkPipelineStage.SendDelegate>, TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate>, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the NetworkPipelineStage class
Declaration
public NetworkPipelineStage(TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive, TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send, TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection, int ReceiveCapacity, int SendCapacity, int HeaderCapacity, int SharedStateCapacity, int PayloadCapacity = 0)
Parameters
Type | Name | Description |
---|---|---|
TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> | Receive | The receive |
TransportFunctionPointer<NetworkPipelineStage.SendDelegate> | Send | The send |
TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> | InitializeConnection | The initialize connection |
Int32 | ReceiveCapacity | The receive capacity |
Int32 | SendCapacity | The send capacity |
Int32 | HeaderCapacity | The header capacity |
Int32 | SharedStateCapacity | The shared state capacity |
Int32 | PayloadCapacity | The payload capacity |
Fields
HeaderCapacity
The header capacity
Declaration
public readonly int HeaderCapacity
Field Value
Type | Description |
---|---|
Int32 |
InitializeConnection
InitializeConnection function pointer
Declaration
public TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection
Field Value
Type | Description |
---|---|
TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> |
PayloadCapacity
The payload capacity
Declaration
public readonly int PayloadCapacity
Field Value
Type | Description |
---|---|
Int32 |
Receive
Receive function pointer
Declaration
public TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive
Field Value
Type | Description |
---|---|
TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> |
ReceiveCapacity
The receive capacity
Declaration
public readonly int ReceiveCapacity
Field Value
Type | Description |
---|---|
Int32 |
Send
Send function pointer
Declaration
public TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send
Field Value
Type | Description |
---|---|
TransportFunctionPointer<NetworkPipelineStage.SendDelegate> |
SendCapacity
The send capacity
Declaration
public readonly int SendCapacity
Field Value
Type | Description |
---|---|
Int32 |
SharedStateCapacity
The shared state capacity
Declaration
public readonly int SharedStateCapacity
Field Value
Type | Description |
---|---|
Int32 |