C# Class UnityEngine.Networking.ChannelBuffer

Inheritance: IDisposable
Show file Open project: randomize/VimConfig Class Usage Examples

Public Properties

Property Type Description
maxDelay float

Public Methods

Method Description
ChannelBuffer ( NetworkConnection conn, int bufferSize, byte cid, bool isReliable ) : System
CheckInternalBuffer ( ) : void
Dispose ( ) : void
Send ( short msgType, MessageBase msg ) : bool
SendInternalBuffer ( ) : bool
SendWriter ( NetworkWriter writer ) : bool
SetOption ( ChannelOption option, int value ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
AllocPacket ( ) : ChannelPacket
FreePacket ( ChannelPacket packet ) : void
QueuePacket ( ) : void
SendBytes ( byte bytes, int bytesToSend ) : bool

Method Details

ChannelBuffer() public method

public ChannelBuffer ( NetworkConnection conn, int bufferSize, byte cid, bool isReliable ) : System
conn NetworkConnection
bufferSize int
cid byte
isReliable bool
return System

CheckInternalBuffer() public method

public CheckInternalBuffer ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Send() public method

public Send ( short msgType, MessageBase msg ) : bool
msgType short
msg MessageBase
return bool

SendInternalBuffer() public method

public SendInternalBuffer ( ) : bool
return bool

SendWriter() public method

public SendWriter ( NetworkWriter writer ) : bool
writer NetworkWriter
return bool

SetOption() public method

public SetOption ( ChannelOption option, int value ) : bool
option ChannelOption
value int
return bool

Property Details

maxDelay public property

public float maxDelay
return float