C# Class Aegis.Network.SessionMethodAsyncResult

Inheritance: ISessionMethod
Afficher le fichier Open project: SyncZone/AegisFramework

Méthodes publiques

Méthode 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

Méthode Description
Socket_Read ( IAsyncResult ar ) : void
Socket_Send ( IAsyncResult ar ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

SendPacket() public méthode

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

SendPacket() public méthode

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

SendPacket() public méthode

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

SessionMethodAsyncResult() public méthode

public SessionMethodAsyncResult ( Session session ) : System
session Session
Résultat System

WaitForReceive() public méthode

public WaitForReceive ( ) : void
Résultat void