public abstract class DataHandlingAdapter : DisposableObject
Public MustInherit Class DataHandlingAdapter
Inherits DisposableObject
[<AbstractClassAttribute>]
type DataHandlingAdapter =
class
inherit DisposableObject
end
DataHandlingAdapter | 初始化 DataHandlingAdapter 类的一个新实例 |
CanSendRequestInfo | 是否允许发送IRequestInfo对象。 |
CanSplicingSend | 拼接发送 |
DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
Logger | 日志记录器。 |
MaxPackageSize | 获取或设置适配器能接收的最大数据包长度。默认1024*1024 Byte。 |
Owner | 适配器所有者 |
Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
Dispose(Boolean) |
处置资源
(继承自 DisposableObject。) |
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。) |
OnError | 在解析时发生错误。 |
OnLoaded | 当适配器在被第一次加载时调用。 |
Reset | 重置解析器到初始状态,一般在OnError(Exception, String, Boolean, Boolean)被触发时,由返回值指示是否调用。 |
ThrowIfDisposed |
判断当前对象是否已经被释放。
如果已经被释放,则抛出ObjectDisposedException异常。
(继承自 DisposableObject。) |
ThrowIfMoreThanMaxPackageSize | 如果指定的长度超过最大包大小,则抛出异常。 |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Config |
将TouchSocketConfig中的配置,装载在SingleStreamDataHandlingAdapter上。
(由 DataHandlingAdapterExtension 定义。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |