|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Publisher
Interface defining how events are published to interested parties. Implementations are responsible for taking an event and routing it to interested parties.
Method Summary | |
---|---|
void |
close()
Close publisher, includes shutting down any connections, etc. |
void |
initialize(PublisherContext context)
Initialize the publisher. |
void |
publish(WebMessage message)
Publish given message to interested parties. |
Method Detail |
---|
void close() throws PublisherException
PublisherException
- If error closing publisher.void initialize(PublisherContext context) throws PublisherException
context
- - Context in which the publisher is running.
PublisherException
- - if there is initialization error.void publish(WebMessage message) throws PublisherException
message
- Message to be published.
PublisherException
- If there is any error with publishing the exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |