C# Class Base.TService

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

Méthodes publiques

Méthode Description
AcceptChannel ( ) : Task
Add ( System.Action action ) : void
ConnectChannel ( string host, int port ) : AChannel
Dispose ( ) : void
GetChannel ( long id ) : AChannel
Remove ( long id ) : void
TService ( ) : System
TService ( string host, int port ) : System

即可做client也可做server

Update ( ) : void

Method Details

AcceptChannel() public méthode

public AcceptChannel ( ) : Task
Résultat Task

Add() public méthode

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

ConnectChannel() public méthode

public ConnectChannel ( string host, int port ) : AChannel
host string
port int
Résultat AChannel

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetChannel() public méthode

public GetChannel ( long id ) : AChannel
id long
Résultat AChannel

Remove() public méthode

public Remove ( long id ) : void
id long
Résultat void

TService() public méthode

public TService ( ) : System
Résultat System

TService() public méthode

即可做client也可做server
public TService ( string host, int port ) : System
host string
port int
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void