Methods Summary |
---|
public java.lang.String | getHost()Gets host name of this ListeningPoint.
return this.sipStack.getHostAddress();
|
protected java.lang.String | getKey()Gets the key for this struct.
return makeKey(host, port, transport);
// return makeKey(host, port, transport);
|
public int | getPort()Gets the port of the ListeningPoint. The default port of a ListeningPoint
is dependent on the scheme and transport. For example:
- The default port is 5060 if the transport
UDP the scheme is sip:.
- The default port is 5060 if the transport
is TCP the scheme is sip:.
- The default port is 5060 if the transport
is SCTP the scheme is sip:.
- The default port is 5061 if the transport
is TLS over TCP the scheme is sip:.
- The default port is 5061 if the transport
is TCP the scheme is sips:.
return messageProcessor.getPort();
|
public SipProvider | getProvider()Getsthe provider.
return this.sipProviderImpl;
|
public java.lang.String | getTransport()Gets transport of the ListeningPoint.
return messageProcessor.getTransport();
|
public static java.lang.String | makeKey(java.lang.String host, int port, java.lang.String transport)Constructs a key to refer to this structure from the SIP stack.
return new StringBuffer(host).
append(":").
append(port).
append("/").
append(transport).
toString().
toLowerCase();
|
protected void | removeSipProvider()Removes the sip provider from this listening point.
this.sipProviderImpl = null;
|
protected void | setSipProvider(SipProvider sipProviderImpl)Sets the sip provider for this structure.
this.sipProviderImpl = sipProviderImpl;
|