public class RequestDispatcherProxy extends Object implements RequestDispatcher
Constructor and Description |
---|
RequestDispatcherProxy() |
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
|
public void dispatchGlobal(Message message) throws Exception
RequestDispatcher
dispatchGlobal
in interface RequestDispatcher
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.public void dispatch(Message message) throws Exception
RequestDispatcher
dispatch
in interface RequestDispatcher
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.