CommunicationLayerFactory..::..CreateNetCommunicationLayer Method
Creates the net communication layer.
Namespace:
CAS.Lib.CommonBus.CommunicationLayerAssembly: CommServer.CommonBus (in CommServer.CommonBus.dll)
Syntax
public static ICommunicationLayer CreateNetCommunicationLayer( short sockedNum, ProtocolType protocol, string pTraceName, CommonBusControl pParent )
Public Shared Function CreateNetCommunicationLayer ( _ sockedNum As Short, _ protocol As ProtocolType, _ pTraceName As String, _ pParent As CommonBusControl _ ) As ICommunicationLayer
public: static ICommunicationLayer^ CreateNetCommunicationLayer( short^ sockedNum, ProtocolType^ protocol, String^ pTraceName, CommonBusControl^ pParent )
Parameters
- sockedNum
- Type: Int16
The socked num.
- protocol
- Type: CAS.Lib.CommonBus.CommunicationLayer.Net..::..ProtocolType
The protocol.
- pTraceName
- Type: String
Name of the trace.
- pParent
- Type: CAS.Lib.CommonBus..::..CommonBusControl
The parent common bus control.