org.restlet.ext.sip
Class SipRecipientInfo

java.lang.Object
  extended by org.restlet.data.RecipientInfo
      extended by org.restlet.ext.sip.SipRecipientInfo

public class SipRecipientInfo
extends RecipientInfo

Describes a SIP intermediary such as a proxy. Used by the SIP "Via" header.

Author:
Thierry Boileau

Constructor Summary
SipRecipientInfo()
          Constructor.
SipRecipientInfo(Protocol protocol, String name, String agent)
          Constructor.
SipRecipientInfo(Protocol protocol, String transport, String name, String agent)
          Constructor.
 
Method Summary
 Series<Parameter> getParameters()
          Returns the list of recipient info parameters.
 String getTransport()
          Returns the transport protocol name.
 void setParameters(Series<Parameter> parameters)
          Sets the list of recipient info parameters.
 void setTransport(String transport)
          Sets the transport protocol name.
 
Methods inherited from class org.restlet.data.RecipientInfo
getComment, getName, getProtocol, setComment, setName, setProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipRecipientInfo

public SipRecipientInfo()
Constructor.


SipRecipientInfo

public SipRecipientInfo(Protocol protocol,
                        String name,
                        String agent)
Constructor.

Parameters:
protocol - The protocol used to communicate with the recipient.
name - The host name and port number or a pseudonym.
agent - The software agent.

SipRecipientInfo

public SipRecipientInfo(Protocol protocol,
                        String transport,
                        String name,
                        String agent)
Constructor.

Parameters:
protocol - The protocol used to communicate with the recipient.
transport - The transport protocol name.
name - The host name and port number or a pseudonym.
agent - The software agent.
Method Detail

getParameters

public Series<Parameter> getParameters()
Returns the list of recipient info parameters.

Returns:
The list of recipient info parameters.

getTransport

public String getTransport()
Returns the transport protocol name.

Returns:
The transport protocol name.

setParameters

public void setParameters(Series<Parameter> parameters)
Sets the list of recipient info parameters.

Parameters:
parameters - The list of recipient info parameters.

setTransport

public void setTransport(String transport)
Sets the transport protocol name.

Parameters:
transport - The transport protocol name.


Copyright © 2005-2013 Restlet.