JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000

jain.protocol.ip.mgcp.message.parms
Class QuarantineHandling

java.lang.Object
  |
  +--jain.protocol.ip.mgcp.message.parms.QuarantineHandling
All Implemented Interfaces:
java.io.Serializable

public final class QuarantineHandling
extends java.lang.Object
implements java.io.Serializable

Specifies the handling of "quarantine" events by the Media Gateway. These are events that have been detected by the Gateway before the arrival of the NotificationRequest in which this quarantine handling specification appears, but that have not yet been sent in a Notify to the Call Agent.

See Also:
NotificationRequest, Notify, Serialized Form

Field Summary
static int DISCARD
          Signifies that quarantined events are to be discarded.
static QuarantineHandling DiscardLoop
          Encapsulates the DISCARD and LOOP constants.
static QuarantineHandling DiscardStep
          Encapsulates the DISCARD and STEP constants.
static int LOOP
          Signifies that multiple notifications are allowed.
static int PROCESS
          Signifies that quarantined events are to be processed.
static QuarantineHandling ProcessLoop
          Encapsulates the PROCESS and LOOP constants.
static QuarantineHandling ProcessStep
          Encapsulates the PROCESS and STEP constants.
static int STEP
          Signifies that at most one notification is expected.
 
Method Summary
 int getNotificationConstraint()
          Gets the constraint on the number of notifications allowed (STEP or LOOP).
 int getTreatment()
          Gets the treatment of quarantined events (PROCESS or DISCARD).
 java.lang.String toString()
          Returns a string of the form "<loopControl>,<processControl>".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DISCARD

public static final int DISCARD
Signifies that quarantined events are to be discarded.

DiscardLoop

public static final QuarantineHandling DiscardLoop
Encapsulates the DISCARD and LOOP constants.

DiscardStep

public static final QuarantineHandling DiscardStep
Encapsulates the DISCARD and STEP constants.

LOOP

public static final int LOOP
Signifies that multiple notifications are allowed.

PROCESS

public static final int PROCESS
Signifies that quarantined events are to be processed.

ProcessLoop

public static final QuarantineHandling ProcessLoop
Encapsulates the PROCESS and LOOP constants.

ProcessStep

public static final QuarantineHandling ProcessStep
Encapsulates the PROCESS and STEP constants.

STEP

public static final int STEP
Signifies that at most one notification is expected.
Method Detail

getNotificationConstraint

public int getNotificationConstraint()
Gets the constraint on the number of notifications allowed (STEP or LOOP).
Returns:
STEP or LOOP.

getTreatment

public int getTreatment()
Gets the treatment of quarantined events (PROCESS or DISCARD).
Returns:
PROCESS or DISCARD.

toString

public java.lang.String toString()
Returns a string of the form "<loopControl>,<processControl>".
Overrides:
toString in class java.lang.Object

JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000

Copyright © 2000 Sun Microsystems, Inc.