org.lastbamboo.common.sip.stack.message
Class Invite

java.lang.Object
  extended by org.lastbamboo.common.sip.stack.message.AbstractSipMessage
      extended by org.lastbamboo.common.sip.stack.message.Invite
All Implemented Interfaces:
org.lastbamboo.common.offer.answer.OfferAnswerMessage, SipMessage

public class Invite
extends AbstractSipMessage

A SIP INVITE message.


Constructor Summary
Invite(String startLine, Map<String,SipHeader> headers, org.littleshoot.mina.common.ByteBuffer body)
          Creates a new INVITE request.
Invite(URI requestUri, Map<String,SipHeader> headers, org.littleshoot.mina.common.ByteBuffer body)
          Creates a new INVITE request with the specified first line of the message, the specified headers, and the specified message body.
 
Method Summary
 void accept(SipMessageVisitor visitor)
          Accepts the specified message visitor.
 
Methods inherited from class org.lastbamboo.common.sip.stack.message.AbstractSipMessage
createRequestLine, getBody, getBranchId, getHeader, getHeaders, getKey, getMethod, getRouteSet, getStartLine, getTransactionKey, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Invite

public Invite(URI requestUri,
              Map<String,SipHeader> headers,
              org.littleshoot.mina.common.ByteBuffer body)
Creates a new INVITE request with the specified first line of the message, the specified headers, and the specified message body.

Parameters:
requestUri - The request URI.
headers - The message headers.
body - The message body.

Invite

public Invite(String startLine,
              Map<String,SipHeader> headers,
              org.littleshoot.mina.common.ByteBuffer body)
Creates a new INVITE request.

Parameters:
startLine - The first line of the request.
headers - The headers.
body - The body.
Method Detail

accept

public void accept(SipMessageVisitor visitor)
Description copied from interface: SipMessage
Accepts the specified message visitor.

Parameters:
visitor - The visitor to accept.


Copyright © 2013 LittleShoot. All Rights Reserved.