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