C# Class RohBot.SessionManager

Exibir arquivo Open project: Rohansi/RohBot Class Usage Examples

Public Methods

Method 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 method

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

Close() public method

public Close ( Connection connection ) : void
connection Connection
return void

Get() public method

public Get ( string name ) : Session
name string
return Session

GetOrCreate() public method

public GetOrCreate ( Account account ) : Session
account Account
return Session

Ping() public method

public Ping ( ) : void
return void

Send() public method

public Send ( Packet packet, IEnumerable sessions ) : void
packet Packet
sessions IEnumerable
return void

SessionManager() public method

public SessionManager ( ) : System
return System

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void