|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QosService
This class provides a set of core functions that service implementations need to satisfy. All services within the system need to conform to this interface.
| Method Summary | |
|---|---|
void |
closeBrokerConnection()
|
void |
connectionInitialized()
|
void |
deregisterConsumer(int consumerId)
Deregister a consumer |
void |
deregisterProducer(int producerId)
This method is used to register producers with the QoS Manager. |
int |
generateConsumerId()
Generates a unique consumer id |
int |
generateProducerId()
Generates a unique producer id |
int |
getEntityId()
Retrieves the entityId of the managed entity |
NBEventGenerator |
getEventGenerator()
|
TDService |
getTDService()
Retrieve the TDS service. |
void |
initializeBrokerCommunications(int entityId,
Properties props,
String commType)
Initializes broker communications based on the properties specified |
void |
onAdvanceOfSyncpoint(int entityId,
int templateId,
long advanceSync)
Called upon the advance of the syncpoint associated with an entity |
void |
onOrderedDelivery(QosEvent qosEvent)
Call upon the ordered delivery of an event |
void |
onReliableDelivery(QosEvent qosEvent,
RdArchivalServiceNotification archNotification)
Called upon the reliable delivery of an event |
void |
processReceivedEvent(NBEvent nbEvent)
Processes a received event |
void |
publishEvent(NBEvent nbEvent,
ProducerConstraints producerConstraints,
int producerId)
Publish an event for a producer based on the specified constraints |
long |
recoverEntity(int conducerId,
int entityId,
int templateId,
boolean isPublisher)
Recover |
void |
registerConsumer(int consumerId,
EventConsumer consumer)
This method registers a consumer with the Qos manager |
void |
registerProducer(int producerId,
EventProducer producer)
This method is used to register producers with the QoS Manager. |
void |
restartRtspServices()
Restart Buffering and TDS services. |
void |
subscribeTo(Profile profile,
ConsumerConstraints consumerConstraints,
int consumerId)
Subscribe to a profile based on the specified consumer constraints |
void |
terminateServices()
Terminate services that are currently running within the JVM |
void |
unsubscribe(Profile profile)
Unsubscribe from a profile |
| Methods inherited from interface cgl.narada.service.Service |
|---|
deregisterServiceExceptionListener, deregisterServiceNotificationListener, getEventTypesHandled, getServiceDescription, getServicesPerformed, handleEvent, isStarted, isStopped, loadService, performService, registerServiceExceptionListener, registerServiceNotificationListener, servicePerformed, startService, stopService |
| Method Detail |
|---|
TDService getTDService()
void restartRtspServices()
void connectionInitialized()
void initializeBrokerCommunications(int entityId,
Properties props,
String commType)
throws ServiceException
ServiceExceptionint getEntityId()
NBEventGenerator getEventGenerator()
void processReceivedEvent(NBEvent nbEvent)
void onReliableDelivery(QosEvent qosEvent,
RdArchivalServiceNotification archNotification)
void onAdvanceOfSyncpoint(int entityId,
int templateId,
long advanceSync)
void onOrderedDelivery(QosEvent qosEvent)
int generateConsumerId()
int generateProducerId()
void registerConsumer(int consumerId,
EventConsumer consumer)
void deregisterConsumer(int consumerId)
void registerProducer(int producerId,
EventProducer producer)
void deregisterProducer(int producerId)
void publishEvent(NBEvent nbEvent,
ProducerConstraints producerConstraints,
int producerId)
throws ServiceException
ServiceException
void subscribeTo(Profile profile,
ConsumerConstraints consumerConstraints,
int consumerId)
throws ServiceException
ServiceException
void unsubscribe(Profile profile)
throws ServiceException
ServiceException
long recoverEntity(int conducerId,
int entityId,
int templateId,
boolean isPublisher)
void closeBrokerConnection()
throws ServiceException
ServiceException
void terminateServices()
throws ServiceException
ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||