|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.qos.impl.QosServiceImpl
public class QosServiceImpl
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.
| Constructor Summary | |
|---|---|
QosServiceImpl(ServiceProperties serviceProperties)
|
|
| Method Summary | |
|---|---|
void |
closeBrokerConnection()
|
void |
connectionInitialized(boolean registrationSuccessful)
|
void |
deregisterConsumer(int consumerId)
|
void |
deregisterProducer(int producerId)
This method is used to register producers with the QoS Manager. |
int |
generateConstraintId()
|
int |
generateConsumerId()
|
int |
generateProducerId()
|
int |
getEntityId()
|
NBEventGenerator |
getEventGenerator()
|
FragmentationService |
getFragmentationService()
|
EventConsumerImpl |
getRecoveringConsumer(long recoveryId)
|
EventProducerImpl |
getRecoveringProducer(long recoveryId)
|
ServiceProperties |
getServiceProperties()
|
TDService |
getTDService()
|
boolean |
hasPendingTransfers()
|
void |
initializeBrokerCommunications(int entityId,
Properties props,
String commType)
|
void |
onAdvanceOfSyncpoint(int entityId,
int templateId,
long advanceSync)
|
void |
onOrderedDelivery(QosEvent qosEvent)
|
void |
onReliableDelivery(QosEvent qosEvent,
RdArchivalServiceNotification archNotification)
|
void |
onTimeOrderedDelivery(QosEvent qosEvent)
|
void |
onTimeSpacedDelivery(QosEvent qosEvent)
|
void |
processConnectionLoss()
|
void |
processReceivedEvent(NBEvent nbEvent)
|
void |
publishEvent(NBEvent nbEvent,
ProducerConstraints producerConstraints,
int producerId)
|
long |
recoverEntity(int conducerId,
int entityId,
int templateId,
boolean isPublisher)
|
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()
|
void |
setConnLossListener(ConnectionLossListener connLossListener)
|
void |
startTdsServices()
|
void |
subscribeTo(Profile profile,
ConsumerConstraints consumerConstraints,
int consumerId)
|
void |
terminateServices()
|
void |
unsubscribe(Profile profile,
int consumerId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QosServiceImpl(ServiceProperties serviceProperties)
| Method Detail |
|---|
public void startTdsServices()
public ServiceProperties getServiceProperties()
public void restartRtspServices()
public TDService getTDService()
public void connectionInitialized(boolean registrationSuccessful)
public void initializeBrokerCommunications(int entityId,
Properties props,
String commType)
throws ServiceException
ServiceException
public void closeBrokerConnection()
throws ServiceException
ServiceExceptionpublic boolean hasPendingTransfers()
public final void setConnLossListener(ConnectionLossListener connLossListener)
public void processConnectionLoss()
public void terminateServices()
throws ServiceException
ServiceExceptionpublic int getEntityId()
public NBEventGenerator getEventGenerator()
public FragmentationService getFragmentationService()
public void processReceivedEvent(NBEvent nbEvent)
public void onReliableDelivery(QosEvent qosEvent,
RdArchivalServiceNotification archNotification)
public void onAdvanceOfSyncpoint(int entityId,
int templateId,
long advanceSync)
public void onOrderedDelivery(QosEvent qosEvent)
public void onTimeOrderedDelivery(QosEvent qosEvent)
public void onTimeSpacedDelivery(QosEvent qosEvent)
public int generateConsumerId()
public int generateProducerId()
public int generateConstraintId()
public void registerConsumer(int consumerId,
EventConsumer consumer)
public void deregisterConsumer(int consumerId)
public void registerProducer(int producerId,
EventProducer producer)
public void deregisterProducer(int producerId)
public void publishEvent(NBEvent nbEvent,
ProducerConstraints producerConstraints,
int producerId)
throws ServiceException
ServiceException
public void subscribeTo(Profile profile,
ConsumerConstraints consumerConstraints,
int consumerId)
throws ServiceException
ServiceException
public void unsubscribe(Profile profile,
int consumerId)
throws ServiceException
ServiceException
public long recoverEntity(int conducerId,
int entityId,
int templateId,
boolean isPublisher)
throws ServiceException
ServiceExceptionpublic EventConsumerImpl getRecoveringConsumer(long recoveryId)
public EventProducerImpl getRecoveringProducer(long recoveryId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||