BaseStation.ItemDescriber Namespace
CAS.DataPorter.Configurator Namespace
CAS.Lib.CommonBus Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
CAS.Lib.CommonBus.CommunicationLayer Namespace
CAS.Lib.DeviceSimulator Namespace
CAS.NetworkConfigLib Namespace
Object-Oriented Internet Process-Observer

CommunicationLayerFactory..::..CreateNetCommunicationLayer Method

Creates the net communication layer.

Namespace:  CAS.Lib.CommonBus.CommunicationLayer
Assembly:  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.

Return Value

Communication layer