public interface ListeningPoint extends Cloneable, Serializable
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.
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final String TCP
static final String UDP
static final String SCTP
static final String TLS
static final int PORT_5060
static final int PORT_5061
int getPort()
String getTransport()
String getIPAddress()
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.String getSentBy()
boolean equals(Object obj)
Copyright © 2014. All Rights Reserved.