Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
Dispose(Boolean) |
处置资源
(继承自 SingleStreamDataHandlingAdapter。) |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
FilterTByteBlock(TByteBlock, Boolean, TRequest, Int32) |
筛选解析数据。实例化的TRequest会一直保存,直至解析成功,或手动清除。
当不满足解析条件时,请返回Cache,此时会保存CanReadLength的数据 当数据部分异常时,请移动Position到指定位置,然后返回GoOn 当完全满足解析条件时,请返回Success最后将Position移至指定位置。 (继承自 CustomDataHandlingAdapterTRequest。) |
FilterTByteBlock(TByteBlock, Boolean, TFixedHeaderRequestInfo, Int32) |
筛选解析数据。实例化的TRequest会一直保存,直至解析成功,或手动清除。
当不满足解析条件时,请返回Cache,此时会保存CanReadLength的数据 当数据部分异常时,请移动Position到指定位置,然后返回GoOn 当完全满足解析条件时,请返回Success最后将Position移至指定位置。 (继承自 CustomFixedHeaderDataHandlingAdapterTFixedHeaderRequestInfo。) |
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。) |
GetInstance |
获取泛型实例。
(重写 CustomFixedHeaderDataHandlingAdapterTFixedHeaderRequestInfoGetInstance) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
GoReceivedAsync |
处理已经经过预先处理后的数据
(继承自 SingleStreamDataHandlingAdapter。) |
GoSendAsync |
异步发送已经经过预先处理后的数据
(继承自 SingleStreamDataHandlingAdapter。) |
IsBeCached |
判断请求对象是否应该被缓存。
(继承自 CustomDataHandlingAdapterTRequest。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
OnError |
在解析时发生错误。
(继承自 DataHandlingAdapter。) |
OnLoaded |
当适配器在被第一次加载时调用。
(继承自 DataHandlingAdapter。) |
OnReceivedSuccess |
成功执行接收以后。
(继承自 CustomDataHandlingAdapterTRequest。) |
OnReceivingSuccess |
即将执行GoReceivedAsync(ByteBlock, IRequestInfo)。
(重写 CustomDataHandlingAdapterTRequestOnReceivingSuccess(TRequest)) |
PreviewReceivedAsync |
当接收到数据后预先处理数据,然后调用GoReceivedAsync(ByteBlock, IRequestInfo)处理数据
(继承自 CustomDataHandlingAdapterTRequest。) |
PreviewSendAsync(IListArraySegmentByte) |
组合发送预处理数据,
当属性SplicingSend实现为True时,系统才会调用该方法。
(继承自 SingleStreamDataHandlingAdapter。) |
PreviewSendAsync(IRequestInfo) |
当发送数据前预先处理数据
(重写 SingleStreamDataHandlingAdapterPreviewSendAsync(IRequestInfo)) |
PreviewSendAsync(ReadOnlyMemoryByte) |
当发送数据前预先处理数据
(继承自 SingleStreamDataHandlingAdapter。) |
ReceivedInputAsync |
收到数据的切入点,该方法由框架自动调用。
(继承自 SingleStreamDataHandlingAdapter。) |
Reset |
重置解析器到初始状态,一般在OnError(Exception, String, Boolean, Boolean)被触发时,由返回值指示是否调用。
(继承自 CustomDataHandlingAdapterTRequest。) |
SendInputAsync(IListArraySegmentByte) |
发送数据的切入点,该方法由框架自动调用。
(继承自 SingleStreamDataHandlingAdapter。) |
SendInputAsync(IRequestInfo) |
发送数据的切入点,该方法由框架自动调用。
(继承自 SingleStreamDataHandlingAdapter。) |
SendInputAsync(ReadOnlyMemoryByte) |
发送数据的切入点,该方法由框架自动调用。
(继承自 SingleStreamDataHandlingAdapter。) |
SingleTByteBlock |
处理单个字节块,提取请求对象。
(继承自 CustomDataHandlingAdapterTRequest。) |
ThrowIfDisposed |
判断当前对象是否已经被释放。
如果已经被释放,则抛出ObjectDisposedException异常。
(继承自 DisposableObject。) |
ThrowIfMoreThanMaxPackageSize |
如果指定的长度超过最大包大小,则抛出异常。
(继承自 DataHandlingAdapter。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
TryParseRequestTByteBlock |
尝试解析请求数据块。
(继承自 CustomDataHandlingAdapterTRequest。) |