C# Class Aselia.Server

Inheritance: ServerBase
Afficher le fichier Open project: Earth2Me/Aselia

Méthodes publiques

Méthode Description
Commit ( ChannelBase channel ) : void
Commit ( UserBase user ) : void
CommitCache ( ) : bool
CreateChannel ( string name, UserBase user ) : ChannelBase
Dispose ( ) : void
GetChannel ( string name ) : ChannelBase
GetRegisteredChannel ( string channel ) : ChannelSurrogate
GetRegisteredUser ( string account ) : UserSurrogate
GetUser ( string nickname ) : UserBase
GlobalRehash ( ) : void
InitializeSettings ( ) : SettingsBase
IsKLined ( IPAddress fullIp ) : bool
IsQLined ( string nickname ) : bool
IsValidChannel ( string name ) : bool
Load ( ) : void
LocalRehash ( ) : void
LogIn ( UserBase user, string account, byte password ) : bool
OnJoinedLate ( ) : void
Register ( UserBase user, byte password, string email ) : bool
Restart ( ) : void
Server ( DomainManager domains ) : System
Server ( DomainManager domains, ServerBase cloneBase ) : System
Stop ( ) : void
Unload ( ) : void

Private Methods

Méthode Description
AcceptClient ( TcpClient client, ListenerInfo info ) : void
AcceptServer ( TcpClient client, ListenerInfo info ) : void
Bind ( ListenerInfo info, bool rebind ) : void
ConnectRemotes ( bool toggle ) : void
Initialize ( ) : void
OnBeginAcceptTcpClient ( IAsyncResult ar ) : void
SaveProc ( object state ) : void
Settings_Modified ( object sender, EventArgs e ) : void

Method Details

Commit() public méthode

public Commit ( ChannelBase channel ) : void
channel Aselia.Common.Core.ChannelBase
Résultat void

Commit() public méthode

public Commit ( UserBase user ) : void
user UserBase
Résultat void

CommitCache() public méthode

public CommitCache ( ) : bool
Résultat bool

CreateChannel() public méthode

public CreateChannel ( string name, UserBase user ) : ChannelBase
name string
user UserBase
Résultat Aselia.Common.Core.ChannelBase

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetChannel() public méthode

public GetChannel ( string name ) : ChannelBase
name string
Résultat Aselia.Common.Core.ChannelBase

GetRegisteredChannel() public méthode

public GetRegisteredChannel ( string channel ) : ChannelSurrogate
channel string
Résultat ChannelSurrogate

GetRegisteredUser() public méthode

public GetRegisteredUser ( string account ) : UserSurrogate
account string
Résultat Aselia.Common.Core.UserSurrogate

GetUser() public méthode

public GetUser ( string nickname ) : UserBase
nickname string
Résultat UserBase

GlobalRehash() public méthode

public GlobalRehash ( ) : void
Résultat void

InitializeSettings() public méthode

public InitializeSettings ( ) : SettingsBase
Résultat SettingsBase

IsKLined() public méthode

public IsKLined ( IPAddress fullIp ) : bool
fullIp System.Net.IPAddress
Résultat bool

IsQLined() public méthode

public IsQLined ( string nickname ) : bool
nickname string
Résultat bool

IsValidChannel() public méthode

public IsValidChannel ( string name ) : bool
name string
Résultat bool

Load() public méthode

public Load ( ) : void
Résultat void

LocalRehash() public méthode

public LocalRehash ( ) : void
Résultat void

LogIn() public méthode

public LogIn ( UserBase user, string account, byte password ) : bool
user UserBase
account string
password byte
Résultat bool

OnJoinedLate() public méthode

public OnJoinedLate ( ) : void
Résultat void

Register() public méthode

public Register ( UserBase user, byte password, string email ) : bool
user UserBase
password byte
email string
Résultat bool

Restart() public méthode

public Restart ( ) : void
Résultat void

Server() public méthode

public Server ( DomainManager domains ) : System
domains Aselia.Common.Hotswap.DomainManager
Résultat System

Server() public méthode

public Server ( DomainManager domains, ServerBase cloneBase ) : System
domains Aselia.Common.Hotswap.DomainManager
cloneBase ServerBase
Résultat System

Stop() public méthode

public Stop ( ) : void
Résultat void

Unload() public méthode

public Unload ( ) : void
Résultat void