C# Class Base.UService

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
UService ( ) : System

只能做client

UService ( 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

UService() public méthode

只能做client
public UService ( ) : System
Résultat System

UService() public méthode

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

Update() public méthode

public Update ( ) : void
Résultat void