Struct NetworkPipelineStage
Concrete implementation details of a pipeline stage. Only used if implementing custom
pipeline stages. Implementors of INetworkPipelineStage are required to produce
this structure on static initialization. The values in this structure will then be used at
runtime for each pipeline where the stage is used.
Assembly: Unity.Networking.Transport.dll
Syntax
public struct NetworkPipelineStage
Constructors
NetworkPipelineStage(TransportFunctionPointer<ReceiveDelegate>, TransportFunctionPointer<SendDelegate>, TransportFunctionPointer<InitializeConnectionDelegate>, int, int, int, int, int)
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
Fields
Declaration
public readonly int HeaderCapacity
Field Value
InitializeConnection
Declaration
public TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection
Field Value
PayloadCapacity
Declaration
public readonly int PayloadCapacity
Field Value
Receive
Declaration
public TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive
Field Value
ReceiveCapacity
Declaration
public readonly int ReceiveCapacity
Field Value
Send
Declaration
public TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send
Field Value
SendCapacity
Declaration
public readonly int SendCapacity
Field Value
SharedStateCapacity
Declaration
public readonly int SharedStateCapacity
Field Value