C# Class Base.UPoller

Inheritance: IDisposable
Afficher le fichier Open project: egametang/Egametang Class Usage Examples

Private Properties

Свойство Type Description
OnAccepted void
OnEvents void
Service int
TryGetEvent ENetEvent
UPoller System

Méthodes publiques

Méthode Description
AcceptAsync ( ) : Task
Add ( System.Action action ) : void
Dispose ( ) : void
Flush ( ) : void
UPoller ( string hostName, ushort port ) : System
Update ( ) : void

Private Methods

Méthode Description
OnAccepted ( ENetEvent eEvent ) : void
OnEvents ( ) : void
Service ( ) : int
TryGetEvent ( ) : ENetEvent
UPoller ( ) : System

Method Details

AcceptAsync() public méthode

public AcceptAsync ( ) : Task
Résultat Task

Add() public méthode

public Add ( System.Action action ) : void
action System.Action
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

UPoller() public méthode

public UPoller ( string hostName, ushort port ) : System
hostName string
port ushort
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void