Errai 3.0.1-SNAPSHOT

org.jboss.errai.otec.client
Class OTClientEngine

java.lang.Object
  extended by org.jboss.errai.otec.client.AbstractOTEngine
      extended by org.jboss.errai.otec.client.OTClientEngine
All Implemented Interfaces:
OTEngine

public class OTClientEngine
extends AbstractOTEngine

Author:
Christian Sadilek , Mike Brock

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.errai.otec.client.AbstractOTEngine
AbstractOTEngine.DefaultOTOperationsFactory
 
Field Summary
 
Fields inherited from class org.jboss.errai.otec.client.AbstractOTEngine
engineId, entityState, mode, name, peerState
 
Constructor Summary
protected OTClientEngine(PeerState peerState, String name)
           
 
Method Summary
static OTEngine createEngineWithSinglePeer()
           
static OTEngine createEngineWithSinglePeer(String name)
           
 void notifyOperation(OTOperation operation)
           
 boolean receive(String peerId, OTOperation remoteOp)
           
 void start()
           
 void stop(boolean wait)
           
 
Methods inherited from class org.jboss.errai.otec.client.AbstractOTEngine
applyFromRemote, applyLocally, associateEntity, disassociateEntity, getEntityStateSpace, getId, getInitialStateReceiveHandler, getName, getOperationsFactory, getPeerState, notifyRemotes, registerPeer, setMode, syncRemoteEntity, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OTClientEngine

protected OTClientEngine(PeerState peerState,
                         String name)
Method Detail

createEngineWithSinglePeer

public static OTEngine createEngineWithSinglePeer()

createEngineWithSinglePeer

public static OTEngine createEngineWithSinglePeer(String name)

receive

public boolean receive(String peerId,
                       OTOperation remoteOp)

notifyOperation

public void notifyOperation(OTOperation operation)
Specified by:
notifyOperation in interface OTEngine
Overrides:
notifyOperation in class AbstractOTEngine

start

public void start()

stop

public void stop(boolean wait)

Errai 3.0.1-SNAPSHOT

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