public enum InviteReplicationTrigger extends java.lang.Enum<InviteReplicationTrigger>
Enum Constant and Description |
---|
ACK
Indicates that session replication should be initiated when an ACK request for a success (2xx) response for the
original INVITE request is seen on the leg.
|
DISABLED
Indicates that session replication should never be initiated by the leg.
|
INITIAL_REQUEST
Indicates that session replication should be initiated as soon as an initial INVITE request is seen
on the leg.
|
NOOP
Indicates that session replication decision shall not be made by this leg.
|
PROVISIONAL_RESPONSE
Indicates that session replication should be initiated when a dialog creating provisional (18x) response for the
original INVITE request is seen on the leg.
|
RINGING_RESPONSE
Indicates that session replication should be initiated when a ringing (180) response for the
original INVITE request is seen on the leg.
|
SUCCESS_RESPONSE
Indicates that session replication should be initiated when a success (2xx) response for the original INVITE
request is seen on the leg.
|
Modifier and Type | Method and Description |
---|---|
boolean |
occursBefore(InviteReplicationTrigger otherTrigger)
Indicates whether this trigger occurs earlier in the call sequence than the given trigger.
|
static InviteReplicationTrigger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InviteReplicationTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InviteReplicationTrigger DISABLED
public static final InviteReplicationTrigger NOOP
public static final InviteReplicationTrigger INITIAL_REQUEST
public static final InviteReplicationTrigger PROVISIONAL_RESPONSE
public static final InviteReplicationTrigger RINGING_RESPONSE
public static final InviteReplicationTrigger SUCCESS_RESPONSE
public static final InviteReplicationTrigger ACK
public static InviteReplicationTrigger[] values()
for (InviteReplicationTrigger c : InviteReplicationTrigger.values()) System.out.println(c);
public static InviteReplicationTrigger valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean occursBefore(InviteReplicationTrigger otherTrigger)
otherTrigger
- the trigger value to compare this value toCopyright © OpenCloud. All Rights Reserved.