C# Class Base.UPoller

Inheritance: IDisposable
Show file Open project: egametang/Egametang Class Usage Examples

Private Properties

Property Type Description
OnAccepted void
OnEvents void
Service int
TryGetEvent ENetEvent
UPoller System

Public Methods

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

Private Methods

Method Description
OnAccepted ( ENetEvent eEvent ) : void
OnEvents ( ) : void
Service ( ) : int
TryGetEvent ( ) : ENetEvent
UPoller ( ) : System

Method Details

AcceptAsync() public method

public AcceptAsync ( ) : Task
return Task

Add() public method

public Add ( System.Action action ) : void
action System.Action
return void

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

UPoller() public method

public UPoller ( string hostName, ushort port ) : System
hostName string
port ushort
return System

Update() public method

public Update ( ) : void
return void