public interface RequestDispatcher
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Message message)
Dispatches a message to a single receiver on the bus
|
void |
dispatchGlobal(Message message)
Dispatches a message to all global listeners on the bus
|
void dispatchGlobal(Message message) throws Exception
message
- - a message to dispatch globallyException
- throws an InterruptedException specifically, if the thread is interrupted while trying
to offer a message to the worker queue. This isn't specifically exposed here due
to the fact that InterruptedException is not exposed to the GWT client library.void dispatch(Message message) throws Exception
message
- - a message to dispatchException
- throws an InterruptedException specifically, if the thread is interrupted while trying
to offer a message to the worker queue. This isn't specifically exposed here due
to the fact that InterruptedException is not exposed to the GWT client library.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.