ForwardSession 类 |
命名空间: HslCommunication.Enthernet
ForwardSession 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ForwardSession |
实例化一个默认的对象
| |
ForwardSession(PipeTcpNet, IPEndPoint, Int32) |
指定客户端的 socket 来实例化一个对象
|
名称 | 说明 | |
---|---|---|
BytesBuffer |
转发客户端的缓存数据
| |
Communication |
当前的会话的管道信息 (继承自 PipeSession。)Pipeline information for the current session | |
HeartTime |
获取心跳验证的时间点 (继承自 PipeSession。)Get the time point of heartbeat verification | |
IpEndPoint |
客户端的远程终结点
| |
OnlineTime |
获取当前的客户端的上线时间 (继承自 PipeSession。)Get the online time of the current client | |
ServerBuffer |
服务端的缓存数据信息
| |
ServerSocket |
连接服务端的socket
| |
SessionID |
获取或设置当前会话的ID信息,某些特殊的会话需要用到该字段 (继承自 PipeSession。)Obtain or set the ID information of the current session, which is required for some special sessions | |
Tag |
当前会话绑定的自定义的对象内容 (继承自 PipeSession。)The content of the custom object bound to the current session |
名称 | 说明 | |
---|---|---|
Close |
关闭当前的会话状态 (重写 PipeSessionClose.)Close the current session state | |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
ToString | Returns a string that represents the current object. (重写 PipeSessionToString.) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |