Package | Description |
---|---|
org.jboss.aerogear.sync.client |
This package contains interfaces for AeroGear Sync Client API.
|
org.jboss.aerogear.sync.diffmatchpatch |
This package contains classes for the DiffMatchPatch synchronizer core
|
org.jboss.aerogear.sync.diffmatchpatch.client |
This package contains classes for the DiffMatchPatch synchronizer client
|
org.jboss.aerogear.sync.diffmatchpatch.server |
This package contains classes for the DiffMatchPatch synchronizer server
|
org.jboss.aerogear.sync.jsonmergepatch |
This package contains classes for the JSON Merge Patch synchronizer core
|
org.jboss.aerogear.sync.jsonmergepatch.client |
This package contains classes for the JSON Merge Patch synchronizer client
|
org.jboss.aerogear.sync.jsonmergepatch.server |
This package contains classes for the JSON Merge Patch synchronizer server
|
org.jboss.aerogear.sync.jsonpatch |
This package contains classes for the JSON Patch synchronizer core
|
org.jboss.aerogear.sync.jsonpatch.client |
This package contains classes for the JSON Patch synchronizer client
|
org.jboss.aerogear.sync.jsonpatch.server |
This package contains classes for the JSON Patch synchronizer server
|
org.jboss.aerogear.sync.server |
This package contains interfaces for AeroGear Sync Server API.
|
org.jboss.aerogear.sync.server.gcm |
This package contains Google Cloud Messaging classes for usage with AeroGear Sync Server.
|
org.jboss.aerogear.sync.server.netty |
This package contains Netty Servers for AeroGear Sync.
|
Modifier and Type | Method and Description |
---|---|
PatchMessage<S> |
ClientSyncEngine.createPatchMessage(String documentId,
String clientId,
Queue<S> edits)
Creates a new
PatchMessage with the with the type of Edit that this
synchronizer can handle. |
PatchMessage<S> |
ClientSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<S> edits)
Creates a new
PatchMessage with the with the type of Edit that this
synchronizer can handle. |
PatchMessage<S> |
ClientSyncEngine.diff(ClientDocument<T> document)
Returns an
PatchMessage which contains a diff against the engine's stored
shadow document and the passed-in document. |
PatchMessage<S> |
ClientSyncEngine.patchMessageFromJson(String json)
Creates a {link PatchMessage} by parsing the passed-in json.
|
PatchMessage<S> |
ClientSynchronizer.patchMessageFromJson(String json)
Creates a {link PatchMessage} by parsing the passed-in json.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientSyncEngine.patch(PatchMessage<S> patchMessage)
Patches the client side shadow with updates (
PatchMessage ) from the server. |
Modifier and Type | Class and Description |
---|---|
class |
DiffMatchPatchMessage |
Modifier and Type | Method and Description |
---|---|
PatchMessage<DiffMatchPatchEdit> |
DiffMatchPatchClientSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<DiffMatchPatchEdit> edits) |
PatchMessage<DiffMatchPatchEdit> |
DiffMatchPatchClientSynchronizer.patchMessageFromJson(String json) |
Modifier and Type | Method and Description |
---|---|
PatchMessage<DiffMatchPatchEdit> |
DiffMatchPatchServerSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<DiffMatchPatchEdit> edits) |
PatchMessage<DiffMatchPatchEdit> |
DiffMatchPatchServerSynchronizer.patchMessageFromJson(String json) |
Modifier and Type | Class and Description |
---|---|
class |
JsonMergePatchMessage |
Modifier and Type | Method and Description |
---|---|
PatchMessage<JsonMergePatchEdit> |
JsonMergePatchClientSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<JsonMergePatchEdit> edits) |
PatchMessage<JsonMergePatchEdit> |
JsonMergePatchClientSynchronizer.patchMessageFromJson(String json) |
Modifier and Type | Method and Description |
---|---|
PatchMessage<JsonMergePatchEdit> |
JsonMergePatchServerSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<JsonMergePatchEdit> edits) |
PatchMessage<JsonMergePatchEdit> |
JsonMergePatchServerSynchronizer.patchMessageFromJson(String json) |
Modifier and Type | Class and Description |
---|---|
class |
JsonPatchMessage |
Modifier and Type | Method and Description |
---|---|
PatchMessage<JsonPatchEdit> |
JsonPatchClientSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<JsonPatchEdit> edits) |
PatchMessage<JsonPatchEdit> |
JsonPatchClientSynchronizer.patchMessageFromJson(String json) |
Modifier and Type | Method and Description |
---|---|
PatchMessage<JsonPatchEdit> |
JsonPatchServerSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<JsonPatchEdit> edits) |
PatchMessage<JsonPatchEdit> |
JsonPatchServerSynchronizer.patchMessageFromJson(String json) |
Modifier and Type | Method and Description |
---|---|
PatchMessage<S> |
ServerSyncEngine.addSubscriber(Subscriber<?> subscriber,
Document<T> document)
Adds a subscriber for the specified document.
|
PatchMessage<S> |
ServerSynchronizer.createPatchMessage(String documentId,
String clientId,
Queue<S> edits)
Creates a new
PatchMessage with the with the type of Edit that this
synchronizer can handle. |
PatchMessage<S> |
ServerSyncEngine.getPatchMessage(String documentId,
String clientId)
Returns the
PatchMessage for the specified documentId and clientId. |
PatchMessage<S> |
ServerSyncEngine.patch(PatchMessage<S> patchMessage)
Performs the server side patching for a specific client.
|
PatchMessage<S> |
ServerSyncEngine.patchMessageFromJson(String json)
Creates a {link PatchMessage} by parsing the passed-in json.
|
PatchMessage<S> |
ServerSynchronizer.patchMessageFromJson(String json)
Creates a {link PatchMessage} by parsing the passed-in json.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerSyncEngine.notifySubscribers(PatchMessage<S> patchMessage)
Performs the server side patching for a specific client and updates
all subscribers to the patched document.
|
PatchMessage<S> |
ServerSyncEngine.patch(PatchMessage<S> patchMessage)
Performs the server side patching for a specific client.
|
void |
Subscriber.patched(PatchMessage<?> patchMessage)
Is called when this subscribers underlying document has been patched, allowing
it to handle the
PatchMessage . |
Modifier and Type | Method and Description |
---|---|
void |
GcmSubscriber.patched(PatchMessage<?> patchMessage) |
Modifier and Type | Method and Description |
---|---|
void |
NettySubscriber.patched(PatchMessage<?> patchMessage) |
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.