C# Class Aegis.Network.SessionMethodAsyncResult

Inheritance: ISessionMethod
Exibir arquivo Open project: SyncZone/AegisFramework

Public Methods

Method Description
Clear ( ) : void
SendPacket ( StreamBuffer buffer, Action onSent = null ) : void
SendPacket ( StreamBuffer buffer, PacketPredicate predicate, IOEventHandler dispatcher, Action onSent = null ) : void
SendPacket ( byte buffer, int offset, int size, Action onSent = null ) : void
SessionMethodAsyncResult ( Session session ) : System
WaitForReceive ( ) : void

Private Methods

Method Description
Socket_Read ( IAsyncResult ar ) : void
Socket_Send ( IAsyncResult ar ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

SendPacket() public method

public SendPacket ( StreamBuffer buffer, Action onSent = null ) : void
buffer Aegis.IO.StreamBuffer
onSent Action
return void

SendPacket() public method

public SendPacket ( StreamBuffer buffer, PacketPredicate predicate, IOEventHandler dispatcher, Action onSent = null ) : void
buffer Aegis.IO.StreamBuffer
predicate PacketPredicate
dispatcher IOEventHandler
onSent Action
return void

SendPacket() public method

public SendPacket ( byte buffer, int offset, int size, Action onSent = null ) : void
buffer byte
offset int
size int
onSent Action
return void

SessionMethodAsyncResult() public method

public SessionMethodAsyncResult ( Session session ) : System
session Session
return System

WaitForReceive() public method

public WaitForReceive ( ) : void
return void