|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.qos.impl.QosEventImpl
public class QosEventImpl
An implementation of the the Qos Event.
| Constructor Summary | |
|---|---|
QosEventImpl(NBEvent nbEvent)
|
|
QosEventImpl(NBEvent nbEvent,
ProducerConstraints producerConstraints)
|
|
| Method Summary | |
|---|---|
void |
addConsumerConstraints(ConsumerConstraints _consumerConstraints)
Add consumer constraints associated with this event. |
EventID |
getEventId()
Returns the event id associated with the encapsulated event |
NBEvent |
getNBEvent()
Returns the encapsulated event |
int |
getNumberofConsumerConstraints()
Returns the number of pending consumer constraints |
ConsumerConstraints[] |
getPendingConsumerConstraints()
Return pending consumer constraints |
ProducerConstraints |
getProducerConstraints()
Return the producer constraints |
QosIdentifiers |
getQosIdentifiers()
Indicates the current processing state of this event |
ConsumerConstraints |
getSatisfiedConsumerConstraints()
If there are any consumer constraints that have been satisfied, based on the QosIdentifiers associated with this event -- that constraint will be returned. |
int |
getServiceToBeRoutedTo()
This method returns the service which the event must be routed to for further processing. |
boolean |
hasConsumerConstraints()
Indicates if there are any consumer constraints that were specified |
boolean |
hasMultipleConsumerConstraints()
Indicates if the event had multiple consumer constraints that were specified |
boolean |
hasProducerConstraints()
Indicates if there are any producer constraints that were specified |
boolean |
hasSatisfiedAllConstraints()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QosEventImpl(NBEvent nbEvent)
public QosEventImpl(NBEvent nbEvent,
ProducerConstraints producerConstraints)
| Method Detail |
|---|
public EventID getEventId()
getEventId in interface QosEventpublic NBEvent getNBEvent()
getNBEvent in interface QosEventpublic boolean hasProducerConstraints()
hasProducerConstraints in interface QosEventpublic ProducerConstraints getProducerConstraints()
getProducerConstraints in interface QosEventpublic QosIdentifiers getQosIdentifiers()
getQosIdentifiers in interface QosEventpublic boolean hasConsumerConstraints()
hasConsumerConstraints in interface QosEventpublic int getNumberofConsumerConstraints()
getNumberofConsumerConstraints in interface QosEventpublic boolean hasMultipleConsumerConstraints()
hasMultipleConsumerConstraints in interface QosEventpublic void addConsumerConstraints(ConsumerConstraints _consumerConstraints)
addConsumerConstraints in interface QosEventpublic boolean hasSatisfiedAllConstraints()
public ConsumerConstraints getSatisfiedConsumerConstraints()
getSatisfiedConsumerConstraints in interface QosEventpublic int getServiceToBeRoutedTo()
getServiceToBeRoutedTo in interface QosEventpublic ConsumerConstraints[] getPendingConsumerConstraints()
getPendingConsumerConstraints in interface QosEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||