Skip to main content

Class ArrayBatch

Inheritance
System.Object
Mirage.SocketLayer.Batch
Inherited Members
Show

Mirage.SocketLayer.Batch.MESSAGE_LENGTH_SIZE

Mirage.SocketLayer.Batch.Flush()

Syntax
public class ArrayBatch : Batch

Constructors

ArrayBatch(Int32, Action<Byte[], Int32>, PacketType)

Declaration
public ArrayBatch(int maxPacketSize, Action<byte[], int> send, PacketType reliable)
Parameters
TypeNameDescription
System.Int32maxPacketSize
System.Action<System.Byte[], System.Int32>send
Mirage.SocketLayer.PacketTypereliable

Properties

Created

Declaration
protected override bool Created { get; }

Methods

GetBatch()

Declaration
protected override byte[] GetBatch()
Returns
TypeDescription
System.Byte[]

GetBatchLength()

Declaration
protected override int GetBatchLength()
Returns
TypeDescription
System.Int32

CreateNewBatch()

Declaration
protected override void CreateNewBatch()

SendAndReset()

Declaration
protected override void SendAndReset()