C# Class Aselia.Server

Inheritance: ServerBase
Show file Open project: Earth2Me/Aselia

Public Methods

Method 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

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

public Commit ( ChannelBase channel ) : void
channel Aselia.Common.Core.ChannelBase
return void

Commit() public method

public Commit ( UserBase user ) : void
user UserBase
return void

CommitCache() public method

public CommitCache ( ) : bool
return bool

CreateChannel() public method

public CreateChannel ( string name, UserBase user ) : ChannelBase
name string
user UserBase
return Aselia.Common.Core.ChannelBase

Dispose() public method

public Dispose ( ) : void
return void

GetChannel() public method

public GetChannel ( string name ) : ChannelBase
name string
return Aselia.Common.Core.ChannelBase

GetRegisteredChannel() public method

public GetRegisteredChannel ( string channel ) : ChannelSurrogate
channel string
return ChannelSurrogate

GetRegisteredUser() public method

public GetRegisteredUser ( string account ) : UserSurrogate
account string
return Aselia.Common.Core.UserSurrogate

GetUser() public method

public GetUser ( string nickname ) : UserBase
nickname string
return UserBase

GlobalRehash() public method

public GlobalRehash ( ) : void
return void

InitializeSettings() public method

public InitializeSettings ( ) : SettingsBase
return SettingsBase

IsKLined() public method

public IsKLined ( IPAddress fullIp ) : bool
fullIp System.Net.IPAddress
return bool

IsQLined() public method

public IsQLined ( string nickname ) : bool
nickname string
return bool

IsValidChannel() public method

public IsValidChannel ( string name ) : bool
name string
return bool

Load() public method

public Load ( ) : void
return void

LocalRehash() public method

public LocalRehash ( ) : void
return void

LogIn() public method

public LogIn ( UserBase user, string account, byte password ) : bool
user UserBase
account string
password byte
return bool

OnJoinedLate() public method

public OnJoinedLate ( ) : void
return void

Register() public method

public Register ( UserBase user, byte password, string email ) : bool
user UserBase
password byte
email string
return bool

Restart() public method

public Restart ( ) : void
return void

Server() public method

public Server ( DomainManager domains ) : System
domains Aselia.Common.Hotswap.DomainManager
return System

Server() public method

public Server ( DomainManager domains, ServerBase cloneBase ) : System
domains Aselia.Common.Hotswap.DomainManager
cloneBase ServerBase
return System

Stop() public method

public Stop ( ) : void
return void

Unload() public method

public Unload ( ) : void
return void