com.cisco.jtapi.extensions
Interface CiscoUrlInfo


public interface CiscoUrlInfo

The CiscoUrlInfo object specifies the properties of the Uniform Resources Locator (URL) associated with a SIP endpoint.


Field Summary
static int TRANSPORT_TYPE_TCP
          The endpoint is using TCP.
static int TRANSPORT_TYPE_TLS
          The endpoint is using TLS (Transport Layer Security).
static int TRANSPORT_TYPE_UDP
          The endpoint is using UDP.
static int TRANSPORT_TYPE_UNKNOWN
          The endpoint's Transport Protocol is unknown.
static int URL_TYPE_SIP
          The URL is of type SIP.
static int URL_TYPE_TEL
          The URL is of type telephony.
static int URL_TYPE_UNKNOWN
          The URL is of unknown type.
 
Method Summary
 java.lang.String getHost()
          Returns the host name associated with the SIP endpoint.
 int getPort()
          Returns the port associated with the SIP endpoint.
 int getTransportType()
          Returns the Transport Layer Protocol type that the SIP endpoint uses.
 int getUrlType()
          This method returns the endpoint URL type.
 java.lang.String getUser()
          Returns the user name associated with the SIP endpoint.
 

Field Detail

TRANSPORT_TYPE_UDP

static final int TRANSPORT_TYPE_UDP
The endpoint is using UDP.

See Also:
Constant Field Values

TRANSPORT_TYPE_TCP

static final int TRANSPORT_TYPE_TCP
The endpoint is using TCP.

See Also:
Constant Field Values

TRANSPORT_TYPE_UNKNOWN

static final int TRANSPORT_TYPE_UNKNOWN
The endpoint's Transport Protocol is unknown.

Since:
9.0.1
See Also:
Constant Field Values

TRANSPORT_TYPE_TLS

static final int TRANSPORT_TYPE_TLS
The endpoint is using TLS (Transport Layer Security).

Since:
9.0.1
See Also:
Constant Field Values

URL_TYPE_UNKNOWN

static final int URL_TYPE_UNKNOWN
The URL is of unknown type.

See Also:
Constant Field Values

URL_TYPE_TEL

static final int URL_TYPE_TEL
The URL is of type telephony.

See Also:
Constant Field Values

URL_TYPE_SIP

static final int URL_TYPE_SIP
The URL is of type SIP.

See Also:
Constant Field Values
Method Detail

getUser

java.lang.String getUser()
Returns the user name associated with the SIP endpoint.

Returns:
String

getHost

java.lang.String getHost()
Returns the host name associated with the SIP endpoint.


getPort

int getPort()
Returns the port associated with the SIP endpoint.


getTransportType

int getTransportType()
Returns the Transport Layer Protocol type that the SIP endpoint uses. The type is either CiscoUrlInfo.TRANSPORT_TYPE_UDP, CiscoUrlInfo.TRANSPORT_TYPE_TCP, CiscoUrlInfo.TRANSPORT_TYPE_TLS, or CiscoUrlInfo.TRANSPORT_TYPE_UNKNOWN.


getUrlType

int getUrlType()
This method returns the endpoint URL type. CiscoUrlInfo.URL_TYPE_UNKNOWN, CiscoUrlInfo.URL_TYPE_TEL, and CiscoUrlInfo.URL_TYPE_SIP are the possible return values.