C# Class Asgard.BifrostClient

Inheritance: Connection, ISystem
Mostrar archivo Open project: enBask/Asgard

Public Methods

Method Description
BifrostClient ( string host, int port ) : System
ConnectionStatus ( ) : int
Flush ( ) : void
GetPingTime ( ) : float
GetStats ( ) : NetStats
Send ( Asgard.Core.Network.Packets.Packet packet, int channel ) : bool
Start ( ) : bool
Stop ( ) : bool
Tick ( double delta ) : void

Private Methods

Method Description
OnRaiseConnectedEvent ( NetConnection connection ) : void
OnRaiseDisconnectedEvent ( NetConnection connection ) : void
pumpNetwork ( ) : void

Method Details

BifrostClient() public method

public BifrostClient ( string host, int port ) : System
host string
port int
return System

ConnectionStatus() public method

public ConnectionStatus ( ) : int
return int

Flush() public method

public Flush ( ) : void
return void

GetPingTime() public method

public GetPingTime ( ) : float
return float

GetStats() public method

public GetStats ( ) : NetStats
return Asgard.Core.Network.NetStats

Send() public method

public Send ( Asgard.Core.Network.Packets.Packet packet, int channel ) : bool
packet Asgard.Core.Network.Packets.Packet
channel int
return bool

Start() public method

public Start ( ) : bool
return bool

Stop() public method

public Stop ( ) : bool
return bool

Tick() public method

public Tick ( double delta ) : void
delta double
return void