public struct TestPipelineStageWithHeader : INetworkPipelineStage
Properties
Declaration
public int HeaderCapacity { get; }
Property Value
Implements
Declaration
public int ReceiveCapacity { get; }
Property Value
Implements
Declaration
public int SendCapacity { get; }
Property Value
Implements
Declaration
public int SharedStateCapacity { get; }
Property Value
Implements
Methods
Declaration
public void InitializeConnection(NativeSlice<byte> sendProcessBuffer, NativeSlice<byte> recvProcessBuffer, NativeSlice<byte> sharedProcessBuffer)
Parameters
| Type |
Name |
Description |
| NativeSlice<Byte> |
sendProcessBuffer |
|
| NativeSlice<Byte> |
recvProcessBuffer |
|
| NativeSlice<Byte> |
sharedProcessBuffer |
|
Implements
Declaration
public NativeSlice<byte> Receive(NetworkPipelineContext ctx, NativeSlice<byte> inboundBuffer, ref bool needsResume, ref bool needsUpdate, ref bool needsSendUpdate)
Parameters
Returns
| Type |
Description |
| NativeSlice<Byte> |
|
Implements
Declaration
public InboundBufferVec Send(NetworkPipelineContext ctx, InboundBufferVec inboundBuffer, ref bool needsResume, ref bool needsUpdate)
Parameters
Returns
Implements