MessageChannel that maintains a registry of subscribers and invokes
them to handle messages sent through this channel.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the handler was subscribed or false if it
was already subscribed.Register a message handler. |
| public boolean | Returns: true if the handler was un-registered, or false
if was not registered.Un-register a message handler. |
| subscribe | back to summary |
|---|---|
| public boolean subscribe(MessageHandler handler) Register a message handler.
| |
| unsubscribe | back to summary |
|---|---|
| public boolean unsubscribe(MessageHandler handler) Un-register a message handler.
| |