|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nist.javax.sip.ListeningPointImpl
Implementation of the ListeningPoint interface
| Field Summary |
| Fields inherited from interface javax.sip.ListeningPoint |
PORT_5060, PORT_5061, SCTP, TCP, TLS, UDP |
| Method Summary | |
Object |
clone()
Clone this listening point. |
String |
getIPAddress()
Gets the IP of the ListeningPoint. |
MessageProcessor |
getMessageProcessor()
|
int |
getPort()
Gets the port of the ListeningPoint. |
SipProviderImpl |
getProvider()
Get the provider. |
String |
getSentBy()
Gets the sentBy attribute of the ListeningPoint. |
String |
getTransport()
Gets transport of the ListeningPoint. |
Via |
getViaHeader()
|
boolean |
isSentBySet()
|
static String |
makeKey(String host,
int port,
String transport)
Construct a key to refer to this structure from the SIP stack |
void |
setSentBy(String sentBy)
Sets the sentBy string for this ListeningPoint. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sip.ListeningPoint |
equals |
| Method Detail |
public static String makeKey(String host,
int port,
String transport)
host - host stringport - porttransport - transport
public Object clone()
public int getPort()
getPort in interface ListeningPointpublic String getTransport()
getTransport in interface ListeningPointpublic SipProviderImpl getProvider()
public String getIPAddress()
ListeningPoint
getIPAddress in interface ListeningPoint
public void setSentBy(String sentBy)
throws ParseException
ListeningPoint
setSentBy in interface ListeningPointsentBy - the sentBy string to be set in requests top most Via
headers.
ParseException - which signals that an error has been reached
unexpectedly while parsing the sentBy value.public String getSentBy()
ListeningPoint
getSentBy in interface ListeningPointpublic boolean isSentBySet()
public Via getViaHeader()
public MessageProcessor getMessageProcessor()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||