org.jboss.errai.bus.server.service
Class RequestDispatcherProxy
java.lang.Object
org.jboss.errai.bus.server.service.RequestDispatcherProxy
- All Implemented Interfaces:
- RequestDispatcher
public class RequestDispatcherProxy
- extends Object
- implements RequestDispatcher
- Author:
- Mike Brock
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestDispatcherProxy
public RequestDispatcherProxy()
dispatchGlobal
public void dispatchGlobal(Message message)
throws Exception
- Description copied from interface:
RequestDispatcher
- Dispatches a message to all global listeners on the bus
- Specified by:
dispatchGlobal
in interface RequestDispatcher
- Parameters:
message
- - a message to dispatch globally
- Throws:
Exception
- 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.
dispatch
public void dispatch(Message message)
throws Exception
- Description copied from interface:
RequestDispatcher
- Dispatches a message to a single receiver on the bus
- Specified by:
dispatch
in interface RequestDispatcher
- Parameters:
message
- - a message to dispatch
- Throws:
Exception
- 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-2014 JBoss, a division of Red Hat. All Rights Reserved.