|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PACK service allows application to customize the flow-control policies.
Method Summary | |
void |
attachPublisher(Id pubId,
Publisher publisher)
Attach a PACK publisher to the service. |
void |
attachSubscriber(Id subId,
Subscriber subscriber)
Attach a PACK subscriber to the service. |
void |
detachPublisher(Id pubId)
Detach a PACK publisher from the service. |
void |
detachSubscriber(Id subId)
Detach a PACK subscriber from the service. |
Guid |
makeGuid(Id id)
Return a global unique ID. |
void |
publish(Id pubId,
Event evt)
Publish an event to all subscribers. |
void |
subscribe(Id pubId,
Id subId,
java.lang.Object policy)
Make a subscription to a PACK publisher. |
Methods inherited from interface solar.service.Service |
getName, getServiceManager, handleDispatchUnit, hasInited, init, initDependents, setName, setServiceManager, start, stop |
Methods inherited from interface solar.api.EventHandler |
handleEvent |
Methods inherited from interface solar.api.RequestHandler |
handleRequest |
Method Detail |
public void attachPublisher(Id pubId, Publisher publisher) throws PackException
PackException
public void detachPublisher(Id pubId) throws PackException
PackException
public void attachSubscriber(Id subId, Subscriber subscriber) throws PackException
PackException
public void detachSubscriber(Id subId) throws PackException
PackException
public void subscribe(Id pubId, Id subId, java.lang.Object policy) throws PackException
PackException
public void publish(Id pubId, Event evt) throws PackException
PackException
public Guid makeGuid(Id id)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |