C# Class Asgard.BifrostClient

Inheritance: Connection, ISystem
Afficher le fichier Open project: enBask/Asgard

Méthodes publiques

Méthode 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

Méthode Description
OnRaiseConnectedEvent ( NetConnection connection ) : void
OnRaiseDisconnectedEvent ( NetConnection connection ) : void
pumpNetwork ( ) : void

Method Details

BifrostClient() public méthode

public BifrostClient ( string host, int port ) : System
host string
port int
Résultat System

ConnectionStatus() public méthode

public ConnectionStatus ( ) : int
Résultat int

Flush() public méthode

public Flush ( ) : void
Résultat void

GetPingTime() public méthode

public GetPingTime ( ) : float
Résultat float

GetStats() public méthode

public GetStats ( ) : NetStats
Résultat Asgard.Core.Network.NetStats

Send() public méthode

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

Start() public méthode

public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : bool
Résultat bool

Tick() public méthode

public Tick ( double delta ) : void
delta double
Résultat void