public sealed class SealedDmtpActor : DmtpActor
Public NotInheritable Class SealedDmtpActor
Inherits DmtpActor
[<SealedAttribute>]
type SealedDmtpActor =
class
inherit DmtpActor
end
SealedDmtpActor(Boolean) | 创建一个可靠协议的Dmtp协议的最基础功能件 |
SealedDmtpActor(Boolean, Boolean) | 创建一个Dmtp协议的最基础功能件 |
AllowRoute |
是否允许支持路由数据。
(继承自 DmtpActor。) |
Client |
包含当前功能件的宿主通讯端。
(继承自 DmtpActor。) |
Closing |
请求关闭
(继承自 DmtpActor。) |
CreatedChannel |
当创建通道时
(继承自 DmtpActor。) |
DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
FindDmtpActor |
查找其他IDmtpActor
(继承自 DmtpActor。) |
Handshaked |
在完成握手连接时
(继承自 DmtpActor。) |
Handshaking |
握手
(继承自 DmtpActor。) |
Id |
用于索引的Id
(继承自 DmtpActor。) |
IdChanged |
重设Id
(继承自 DmtpActor。) |
IsReliable |
是否基于可靠协议构建。例如:基于Tcp则为,基于Udp则为。
(继承自 DmtpActor。) |
LastActiveTime |
最后一次活动时间。
(继承自 DmtpActor。) |
Logger |
日志
(继承自 DmtpActor。) |
Online |
判断是否在线
(继承自 DmtpActor。) |
OutputSendAsync |
异步发送数据接口
(继承自 DmtpActor。) |
Routing |
当需要路由的时候
(继承自 DmtpActor。) |
SyncRoot |
获取可用于同步对当前的访问对象进行锁同步。
(继承自 DmtpActor。) |
WaitHandlePool |
等待返回池
(继承自 DmtpActor。) |
ChannelExisted |
判断指定Id的通道是否已经存在
(继承自 DmtpActor。) |
CloseAsync |
关闭客户端。
(继承自 DmtpActor。) |
CreateChannelAsync(Metadata) |
在当前对点创建一个随机Id的通道
(继承自 DmtpActor。) |
CreateChannelAsync(Int32, Metadata) |
在当前对点创建一个指定Id的通道
(继承自 DmtpActor。) |
CreateChannelAsync(String, Metadata) |
在指定路由点创建一个随机Id的通道
(继承自 DmtpActor。) |
CreateChannelAsync(String, Int32, Metadata) |
在指定路由点创建一个指定Id的通道
(继承自 DmtpActor。) |
Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
GetValueTValue |
获取依赖注入的值,当没有注入时,会返回默认行为的值。
(继承自 DependencyObject。) |
HandshakeAsync |
建立对点
(继承自 DmtpActor。) |
HasValueTValue |
判断在当前对象中是否有已设置的属性值。
(继承自 DependencyObject。) |
InputReceivedData |
处理接收数据.
(继承自 DmtpActor。) |
PingAsync(Int32) |
向当前对点发送一个Ping报文,并且等待回应。
(继承自 DmtpActor。) |
PingAsync(String, Int32) |
向指定路由点发送一个Ping报文,并且等待回应。
(继承自 DmtpActor。) |
RemoveValueTValue |
移除属性值。
(继承自 DependencyObject。) |
ResetIdAsync |
重新设置Id
(继承自 DmtpActor。) |
SendAsync |
异步发送数据。
(继承自 DmtpActor。) |
SendCloseAsync | (继承自 DmtpActor。) |
SendPackageAsync |
异步发送小(64K)对象的包。接收方可以通过ReadPackage来接收。
(继承自 DmtpActor。) |
SendStringAsync |
异步发送以utf-8编码的字符串。
(继承自 DmtpActor。) |
SetValueTValue |
设置依赖注入的值,如果值已经存在,将被覆盖。
(继承自 DependencyObject。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
TryFindDmtpActor |
尝试获取指定Id的DmtpActor。一般此方法仅在Service下有效。
(继承自 DmtpActor。) |
TryGetValueTValue |
尝试获取依赖注入的值,当没有注入时,会返回。
(继承自 DependencyObject。) |
TryRemoveValueTValue |
尝试重置属性值,如果没有这个值,则返回。
(继承自 DependencyObject。) |
TryRouteAsync |
尝试请求路由,触发路由相关插件。并在路由失败时向Message中传递消息。
(继承自 DmtpActor。) |
TrySubscribeChannel |
尝试订阅已存在的通道。
(继承自 DmtpActor。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |