Uses of Class
org.cafesip.sipunit.SipTransaction

Uses of SipTransaction in org.cafesip.sipunit
 

Methods in org.cafesip.sipunit that return SipTransaction
 SipTransaction PresenceNotifySender.resendWithAuthorization(javax.sip.ResponseEvent event)
          This method resends a NOTIFY statefully and with required authorization headers.
 SipTransaction SipCall.sendCancel()
          This method sends a basic CANCEL in a new transaction on the current dialog.
 SipTransaction SipCall.sendCancel(java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is equivalent to the basic sendCancel() method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipCall.sendCancel(java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is equivalent to the basic sendCancel() method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipCall.sendReinvite(java.lang.String newContact, java.lang.String displayName, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is equivalent to the basic sendReinvite() method except that it allows the caller to specify additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipCall.sendReinvite(java.lang.String newContact, java.lang.String displayName, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType)
          This method sends a basic RE-INVITE on the current dialog.
 SipTransaction SipCall.sendReinvite(java.lang.String newContact, java.lang.String displayName, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendReinvite() method except that it allows the caller to specify additional message headers to add to or replace in the outbound message without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipSession.sendReply(javax.sip.RequestEvent request, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires)
          This method sends a basic, stateful response to a previously received request.
 SipTransaction SipSession.sendReply(javax.sip.RequestEvent request, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is the same as the basic sendReply(RequestEvent, ...) method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipSession.sendReply(javax.sip.RequestEvent request, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendReply(RequestEvent, ...) method except that it allows the caller to specify a message body and/or additional message headers to add to or replace in the outbound message, without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipSession.sendReply(javax.sip.RequestEvent request, javax.sip.message.Response response)
          This method sends a stateful response to a previously received request.
 SipTransaction SipSession.sendReply(SipTransaction transaction, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires)
          This method sends a basic, stateful response to a previously received request.
 SipTransaction SipSession.sendReply(SipTransaction transaction, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is the same as the basic sendReply(SipTransaction, ...) method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipSession.sendReply(SipTransaction transaction, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendReply(SipTransaction, ...) method except that it allows the caller to specify a message body and/or additional message headers to add to or replace in the outbound message, without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipSession.sendReply(SipTransaction transaction, javax.sip.message.Response response)
          This method sends a stateful response to a previously received request.
 SipTransaction SipSession.sendRequestWithTransaction(javax.sip.message.Request request, boolean viaProxy, javax.sip.Dialog dialog)
          This basic method sends out a request message as part of a transaction.
 SipTransaction SipSession.sendRequestWithTransaction(javax.sip.message.Request request, boolean viaProxy, javax.sip.Dialog dialog, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is the same as the basic sendRequestWithTransaction(Request,...) method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipSession.sendRequestWithTransaction(javax.sip.message.Request request, boolean viaProxy, javax.sip.Dialog dialog, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendRequestWithTransaction(Request,...) method except that it allows the caller to specify a message body and/or additional message headers to add to or replace in the outbound message without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipSession.sendRequestWithTransaction(java.lang.String reqMessage, boolean viaProxy, javax.sip.Dialog dialog)
          This basic method sends out a request message as part of a transaction.
 SipTransaction SipSession.sendRequestWithTransaction(java.lang.String reqMessage, boolean viaProxy, javax.sip.Dialog dialog, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is the same as the basic sendRequestWithTransaction(String,...) method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipSession.sendRequestWithTransaction(java.lang.String reqMessage, boolean viaProxy, javax.sip.Dialog dialog, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendRequestWithTransaction(String,...) method except that it allows the caller to specify a message body and/or additional message headers to add to or replace in the outbound message without requiring knowledge of the JAIN-SIP API.
 SipTransaction PresenceNotifySender.sendStatefulNotify(javax.sip.message.Request req, boolean viaProxy)
          This method sends the given request to the subscriber.
 SipTransaction SipCall.waitForCancel(long timeout)
          The waitForCancel() method waits for a CANCEL request addressed to this user agent to be received from the network.
 SipTransaction SipCall.waitForReinvite(long timeout)
          The waitForReinvite() method waits for a RE-INVITE request addressed to this user agent to be received from the network.
 

Methods in org.cafesip.sipunit with parameters of type SipTransaction
 boolean SipCall.respondToCancel(SipTransaction siptrans, int statusCode, java.lang.String reasonPhrase, int expires)
          This method sends a basic response to a previously received CANCEL request.
 boolean SipCall.respondToCancel(SipTransaction siptrans, int statusCode, java.lang.String reasonPhrase, int expires, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is equivalent to the basic respondToCancel() method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 boolean SipCall.respondToCancel(SipTransaction siptrans, int statusCode, java.lang.String reasonPhrase, int expires, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is equivalent to the basic respondToCancel() method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message without requiring knowledge of the JAIN-SIP API.
 boolean SipCall.respondToReinvite(SipTransaction siptrans, int statusCode, java.lang.String reasonPhrase, int expires, java.lang.String newContact, java.lang.String displayName, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is equivalent to the basic respondToReinvite() method except that it allows the caller to specify additional JAIN-SIP API message headers to add to or replace in the outbound message.
 boolean SipCall.respondToReinvite(SipTransaction siptrans, int statusCode, java.lang.String reasonPhrase, int expires, java.lang.String newContact, java.lang.String displayName, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType)
          This method sends a basic response to a previously received RE-INVITE request.
 boolean SipCall.respondToReinvite(SipTransaction siptrans, int statusCode, java.lang.String reasonPhrase, int expires, java.lang.String newContact, java.lang.String displayName, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic respondToReinvite() plus it additionally allows the caller to specify additional message headers to add to or replace in the response message without requiring knowledge of the JAIN-SIP API.
 boolean SipCall.sendReinviteOkAck(SipTransaction siptrans)
          This basic method sends an ACK in response to an OK received in response to a sent RE-INVITE.
 boolean SipCall.sendReinviteOkAck(SipTransaction siptrans, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is the same as the basic sendReinviteOkAck() method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 boolean SipCall.sendReinviteOkAck(SipTransaction siptrans, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendReinviteOkAck() method except that it allows the caller to specify a message body and/or additional message headers to add to or replace in the outbound message without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipSession.sendReply(SipTransaction transaction, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires)
          This method sends a basic, stateful response to a previously received request.
 SipTransaction SipSession.sendReply(SipTransaction transaction, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires, java.util.ArrayList<javax.sip.header.Header> additionalHeaders, java.util.ArrayList<javax.sip.header.Header> replaceHeaders, java.lang.String body)
          This method is the same as the basic sendReply(SipTransaction, ...) method except that it allows the caller to specify a message body and/or additional JAIN-SIP API message headers to add to or replace in the outbound message.
 SipTransaction SipSession.sendReply(SipTransaction transaction, int statusCode, java.lang.String reasonPhrase, java.lang.String toTag, javax.sip.address.Address contact, int expires, java.lang.String body, java.lang.String contentType, java.lang.String contentSubType, java.util.ArrayList<java.lang.String> additionalHeaders, java.util.ArrayList<java.lang.String> replaceHeaders)
          This method is the same as the basic sendReply(SipTransaction, ...) method except that it allows the caller to specify a message body and/or additional message headers to add to or replace in the outbound message, without requiring knowledge of the JAIN-SIP API.
 SipTransaction SipSession.sendReply(SipTransaction transaction, javax.sip.message.Response response)
          This method sends a stateful response to a previously received request.
 boolean SipCall.waitForCancelResponse(SipTransaction siptrans, long timeout)
          The waitForCancelResponse() method waits for a response to be received from the network for a sent CANCEL.
 boolean SipCall.waitReinviteResponse(SipTransaction siptrans, long timeout)
          The waitReinviteResponse() method waits for a response to be received from the network for a sent RE-INVITE.
 java.util.EventObject SipSession.waitResponse(SipTransaction trans, long timeout)
          The waitResponse() method waits for a response to a previously sent transactional request message.
 java.util.EventObject PresenceNotifySender.waitResponse(SipTransaction trans, long timeout)
          The waitResponse() method waits for a response to a previously sent transactional request message.
 



http://www.cafesip.org