NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sip
Interface ListeningPointExt

All Superinterfaces:
Cloneable, ListeningPoint, Serializable
All Known Implementing Classes:
ListeningPointImpl

public interface ListeningPointExt
extends ListeningPoint


Field Summary
 
Fields inherited from interface javax.sip.ListeningPoint
PORT_5060, PORT_5061, SCTP, TCP, TLS, UDP
 
Method Summary
 ContactHeader createContactHeader()
          Create a contact for this listening point.
 void sendHeartbeat(String ipAddress, int port)
          Send a heartbeat to the specified Ip address and port via this listening point.
 
Methods inherited from interface javax.sip.ListeningPoint
equals, getIPAddress, getPort, getSentBy, getTransport, setSentBy
 

Method Detail

createContactHeader

ContactHeader createContactHeader()
Create a contact for this listening point.

Returns:
a contact header corresponding to this listening point.
Since:
2.0

sendHeartbeat

void sendHeartbeat(String ipAddress,
                   int port)
                   throws IOException
Send a heartbeat to the specified Ip address and port via this listening point. This method can be used to send out a period CR-LF for NAT keepalive.

Throws:
IOException
Since:
2.0

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.