6 package org.pcmm.gates;
11 * A PacketCable Multimedia Gate is a logical representation of a policy
12 * decision that has been installed on the CMTS. A Gate is used to control
13 * access by a single IP flow to enhanced QoS Services provided by a DOCSIS
14 * cable network. Gates are unidirectional; a single Gate controls access to a
15 * flow in either the upstream or the downstream direction, but not both. For a
16 * bi-directional IP session, two Gates are required, one for upstream and one
17 * for downstream, each identified by a unique GateID. It is important to
18 * recognize that this is a fundamental difference from PacketCable 1.x, in
19 * which a single GateID may reference both an upstream and a downstream Gate.
22 * In PacketCable Multimedia, each Gate has a separate GateID. The Gate defines
30 public interface IPCMMGate {
35 * @return whether this gate is multicast or unicast.
37 boolean isMulticast();
40 * GateID is the handle for the Gate.
43 void setGateID(IGateID gateid);
46 * AMID is the handle that identifies the Application Manager and
50 void setAMID(IAMID iamid);
53 * SubscriberID uniquely identifies the Client for which the policy is being
57 void setSubscriberID(ISubscriberID subscriberID);
60 * (i.e., QoS limits, timers, etc.).
63 void setGateSpec(IGateSpec gateSpec);
66 * Classifier describes the IP flow(s) that will be mapped to the DOCSIS
70 void setClassifier(IClassifier classifier);
73 * Traffic Profile describes the QoS attributes of the Service Flow used to
74 * support the IP flow.
76 void setTrafficProfile(ITrafficProfile profile);
78 void setTransactionID(ITransactionID transactionID);
80 void setError(IPCMMError error);
82 ITransactionID getTransactionID();
85 * GateID is the handle for the Gate.
92 * AMID is the handle that identifies the Application Manager and
95 * @return AMID handle.
100 * SubscriberID uniquely identifies the Client for which the policy is being
103 * @return unique subscriber ID.
105 ISubscriberID getSubscriberID();
108 * (i.e., QoS limits, timers, etc.).
110 * @return gateSpec object.
112 IGateSpec getGateSpec();
115 * Classifier describes the IP flow(s) that will be mapped to the DOCSIS
118 * @return Classifier object.
120 IClassifier getClassifier();
123 * Traffic Profile describes the QoS attributes of the Service Flow used to
124 * support the IP flow.
126 ITrafficProfile getTrafficProfile();
129 * The PacketCable Error object contains information on the type of error that has occurred.
131 IPCMMError getError();
139 // Event Generation Info (optional)
140 // Time-Based Usage Limit (optional)
141 // Volume-Based Usage Limit (optional)
142 // Opaque Data (optional)
144 // SharedResourceID (optional)