Mapping Constructor (Protocol, Int32, Int32, Int32, String)
Initializes a new instance of the Mapping class.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
Parameters
- protocol
- Type: com.onlineobject.objectnet..::..Protocol
The protocol.
- privatePort
- Type: Int32
The private port.
- publicPort
- Type: Int32
The public port.
- lifetime
- Type: Int32
The lifetime in seconds.
- description
- Type: String
The description.