com.onlineobject.objectnet Namespace

Mapping Constructor (Protocol, Int32, Int32, String)

Initializes a new instance of the Mapping class.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public Mapping(

	Protocol protocol,

	int privatePort,

	int publicPort,

	string description

)

Parameters

protocol
Type: com.onlineobject.objectnet..::..Protocol
The protocol.
privatePort
Type: Int32
The private port.
publicPort
Type: Int32
The public port.
description
Type: String
The description.

Remarks


This constructor initializes a Permanent mapping.