CAS.CommServer.ProtocolHub.MonitorInterface Namespace
Rel 4.10

CommServerProtocol..::..CreateNewProtocol Method

Creating new protocol.

Namespace:  CAS.CommServer.ProtocolHub.Communication.Diagnostic
Assembly:  ProtocolHub.Communication (in ProtocolHub.Communication.dll)

Syntax


public static IProtocolParent CreateNewProtocol(
	string protocolPar,
	string Name,
	long ID,
	string protocolPar_HumanReadable,
	Statistics..::..ChannelStatistics MyChannelStatistics
)

Parameters

protocolPar
Type: String
The protocol description containing parameter of the protocol in XML Format.
Name
Type: String
The name of the protocol.
ID
Type: Int64
The identifier of the protocol.
protocolPar_HumanReadable
Type: String
The protocol parameters as human readable string.
MyChannelStatistics
Type: CAS.CommServer.ProtocolHub.MonitorInterface..::..Statistics..::..ChannelStatistics
My channel statistics.

Return Value

Returns IProtocolParent