public class ConversationSendOptions
extends java.lang.Object
This class presents a way to specify the following options on the SEND command:
[INVITE|LAST] [CONFIRM|WAIT]
The various set methods check that only valid combinations of options are allowed.
Constructor and Description |
---|
ConversationSendOptions() |
Modifier and Type | Method and Description |
---|---|
void |
clearAll()
Clear all of the options
|
void |
clearConfirm()
Clear the CONFIRM option
|
void |
clearInvite()
Clear the INVITE option
|
void |
clearLast()
Clear the LAST option
|
void |
clearWait()
Clear the WAIT option
|
boolean |
getConfirm() |
boolean |
getInvite() |
boolean |
getLast() |
boolean |
getWait() |
void |
setConfirm()
Set the CONFIRM option
|
void |
setInvite()
Set the INVITE option
|
void |
setLast()
Set the LAST option
|
void |
setWait()
Set the WAIT option
|
public void clearAll()
public void clearConfirm()
public void clearInvite()
public void clearLast()
public void clearWait()
public boolean getConfirm()
public boolean getInvite()
public boolean getLast()
public boolean getWait()
public void setConfirm() throws InvalidRequestException
InvalidRequestException
- INVREQpublic void setInvite() throws InvalidRequestException
InvalidRequestException
- INVREQpublic void setLast() throws InvalidRequestException
InvalidRequestException
- INVREQpublic void setWait() throws InvalidRequestException
InvalidRequestException
- INVREQ