|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientService
This class provides a set of core functions that are utilized by applications
| Method Summary | |
|---|---|
void |
closeBrokerConnection()
Signoff. |
EventConsumer |
createEventConsumer(NBEventListener listener)
|
EventConsumer |
createEventConsumer(NBEventListener listener,
NBNotificationListener notificationListener)
|
EventProducer |
createEventProducer()
Create an event producer |
EventProducer |
createEventProducer(NBNotificationListener notificationListener)
Create an event producer with the specified NotificationListener |
Profile |
createProfile(int type,
Object subscription)
Creates a profile |
Profile |
createProfile(int type,
String profileId,
Object subscription)
Creates a profile |
ReplayRequest |
createReplayRequest(int templateId,
long[] sequencesToReplay)
Create a repleay request based on the sequences that need to be replayed |
ReplayRequest |
createReplayRequest(int templateId,
long sequenceStart,
long sequenceEnd)
Create a replay request based on the specified range |
ReplayRequest |
createReplayRequest(int templateId,
long sequenceStart,
long sequenceEnd,
Profile[] specifiedConstraints)
Create a replay request based on the specified constraints |
TemplateInfo |
createTemplateInfo(int templateId,
int templateType,
Object template)
Creates a template info |
TemplateInfo |
createTemplateInfo(int templateId,
int templateType,
Object template,
Object allEncompassingConstraint)
Creates a template info |
int |
getEntityId()
|
QosServiceImpl |
getQosServiceImpl()
|
boolean |
hasPendingTransfers()
|
void |
initializeBrokerCommunications(Properties props,
String commType)
|
boolean |
isInitialized()
|
void |
setCommunicationLossListener(ConnectionLossListener connLossListener)
|
void |
terminateServices()
Terminate services that are currently running within the JVM |
| Method Detail |
|---|
int getEntityId()
void initializeBrokerCommunications(Properties props,
String commType)
throws ServiceException
ServiceExceptionvoid setCommunicationLossListener(ConnectionLossListener connLossListener)
boolean isInitialized()
Profile createProfile(int type,
Object subscription)
throws ServiceException
ServiceException
Profile createProfile(int type,
String profileId,
Object subscription)
throws ServiceException
ServiceExceptionQosServiceImpl getQosServiceImpl()
TemplateInfo createTemplateInfo(int templateId,
int templateType,
Object template)
throws ServiceException
ServiceException
TemplateInfo createTemplateInfo(int templateId,
int templateType,
Object template,
Object allEncompassingConstraint)
throws ServiceException
ServiceException
EventConsumer createEventConsumer(NBEventListener listener)
throws ServiceException
ServiceException
EventConsumer createEventConsumer(NBEventListener listener,
NBNotificationListener notificationListener)
throws ServiceException
ServiceException
EventProducer createEventProducer()
throws ServiceException
ServiceException
EventProducer createEventProducer(NBNotificationListener notificationListener)
throws ServiceException
ServiceException
ReplayRequest createReplayRequest(int templateId,
long[] sequencesToReplay)
throws ServiceException
ServiceException
ReplayRequest createReplayRequest(int templateId,
long sequenceStart,
long sequenceEnd)
throws ServiceException
ServiceException
ReplayRequest createReplayRequest(int templateId,
long sequenceStart,
long sequenceEnd,
Profile[] specifiedConstraints)
throws ServiceException
ServiceException
void closeBrokerConnection()
throws ServiceException
ServiceException
boolean hasPendingTransfers()
throws ServiceException
ServiceException
void terminateServices()
throws ServiceException
ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||