|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.servlet.sip.core.ExtendedListeningPoint
public class ExtendedListeningPoint
| Constructor Summary | |
|---|---|
ExtendedListeningPoint(javax.sip.SipProvider sipProvider,
javax.sip.ListeningPoint listeningPoint)
|
|
| Method Summary | |
|---|---|
javax.sip.header.ContactHeader |
createContactHeader(java.lang.String displayName)
|
javax.sip.address.SipURI |
createRecordRouteURI()
|
javax.sip.header.ViaHeader |
createViaHeader(java.lang.String branch)
|
java.lang.String |
getGlobalIpAddress()
Retrieve the global ip address of this listening point (found through STUN), null if no global ip address is asccoiated to it |
int |
getGlobalPort()
Retrieve the global port of this listening point (found through STUN), -1 if no global port is asccoiated to it |
java.util.List<java.lang.String> |
getIpAddresses()
Return the list of real ip address represented by this listening point. |
javax.sip.ListeningPoint |
getListeningPoint()
Retrieve the jain sip listening point being extended by this class |
int |
getPort()
Retrieve the port associated with this listening point |
javax.sip.SipProvider |
getSipProvider()
Retrieve the sip provider associated to the jain sip listening point being extended by this class |
java.lang.String |
getTransport()
Retrieve the transport associated with this listening point |
boolean |
isAnyLocalAddress()
return true if the ip address maps to 0.0.0.0. |
void |
setGlobalIpAddress(java.lang.String globalIpAddress)
Set the global ip address (found through STUN) of this extended listening point |
void |
setGlobalPort(int globalPort)
Set the global port (found through STUN) of this extended listening point |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedListeningPoint(javax.sip.SipProvider sipProvider,
javax.sip.ListeningPoint listeningPoint)
| Method Detail |
|---|
public javax.sip.header.ContactHeader createContactHeader(java.lang.String displayName)
sipNetworkInterfaceManager - transport -
public javax.sip.header.ViaHeader createViaHeader(java.lang.String branch)
sipNetworkInterfaceManager - transport - branch -
public javax.sip.address.SipURI createRecordRouteURI()
sipProviders - transport -
public javax.sip.ListeningPoint getListeningPoint()
public javax.sip.SipProvider getSipProvider()
public java.lang.String getGlobalIpAddress()
public int getGlobalPort()
public void setGlobalIpAddress(java.lang.String globalIpAddress)
globalIpAddress - the global ip address of this listening pointpublic void setGlobalPort(int globalPort)
globalPort - the global port of this listening pointpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<java.lang.String> getIpAddresses()
public int getPort()
public java.lang.String getTransport()
public boolean isAnyLocalAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||