nn::nex::StationURL Class

Syntax

class StationURL : public nn::nex::RootObject

Description

Constructs URLs for Stations.

This class constructs a URL for a specified Station. StationURL requires a minimum of one URL, one port, and a ConnectionID for NAT traversal.

Enumerated Types

URLType Enumerates StationURL types.
Flags Enumerates the flags that can be set in StationURL.

Member Functions

StationURL Constructor.
V ~StationURL Destructor.
SetURLType Sets the URLType used by this StationURL.
GetURLType Gets the URLType used by this StationURL.
SetAddress Sets the address used by this StationURL.
GetAddress Gets the Station address.
SetPortNumber Sets the port number.
GetPortNumber Returns the port number specified with this StationURL.
SetPrincipalID Sets the PrincipalID specified by this StationURL.
GetPrincipalID Gets the PrincipalID specified by this StationURL.
IsBehindNAT Returns whether the Station associated with this StationURL is behind a NAT device.
IsPublic Returns whether this StationURL references a public IP address or port number.
operator= An assignment operator.
operator== A comparison operator.
operator!= A comparison operator.
GetStringRepresentation Returns the StationURL as a string.
Set Sets a user-defined attribute in StationURL.
Get Returns the value associated with the specified key.
Remove Deletes the user-defined attribute from StationURL.
Trace Traces this StationURL content.
CStr Returns a string for the URL of the Station.

Class Hierarchy

nn::nex::RootObject
  nn::nex::StationURL

Revision History

2011/01/27
Initial version.

CONFIDENTIAL