Errai 3.0.1-SNAPSHOT

org.jboss.errai.otec.client
Class EntitySyncCallback

java.lang.Object
  extended by org.jboss.errai.otec.client.EntitySyncCallback
All Implemented Interfaces:
MessageCallback

public class EntitySyncCallback
extends Object
implements MessageCallback

Author:
Mike Brock

Constructor Summary
EntitySyncCallback(OTEngine engine, EntitySyncCompletionCallback<State> callback)
           
 
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
 

Constructor Detail

EntitySyncCallback

public EntitySyncCallback(OTEngine engine,
                          EntitySyncCompletionCallback<State> callback)
Method Detail

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.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.