JAIN-SIP 2.0 API

Deprecated API


Contents
Deprecated Fields
javax.sip.DialogState._COMPLETED
          WARNING: Implementations may throw OperationNotSupportedException. Since v1.2. This state does not exist in a dialog. 
javax.sip.DialogState.COMPLETED
          WARNING: Implementations may throw OperationNotSupportedException. Since v1.2. This state does not exist in a dialog. 
 

Deprecated Methods
javax.sip.ClientTransaction.createAck()
          WARNING: Implementations may throw OperationNotSupportedException. 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)
          WARNING: Implementations may throw OperationNotSupportedException. Since 1.2. Use HeaderFactory.createCSeqHeader(long, String) method with type long. 
javax.sip.SipStack.createListeningPoint(int, String)
          WARNING: Implementations may throw OperationNotSupportedException. 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.message.MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader, ToHeader, List, MaxForwardsHeader)
          since version 2.0 as MaxForwards header is not relevant for the response. Please use MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader, ToHeader, List) 
javax.sip.message.MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader, ToHeader, List, MaxForwardsHeader, ContentTypeHeader, byte[])
          This method is not supported since version 2.0 because MaxForwards header is not relevant for the response. Please use MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader, ToHeader, List, ContentTypeHeader, byte[]) 
javax.sip.message.MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader, ToHeader, List, MaxForwardsHeader, ContentTypeHeader, Object)
          This method is deprecated since version 2.0. MaxForwards header is not required for the response. Please use MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader, ToHeader, List, ContentTypeHeader, Object) 
javax.sip.ServerTransaction.enableRetransmissionAlerts()
          This method is no longer supported in version 2.0. WARNING: Implementations may throw OperationNotSupportedException. 
javax.sip.header.TimeStampHeader.getDelay()
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with TimeStampHeader.getTimeDelay(). 
javax.sip.Dialog.getFirstTransaction()
          WARNING: Implementations may throw OperationNotSupportedException. This method is deprecated since v1.2 to reduces the amount of state that the stack needs to keep track of. Note to developers : Store a reference to the Dialog creating transaction in the Dialog Application Data if you need to. 
javax.sip.SipProvider.getListeningPoint()
          WARNING: Implementations may throw OperationNotSupportedException. 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()
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with Dialog.getLocalSeqNumber() with type long. 
javax.sip.address.Router.getNextHops(Request)
          WARNING: Implementations may throw OperationNotSupportedException. Since v1.2. This method is replaced with Router.getNextHop(Request) method which returns the next Hop for this request. 
javax.sip.Dialog.getRemoteSequenceNumber()
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with Dialog.getRemoteSeqNumber() with type long. 
javax.sip.header.CSeqHeader.getSequenceNumber()
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with CSeqHeader.getSeqNumber() with type long. 
javax.sip.header.TimeStampHeader.getTimeStamp()
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with TimeStampHeader.getTime(). 
javax.sip.header.WWWAuthenticateHeader.getURI()
          WARNING: Implementations may throw OperationNotSupportedException. Since v1.2. URI is not a supported parameter for this header. This method should return null. 
javax.sip.SipStack.isRetransmissionFilterActive()
          Deprecated in version 1.2. WARNING: Implementations may throw OperationNotSupportedException. 
javax.sip.header.TimeStampHeader.setDelay(float)
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with TimeStampHeader.setTimeDelay(int). 
javax.sip.SipProvider.setListeningPoint(ListeningPoint)
          WARNING: Implementations may throw OperationNotSupportedException. 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)
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with CSeqHeader.setSeqNumber(long) with type long. 
javax.sip.header.TimeStampHeader.setTimeStamp(float)
          WARNING: Implementations may throw OperationNotSupportedException. This method is replaced with TimeStampHeader.setTimeStamp(float). 
javax.sip.header.WWWAuthenticateHeader.setURI(URI)
          WARNING: Implementations may throw OperationNotSupportedException. Since v1.2. URI is not a supported parameter for this header. 
 


JAIN-SIP 2.0 API


See conditions of use.
Submit a bug report or feature request.