Package com.opencloud.sip.biggroup
Class UpdateTerminationRequest
- java.lang.Object
-
- com.opencloud.sip.biggroup.UpdateTerminationRequest
-
public abstract class UpdateTerminationRequest extends Object
A function for updating a termination request before it is transmitted by the RA. A termination request is a CANCEL or BYE[*] generated by the RA when it needs to cancel a branch of aForkActivity
. The request may be updated with Reason headers or other info that informs the remote endpoint why the branch was terminated.[*] BYEs may be sent on cancelled branches where the 2xx arrived before the CANCEL could be sent.
-
-
Field Summary
Fields Modifier and Type Field Description static UpdateTerminationRequest
NULL
Null object implementation that doesn't modify the request.
-
Constructor Summary
Constructors Constructor Description UpdateTerminationRequest()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract javax.sip.message.Request
apply(javax.sip.message.Request request, TerminationReason reason)
Apply updates to the termination request before it is transmitted.
-
-
-
Field Detail
-
NULL
public static UpdateTerminationRequest NULL
Null object implementation that doesn't modify the request.
-
-
Method Detail
-
apply
public abstract javax.sip.message.Request apply(javax.sip.message.Request request, TerminationReason reason)
Apply updates to the termination request before it is transmitted.- Parameters:
request
- a CANCEL or BYE request generated by the RA to terminate a particular branch.reason
- aTerminationReason
object indicating why the branch is terminated. This may be used to determine the appropriate information to add to the request.- Returns:
- the updated
Request
object.
-
-