C# Class Base.AService

Inheritance: IDisposable
显示文件 Open project: egametang/Egametang Class Usage Examples

Public Methods

Method Description
AcceptChannel ( ) : Task
Add ( System.Action action ) : void

将函数调用加入IService线程

ConnectChannel ( string host, int port ) : AChannel
Dispose ( ) : void
GetChannel ( long id ) : AChannel
Remove ( long channelId ) : void
Update ( ) : void

Method Details

AcceptChannel() public abstract method

public abstract AcceptChannel ( ) : Task
return Task

Add() public abstract method

将函数调用加入IService线程
public abstract Add ( System.Action action ) : void
action System.Action
return void

ConnectChannel() public abstract method

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

Dispose() public abstract method

public abstract Dispose ( ) : void
return void

GetChannel() public abstract method

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

Remove() public abstract method

public abstract Remove ( long channelId ) : void
channelId long
return void

Update() public abstract method

public abstract Update ( ) : void
return void