C# Class RohBot.SessionManager

Afficher le fichier Open project: Rohansi/RohBot Class Usage Examples

Méthodes publiques

Méthode Description
Broadcast ( RohBot.Packet packet, bool>.Func filter = null ) : void
Close ( Connection connection ) : void
Get ( string name ) : Session
GetOrCreate ( Account account ) : Session
Ping ( ) : void
Send ( Packet packet, IEnumerable sessions ) : void
SessionManager ( ) : System
Start ( ) : void
Update ( ) : void

Method Details

Broadcast() public méthode

public Broadcast ( RohBot.Packet packet, bool>.Func filter = null ) : void
packet RohBot.Packet
filter bool>.Func
Résultat void

Close() public méthode

public Close ( Connection connection ) : void
connection Connection
Résultat void

Get() public méthode

public Get ( string name ) : Session
name string
Résultat Session

GetOrCreate() public méthode

public GetOrCreate ( Account account ) : Session
account Account
Résultat Session

Ping() public méthode

public Ping ( ) : void
Résultat void

Send() public méthode

public Send ( Packet packet, IEnumerable sessions ) : void
packet Packet
sessions IEnumerable
Résultat void

SessionManager() public méthode

public SessionManager ( ) : System
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void