Table of Contents

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

protocol IProtocol

Properties

Config

获取该实例的通讯配置

public ICommunicationConfig Config { get; }

Property Value

ICommunicationConfig

InstanceId

获取该实例标识

public string InstanceId { get; }

Property Value

string

Protocol

获取该协议实例

public IProtocol Protocol { get; }

Property Value

IProtocol