AClientNetwork 类
程序集: Fantasy.Net.dll
语法
public abstract class AClientNetwork : ANetwork, IEntity, IPool, INetworkChannel, IDisposable
字段
|
编辑本文
查看源代码
IsInit
声明
字段值
属性
|
编辑本文
查看源代码
Session
声明
public Session Session { get; protected set; }
属性值
方法
|
编辑本文
查看源代码
Connect(string, Action, Action, Action, bool, int)
声明
public abstract Session Connect(string remoteAddress, Action onConnectComplete, Action onConnectFail, Action onConnectDisconnect, bool isHttps, int connectTimeout = 5000)
参数
返回
|
编辑本文
查看源代码
Dispose()
销毁当前实体,销毁后会自动销毁当前实体下的所有实体。
声明
public override void Dispose()
重写
|
编辑本文
查看源代码
Send(uint, long, MemoryStreamBuffer, IMessage)
声明
public abstract void Send(uint rpcId, long routeId, MemoryStreamBuffer memoryStream, IMessage message)
参数
实现
扩展方法