Uses of Class
jain.protocol.ip.sip.SipException

Packages that use SipException
jain.protocol.ip.sip This package contains the main interfaces required to represent JAIN SIP protocol stacks, JAIN SIP applications, as well as the classes and exceptions needed to send and receive JAIN SIP messages. 
jain.protocol.ip.sip.header This package contains the classes representing SIP headers. 
jain.protocol.ip.sip.message This package contains the Event classes representing SIP Messages. 
 

Uses of SipException in jain.protocol.ip.sip
 

Subclasses of SipException in jain.protocol.ip.sip
 interface BodyNotSetException
          This exception is thrown if an attempt is made to perform any method on a bodyless Message that relies on the existemce of a Message body.
 interface HeaderNotSetException
          This exception is thrown if an attempt is made to access a non-existent Header of a Message
 interface ListeningPointUnavailableException
          This Exception is thrown when an attempt is made to create a JainSipProvider with a ListeningPoint which is not owned by the JainSipStack, or if another JainSipProvider is already using the ListeningPoint
 interface ParameterNotSetException
          This exception is thrown if an attempt is made to access a non-existent parameter of a Header
 interface ResponseDoesNotExistException
          This Exception is thrown when a user attempts to get a ResponseMessage for a transaction which has no ResponseMessage
 interface TransactionDoesNotExistException
          This Exception is thrown when a user attempts to reference a transaction that does not exist
 interface UnableToDeleteProviderException
          This exception is thrown if the deleteProvider method of a JainSipStack is invoked to delete a JainSipProvider but the deletion is not allowed.
 

Methods in jain.protocol.ip.sip that throw SipException
 int JainSipProvider.sendRequest(RequestMessage request)
          Sends a specified RequestMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendInvite(InviteMessage invite)
          Sends a specified InviteMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendInvite(JainSipListener source, URI requestURI, NameAddress from, NameAddress to, java.lang.Object body, java.lang.String bodyType, java.lang.String bodySubType)
          Sends an automatically generated InviteMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendRegister(RegisterMessage register)
          Sends a specified RegisterMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendRegister(JainSipListener source, URI requestURI, NameAddress from, NameAddress to, NameAddress[] contacts)
          Sends an automatically generated RegisterMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendRegister(JainSipListener source, URI requestURI, NameAddress from, NameAddress to, NameAddress[] contacts, java.lang.Object body, java.lang.String bodyType, java.lang.String bodySubType)
          Sends an automatically generated RegisterMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendOptions(OptionsMessage options)
          Sends a specified OptionsMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendOptions(JainSipListener source, URI requestURI, NameAddress from, NameAddress to)
          Sends an automatically generated OptionsMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendOptions(JainSipListener source, URI requestURI, NameAddress from, NameAddress to, java.lang.Object body, java.lang.String bodyType, java.lang.String bodySubType)
          Sends an automatically generated OptionsMessage and returns the ID of the implicitly created transaction.
 int JainSipProvider.sendAck(int clientTransactionId, AckMessage ack)
          Sends an AckMessage to the recepient of the invite associated with transaction specified by client transaction id (using specified ack message)
 int JainSipProvider.sendAck(JainSipListener source, int clientTransactionId)
          Sends an AckMessage to the recepient of the invite associated with transaction specified by client transaction id (ack message with empty body is automatically generated by provider)
 int JainSipProvider.sendAck(JainSipListener source, int clientTransactionId, java.lang.Object body, java.lang.String bodyType, java.lang.String bodySubType)
          Sends an AckMessage to the recepient of the invite associated with transaction specified by client transaction id (ack message with specified body is automatically generated by provider)
 int JainSipProvider.sendCancel(int clientTansactionId, CancelMessage cancel)
          Cancel the pending request associated with transaction specified by proprietary transaction id (using specified cancel message)
 int JainSipProvider.sendCancel(JainSipListener source, int clientTransactionId)
          Cancel the pending request associated with transaction specified by client transaction id (cancel message is automatically generated by provider)
 int JainSipProvider.sendBye(ByeMessage bye)
          Terminate call leg (using specified bye message)
 int JainSipProvider.sendBye(JainSipListener source, InviteMessage invite)
          Terminate call leg associated with specified InviteMessage (bye message is automatically generated by provider) Note - the ByeMessage will have a CSeq number equal to the CSeq number of the InviteMessage plus one i.e.
 int JainSipProvider.sendBye(JainSipListener source, ResponseMessage response)
          Terminate call leg associated with specified ResponseMessage (bye message is automatically generated by provider) Note - the ByeMessage will have a CSeq number equal to the CSeq number of the ResponseMessage plus one i.e.
 void JainSipProvider.sendResponse(int serverTransactionId, ResponseMessage response)
          Sends a response to the request associated with server transaction specified by server transaction id (using specified response message)
 CallIdHeader JainSipProvider.getNewCallIdHeader()
          Returns a new CallIdHeader for the Provider's ListeningPoint
 int JainSipProvider.getNewCSeqNumber(CallIdHeader callIdHeader)
          Returns a new CSeq for the call represented by the specified CallIdHeader
 Message JainSipProvider.decryptMessage(Message encryptedMessage, java.lang.String key)
          Returns decrypted version of encrypted message using specified key with scheme specified in EncryptionHeader
 Message JainSipProvider.encryptMessage(Message unencryptedMessage, java.lang.String key)
          Returns encrypted version of unencrypted message using specified key with scheme specified in EncryptionHeader
 void SipURL.setUserPassword(java.lang.String userPassword)
          Sets user password of SipURL
 void SipURL.setIsdnSubAddress(java.lang.String isdnSubAddress)
          Sets ISDN subaddress of SipURL
 void SipURL.setPostDial(java.lang.String postDial)
          Sets post dial of SipURL
 boolean SipURL.isGlobal()
          Returns boolean value to indicate if the SipURL has a global phone user
 void SipURL.setGlobal(boolean global)
          Sets phone user of SipURL to be global or local
 JainSipProvider[] JainSipStack.getProviders()
          Returns an array of existing Peer JAIN SIP Providers that have been created by this JainSipStackImpl.
 

Uses of SipException in jain.protocol.ip.sip.header
 

Methods in jain.protocol.ip.sip.header that throw SipException
 void ServerHeader.setProductVersion(java.lang.String productVersion)
          Sets product version of ServerHeader
 void WarningHeader.setAgentPort(int agentPort)
          Sets agent port of WarningHeader
 void UserAgentHeader.setProductVersion(java.lang.String productVersion)
          Sets product version of UserAgentHeader
 void ViaHeader.setPort(int port)
          Sets port of ViaHeader
 

Uses of SipException in jain.protocol.ip.sip.message
 

Methods in jain.protocol.ip.sip.message that throw SipException
 void Message.setAcceptHeaders(AcceptHeader[] acceptHeaders)
          Sets AcceptHeaders of Message.
 void Message.setAcceptEncodingHeaders(AcceptEncodingHeader[] acceptEncodingHeaders)
          Sets AcceptEncodingHeaders of Message.
 void Message.setAcceptLanguageHeaders(AcceptLanguageHeader[] acceptLanguageHeaders)
          Sets AcceptLanguageHeaders of Message.
 void Message.setExpiresHeader(ExpiresHeader expiresHeader)
          Sets ExpiresHeader of Message.
 void Message.setContactHeaders(ContactHeader[] contactHeaders)
          Sets ContactHeaders of Message.
 void Message.setOrganizationHeader(OrganizationHeader organizationHeader)
          Sets OrganizationHeader of Message.
 void Message.setRecordRouteHeaders(RecordRouteHeader[] recordRouteHeaders)
          Sets RecordRouteHeaders of Message.
 void Message.setRetryAfterHeader(RetryAfterHeader retryAfterHeader)
          Sets RetryAfterHeader of Message.
 void RequestMessage.setResponseKeyHeader(ResponseKeyHeader responseKeyHeader)
          Sets ResponseKeyHeader of RequestMessage.
static java.lang.String ResponseMessage.getStandardReasonPhrase(int statusCode)
          Gets standard reason phrase for status code.
 



If you have any comments or queries, please mail them to JAIN-SIP-interest@sun.com


Copyright - 2000 Sun Microsystems