com.onlineobject.objectnet Namespace

Mapping Constructor (Protocol, IPAddress, Int32, 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,

	IPAddress privateIP,

	int privatePort,

	int publicPort,

	int lifetime,

	string description

)

Parameters

protocol
Type: com.onlineobject.objectnet..::..Protocol
The protocol.
privateIP
Type: IPAddress
The private ip.
privatePort
Type: Int32
The private port.
publicPort
Type: Int32
The public port.
lifetime
Type: Int32
The lifetime in seconds.
description
Type: String
The description.