public class OTClientEngine extends AbstractOTEngine
AbstractOTEngine.DefaultOTOperationsFactory
engineId, entityState, mode, name, peerState
Modifier | Constructor and Description |
---|---|
protected |
OTClientEngine(PeerState peerState,
String name) |
Modifier and Type | Method and Description |
---|---|
static OTEngine |
createEngineWithSinglePeer() |
static OTEngine |
createEngineWithSinglePeer(String name) |
void |
notifyOperation(OTOperation operation) |
boolean |
receive(String peerId,
OTOperation remoteOp) |
void |
start() |
void |
stop(boolean wait) |
applyFromRemote, applyLocally, associateEntity, disassociateEntity, getEntityStateSpace, getId, getInitialStateReceiveHandler, getName, getOperationsFactory, getPeerState, notifyRemotes, registerPeer, setMode, syncRemoteEntity, toString
public static OTEngine createEngineWithSinglePeer()
public boolean receive(String peerId, OTOperation remoteOp)
public void notifyOperation(OTOperation operation)
notifyOperation
in interface OTEngine
notifyOperation
in class AbstractOTEngine
public void start()
public void stop(boolean wait)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.