C# Class Base.UService

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

Public Methods

Method 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 method

public AcceptChannel ( ) : Task
return Task

Add() public method

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

ConnectChannel() public method

public ConnectChannel ( string host, int port ) : AChannel
host string
port int
return AChannel

Dispose() public method

public Dispose ( ) : void
return void

GetChannel() public method

public GetChannel ( long id ) : AChannel
id long
return AChannel

Remove() public method

public Remove ( long id ) : void
id long
return void

UService() public method

只能做client
public UService ( ) : System
return System

UService() public method

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

Update() public method

public Update ( ) : void
return void