C# 클래스 Aura.Channel.ChannelServer

상속: ServerMain
파일 보기 프로젝트 열기: aura-project/aura

공개 프로퍼티들

프로퍼티 타입 설명
Instance ChannelServer

Private Properties

프로퍼티 타입 설명
ChannelServer Aura.Channel.Database
CurrentDomain_UnhandledException void
InitializeWorld void
KillConnectedClients void
LoadScripts void
LoadSkills void
OnClientDisconnected void
ShutdownTimerDone void
StartStatusUpdateTimer void

공개 메소드들

메소드 설명
CalculateChannelState ( ) : ChannelState

Calculates the state of the channel.

When calculating the ChannelState we take into account whether the server is running as well as if it is in Maintenance.

ConnectToLogin ( bool firstTime ) : void

Tries to connect to login server, keeps trying every 10 seconds till there is a success. Blocking.

InitDatabase ( Aura.Shared.Database.AuraDb db, BaseConf conf ) : void
Run ( ) : void

Loads all necessary components and starts the server.

Shutdown ( int time ) : void

Shutdown procedure for the current channel.

비공개 메소드들

메소드 설명
ChannelServer ( ) : Aura.Channel.Database
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void

Handler for unhandled exceptions.

InitializeWorld ( ) : void
KillConnectedClients ( ) : void

Kills all clients currently connected to the channel.

LoadScripts ( ) : void
LoadSkills ( ) : void
OnClientDisconnected ( ChannelClient client ) : void
ShutdownTimerDone ( object timer ) : void
StartStatusUpdateTimer ( ) : void

메소드 상세

CalculateChannelState() 공개 메소드

Calculates the state of the channel.
When calculating the ChannelState we take into account whether the server is running as well as if it is in Maintenance.
public CalculateChannelState ( ) : ChannelState
리턴 ChannelState

ConnectToLogin() 공개 메소드

Tries to connect to login server, keeps trying every 10 seconds till there is a success. Blocking.
public ConnectToLogin ( bool firstTime ) : void
firstTime bool
리턴 void

InitDatabase() 공개 메소드

public InitDatabase ( Aura.Shared.Database.AuraDb db, BaseConf conf ) : void
db Aura.Shared.Database.AuraDb
conf Aura.Shared.Util.Configuration.BaseConf
리턴 void

Run() 공개 메소드

Loads all necessary components and starts the server.
public Run ( ) : void
리턴 void

Shutdown() 공개 메소드

Shutdown procedure for the current channel.
public Shutdown ( int time ) : void
time int The amount of time in seconds until shutdown.
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static ChannelServer,Aura.Channel Instance
리턴 ChannelServer