| java.lang.Object gov.nist.siplite.ListeningPoint
port | int port(Code) | | My port. (same thing as in the message processor)
|
transport | protected String transport(Code) | | Current connection.
|
ListeningPoint | protected ListeningPoint(SipStack sipStack, String host, int port, String transport)(Code) | | Constructor.
Parameters: sipStack - context for the current transaction Parameters: host - Host name Parameters: port - the channel to moonitor Parameters: transport - the connection being used |
getHost | public String getHost()(Code) | | Gets host name of this ListeningPoint.
host of ListeningPoint |
getKey | protected String getKey()(Code) | | Gets the key for this struct.
get the host |
getPort | public int getPort()(Code) | | 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:.
port of ListeningPoint |
getTransport | public String getTransport()(Code) | | Gets transport of the ListeningPoint.
transport of ListeningPoint |
makeKey | public static String makeKey(String host, int port, String transport)(Code) | | Constructs a key to refer to this structure from the SIP stack.
Parameters: host - host string Parameters: port - port Parameters: transport - transport a string that is used as a key |
removeSipProvider | protected void removeSipProvider()(Code) | | Removes the sip provider from this listening point.
|
setSipProvider | protected void setSipProvider(SipProvider sipProviderImpl)(Code) | | Sets the sip provider for this structure.
Parameters: sipProviderImpl - provider to set |
|
|