|
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 | ||||||||||
This interface represents a unique IP network listening point, which consists of port transport and IP. A ListeningPoint is a Java representation of the socket that a SipProvider messaging entity uses to send and receive messages.
The ListeningPoint also includes an optional sent-by string parameter. If set, this string will be placed in the sent-by parameter of the top most Via header of outgoing requests.
| Field Summary | |
static int |
PORT_5060
Port Constant: Default port 5060. |
static int |
PORT_5061
Port Constant: Default port 5061. |
static String |
SCTP
Transport constant: SCTP |
static String |
TCP
Transport constant: TCP |
static String |
TLS
Transport constant: TLS over TCP |
static String |
UDP
Transport constant: UDP |
| Method Summary | |
boolean |
equals(Object obj)
This method indicates whether the specified object is equal to this Listening Point. |
String |
getIPAddress()
Gets the IP of the ListeningPoint. |
int |
getPort()
Gets the port of the ListeningPoint. |
String |
getSentBy()
Gets the sentBy attribute of the ListeningPoint. |
String |
getTransport()
Gets the transport of the ListeningPoint. |
void |
setSentBy(String sentBy)
Sets the sentBy string for this ListeningPoint. |
| Field Detail |
public static final String TCP
public static final String UDP
public static final String SCTP
public static final String TLS
public static final int PORT_5060
public static final int PORT_5061
| Method Detail |
public int getPort()
public String getTransport()
public String getIPAddress()
public void setSentBy(String sentBy)
throws ParseException
sentBy - 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()
public boolean equals(Object obj)
obj - the object with which to compare this ListeningPoint.
|
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 | ||||||||||