Package com.opencloud.javax.sip.slee
Interface DialogBuilder.Unconfigured
-
- Enclosing interface:
- DialogBuilder
public static interface DialogBuilder.Unconfigured
Represents an unconfigured builder, which requires more information about the dialog before it can be created. The client must call one of the methods on this interface to select aDialogBuilder
, then configure the builder and create the dialog usingDialogBuilder.newDialog()
.DialogActivity d = sleeSipProvider.newDialogBuilder() .outgoing(from, to) .withCallID(callID) .newDialog();
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DialogBuilder
forwarded(net.java.slee.resource.sip.DialogActivity incoming)
Creates a newDialogBuilder
that will create a dialog based on the parameters of an incoming dialog.DialogBuilder
initialTransaction(javax.sip.Transaction t)
Creates a newDialogBuilder
that will create a dialog based on the initial transaction's requestDialogBuilder
outgoing(javax.sip.address.Address from, javax.sip.address.Address to)
Creates a newDialogBuilder
that will create an outgoing dialog using the given local and remote addresses.
-
-
-
Method Detail
-
outgoing
DialogBuilder outgoing(javax.sip.address.Address from, javax.sip.address.Address to)
Creates a newDialogBuilder
that will create an outgoing dialog using the given local and remote addresses.- Returns:
- a new
DialogBuilder
-
initialTransaction
DialogBuilder initialTransaction(javax.sip.Transaction t)
Creates a newDialogBuilder
that will create a dialog based on the initial transaction's request- Parameters:
t
- an initial dialog-creatingClientTransaction
orServerTransaction
- Returns:
- a new
DialogBuilder
-
forwarded
DialogBuilder forwarded(net.java.slee.resource.sip.DialogActivity incoming)
Creates a newDialogBuilder
that will create a dialog based on the parameters of an incoming dialog. By default the new dialog will have the same local and remote party addresses as the incoming dialog, but will use a new Call-ID.- Parameters:
incoming
- the incoming dialog- Returns:
- a new
DialogBuilder
-
-