ForwardSession 类 |
命名空间: HslCommunication.Enthernet
ForwardSession 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ForwardSession |
实例化一个默认的对象
| |
ForwardSession(Socket, Int32) |
指定客户端的 socket 来实例化一个对象
|
名称 | 说明 | |
---|---|---|
ClientUniqueID |
客户端唯一的标识,在NetPushServer及客户端类里有使用 (继承自 AppSession。)The unique identifier of the client, used in the NetPushServer and client classes | |
HeartTime |
获取心跳验证的时间点 (继承自 SessionBase。)Get the time point of heartbeat verification | |
IpAddress |
获取当前的远程连接对象的IP地址 (继承自 SessionBase。)Get the IP address of the current remote connection object | |
IpEndPoint |
获取当前的连接对象连接的远程客户端 (继承自 SessionBase。)Get the remote client connected by the current connection object | |
LoginAlias |
远程对象的别名信息 (继承自 AppSession。)Alias information for remote objects | |
OnlineTime |
获取当前的客户端的上线时间 (继承自 SessionBase。)Get the online time of the current client | |
ServerBuffer |
服务端的缓存数据信息
| |
ServerSocket |
连接服务端的socket
| |
Tag |
当前会话绑定的自定义的对象内容 (继承自 AppSession。)The content of the custom object bound to the current session | |
WorkSocket |
实际传输数据的对象,除非你清楚自己在收发什么数据信息,否则尽量不直接使用本Socket对象 (继承自 SessionBase。)The actual data transmission object, unless you know what data information you are sending and receiving, try not to directly use this Socket object |
名称 | 说明 | |
---|---|---|
Equals | (继承自 AppSession。) | |
Finalize | (继承自 Object。) | |
GetHashCode | (继承自 AppSession。) | |
GetType | (继承自 Object。) | |
MemberwiseClone | (继承自 Object。) | |
ToString | (重写 AppSessionToString.) | |
UpdateHeartTime |
更新当前的心跳时间 (继承自 SessionBase。)Update the current heartbeat time | |
UpdateSocket |
更新当前的Socket连接对象信息
(继承自 SessionBase。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |