JSIP API v1.2
November 2006

Deprecated API


Contents
Deprecated Fields
javax.sip.DialogState._COMPLETED
          Since v1.2. This state does not exist in a dialog. 
javax.sip.DialogState.COMPLETED
          Since v1.2. This state does not exist in a dialog. 
 

Deprecated Methods
javax.sip.ClientTransaction.createAck()
          Since v1.2. As a transaction that received a 2xx response terminates immediately, it cannot be used for creating the corresponding ACK. If this transaction created a dialog, the Dialog.createAck(long) method should be used. Otherwise the stack will automatically create and send the ACK for non-2xx responses that need to be acknowledged. That is the application should never need to use this method. 
javax.sip.header.HeaderFactory.createCSeqHeader(int, String)
          Since 1.2. Use HeaderFactory.createCSeqHeader(long, String) method with type long. 
javax.sip.SipStack.createListeningPoint(int, String)
          Since v1.2. This has been replaced by SipStack.createListeningPoint(String, int, String) For backwards compatibility with v1.1 implementations should support this method. Implementations should throw TransportNotSupportedException if the Properties specified during stack creation do not include an IP Address. 
javax.sip.header.TimeStampHeader.getDelay()
          This method is replaced with TimeStampHeader.getTimeDelay(). 
javax.sip.Dialog.getFirstTransaction()
          Since v1.2. Reduces the amount of state that the stack needs to keep track of. 
javax.sip.SipProvider.getListeningPoint()
          Since v1.2. Note that in v1.1 a SipProvider could only be associated to a single listening point, this restriction has been lifted to allow a SipProvider to have a specific ListeningPoints for each transport. For backwards compatibility, this method will return the first ListeningPoint of the list of ListeningPoints associated with the SipProvider. This method has been replaced with SipProvider.getListeningPoints(). 
javax.sip.Dialog.getLocalSequenceNumber()
          This method is replaced with Dialog.getLocalSeqNumber() with type long. 
javax.sip.address.Router.getNextHops(Request)
          Since v1.2. This method is replaced with Router.getNextHop(Request) method which returns the next Hop for this request. 
javax.sip.Dialog.getRemoteSequenceNumber()
          This method is replaced with Dialog.getRemoteSeqNumber() with type long. 
javax.sip.header.CSeqHeader.getSequenceNumber()
          This method is replaced with CSeqHeader.getSeqNumber() with type long. 
javax.sip.header.TimeStampHeader.getTimeStamp()
          This method is replaced with TimeStampHeader.getTime(). 
javax.sip.header.WWWAuthenticateHeader.getURI()
          Since v1.2. URI is not a supported parameter for this header. This method should return null. 
javax.sip.SipStack.isRetransmissionFilterActive()
          Since v1.2. This retransmission filter property has been deprecated as a SIP Stack property. Applications can enable retransmission alerts by using the ServerTransaction.enableRetransmissionAlerts() method. 
javax.sip.header.TimeStampHeader.setDelay(float)
          This method is replaced with TimeStampHeader.setTimeDelay(int). 
javax.sip.SipProvider.setListeningPoint(ListeningPoint)
          Since v1.2. Note that in v1.1 a SipProvider could only be associated to a single listening point, this restriction has been lifted to allow a SipProvider to have a specific ListeningPoints for each transport. For backwards compatibility, this method will add the ListeningPoint to the list of ListeningPoints associated with the SipProvider. This method has been replaced with SipProvider.addListeningPoint(ListeningPoint), the same semantics apply to this method. 
javax.sip.header.CSeqHeader.setSequenceNumber(int)
          This method is replaced with CSeqHeader.setSeqNumber(long) with type long. 
javax.sip.header.TimeStampHeader.setTimeStamp(float)
          This method is replaced with TimeStampHeader.setTimeStamp(float). 
javax.sip.header.WWWAuthenticateHeader.setURI(URI)
          Since v1.2. URI is not a supported parameter for this header. 
 


JSIP API v1.2
November 2006

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing at http://archives.java.sun.com
Copyright - 2006 BEA Systems and Sun Microsystems