C# 클래스 Asgard.BifrostServer

상속: Connection, ISystem
파일 보기 프로젝트 열기: enBask/Asgard 1 사용 예제들

공개 메소드들

메소드 설명
BifrostServer ( int port, int maxconnections ) : System
GetStats ( ) : NetStats
Send ( Asgard.Core.Network.Packets.Packet packet, IList sendToList, IList excludeGroup, int channel ) : void
Send ( Asgard.Core.Network.Packets.Packet packet, IList sendToList, NetNode excludeNode = null, int channel ) : void
Start ( ) : bool
Stop ( ) : bool
Tick ( double tick ) : void

비공개 메소드들

메소드 설명
OnRaiseConnectedEvent ( NetConnection connection ) : void
OnRaiseDisconnectedEvent ( NetConnection connection ) : void
RegisterPacketCallbacks ( ) : void
pumpNetwork ( ) : void

메소드 상세

BifrostServer() 공개 메소드

public BifrostServer ( int port, int maxconnections ) : System
port int
maxconnections int
리턴 System

GetStats() 공개 메소드

public GetStats ( ) : NetStats
리턴 Asgard.Core.Network.NetStats

Send() 공개 메소드

public Send ( Asgard.Core.Network.Packets.Packet packet, IList sendToList, IList excludeGroup, int channel ) : void
packet Asgard.Core.Network.Packets.Packet
sendToList IList
excludeGroup IList
channel int
리턴 void

Send() 공개 메소드

public Send ( Asgard.Core.Network.Packets.Packet packet, IList sendToList, NetNode excludeNode = null, int channel ) : void
packet Asgard.Core.Network.Packets.Packet
sendToList IList
excludeNode NetNode
channel int
리턴 void

Start() 공개 메소드

public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : bool
리턴 bool

Tick() 공개 메소드

public Tick ( double tick ) : void
tick double
리턴 void