DOFProtocolFactorygetApplication Method OpenDOF Object Access Library
Returns the application layer for a given protocol.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
ApplicationLayer getApplication(
	short protocol
)

Parameters

protocol
Type: SystemInt16
The protocol identifier. Must be one of the protocol-specific constants.

Return Value

Type: ApplicationLayer
The application layer for a given protocol identifier.
Remarks

Returns the application layer for a given protocol.

Must treat returned values as singletons. That is, once this method has returned an instance of the protocol, it should always return that instance for the specified protocol.

See Also

Reference