Class ProtocolCreatedEventArgs
- Namespace
- MAS.Communication
- Assembly
- MAS.Communication.dll
协议实例创建事件参数
public sealed class ProtocolCreatedEventArgs : EventArgs
- Inheritance
-
ProtocolCreatedEventArgs
- Inherited Members
Constructors
ProtocolCreatedEventArgs(IProtocol)
协议实例创建事件参数
public ProtocolCreatedEventArgs(IProtocol protocol)
Parameters
protocolIProtocol
Properties
Config
获取该实例的通讯配置
public ICommunicationConfig Config { get; }
Property Value
InstanceId
获取该实例标识
public string InstanceId { get; }
Property Value
Protocol
获取该协议实例
public IProtocol Protocol { get; }