org.jboss.errai.otec.client
Class EntitySyncCallback
java.lang.Object
org.jboss.errai.otec.client.EntitySyncCallback
- All Implemented Interfaces:
- MessageCallback
public class EntitySyncCallback
- extends Object
- implements MessageCallback
- Author:
- Mike Brock
Method Summary |
void |
callback(Message message)
Called by the Message Bus every time it processes a message with the
subject this callback is registered for. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntitySyncCallback
public EntitySyncCallback(OTEngine engine,
EntitySyncCompletionCallback<State> callback)
callback
public void callback(Message message)
- Description copied from interface:
MessageCallback
- Called by the Message Bus every time it processes a message with the
subject this callback is registered for.
- Specified by:
callback
in interface MessageCallback
- Parameters:
message
- The message on the bus. Avoid making changes to this object,
because it will continue to be reused by the framework and the
same Message instance will be passed to other callbacks.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.