Skip navigation links
AeroGear Data Synchronization Parent 0.0.1-SNAPSHOT
A B C D E F G H I J L M N O P R S T U V W 

A

add(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
addContent(T, ObjectNode, String) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Adds the content of the passed in content to the ObjectNode.
addContent(String, ObjectNode, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
addContent(JsonNode, ObjectNode, String) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
addContent(JsonNode, ObjectNode, String) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
addDocument(ClientDocument<T>) - Method in class org.jboss.aerogear.sync.client.ClientSyncEngine
Adds a new document to this sync engine.
addDocument(ClientDocument<T>) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient
 
addSubscriber(Subscriber<?>, Document<T>) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Adds a subscriber for the specified document.
asJson() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
asJson() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
asJson() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
asJson() - Method in interface org.jboss.aerogear.sync.Payload
Transforms this payload to a JSON String representation.
asJsonNode(String) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.JsonMapper
Return a JsonNode for the passed in JSON string.
asJsonNode(String) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMapper
Return a JsonNode for the passed in JSON string.
asJsonNode(String) - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonMapper
Return a JsonNode for the passed in JSON string.

B

BackupShadowDocument<T> - Interface in org.jboss.aerogear.sync
A backup of the ShadowDocument.
build() - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
build() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
 
build() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
build() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit.Builder
 
build() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit.Builder
 
build() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
Builder(String) - Constructor for class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
builder() - Static method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
Builder() - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
 
Builder(String) - Constructor for class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 

C

channel() - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
channel() - Method in class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
channel() - Method in interface org.jboss.aerogear.sync.server.Subscriber
The channel that this subscriber uses to communicate.
channelActive(ChannelHandlerContext) - Method in class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
chars1 - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.LinesToCharsResult
 
chars2 - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.LinesToCharsResult
 
checksum(String) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
checksum() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
checksum() - Method in interface org.jboss.aerogear.sync.Edit
A checksum of the opposing sides shadow document.
checksum(JsonNode) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
checksum(String) - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit.Builder
 
checksum() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
checksum(JsonNode) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
checksum(JsonNode) - Static method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
checksum(String) - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit.Builder
 
checksum() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
checksum(JsonNode) - Static method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
ClientDataStore<T,S extends Edit<? extends Diff>> - Interface in org.jboss.aerogear.sync.client
A client side DataStore implementation is responsible for storing and serving data for a Differential Synchronization implementation.
clientDiff(ShadowDocument<T>, ClientDocument<T>) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Produces a Edit containing the changes between updated ShadowDocument and the ClientDocument.
clientDiff(ShadowDocument<String>, ClientDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
clientDiff(Document<String>, ShadowDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
clientDiff(ShadowDocument<JsonNode>, ClientDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
clientDiff(Document<JsonNode>, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
clientDiff(ShadowDocument<JsonNode>, ClientDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
clientDiff(Document<JsonNode>, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
clientDiff(Document<T>, ShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
Is called to produce an Edit of changes coming from a client.
ClientDocument<T> - Interface in org.jboss.aerogear.sync
A client document is used on both the server and client side and associates a client identifier with a Document.
clientId() - Method in interface org.jboss.aerogear.sync.ClientDocument
Identifies a client or session to which this Document belongs.
clientId() - Method in class org.jboss.aerogear.sync.DefaultClientDocument
 
clientId() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
clientId() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
clientId() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
clientId() - Method in interface org.jboss.aerogear.sync.PatchMessage
Identifies the client that this edit instance belongs to.
clientId() - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
clientId() - Method in class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
clientId() - Method in interface org.jboss.aerogear.sync.server.Subscriber
The client identifier of this subscriber
ClientInMemoryDataStore<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.client
An in-memory implementation of ClientDataStore.
ClientInMemoryDataStore() - Constructor for class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
ClientSyncEngine<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.client
The ClientSyncEngine is responsible for driving client side of the differential synchronization algorithm.
ClientSyncEngine(ClientSynchronizer<T, S>, ClientDataStore<T, S>) - Constructor for class org.jboss.aerogear.sync.client.ClientSyncEngine
 
ClientSynchronizer<T,S extends Edit<? extends Diff>> - Interface in org.jboss.aerogear.sync.client
An instance of this class will be able to handle tasks needed to implement Differential Synchronization for a specific type of documents.
clientVersion() - Method in class org.jboss.aerogear.sync.DefaultShadowDocument
 
clientVersion(long) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
clientVersion() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
clientVersion() - Method in interface org.jboss.aerogear.sync.Edit
The client version that edit is related to.
clientVersion(long) - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit.Builder
 
clientVersion() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
clientVersion(long) - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit.Builder
 
clientVersion() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
clientVersion() - Method in interface org.jboss.aerogear.sync.ShadowDocument
Represents the latest client version that this shadow document was based on.
ConfigReader - Class in org.jboss.aerogear.sync.server.netty
Utility to read a JSON config files.
connect() - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient
 
connect() - Method in class org.jboss.aerogear.sync.server.netty.GcmHandler
 
connectionDraining - Variable in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
Indicates whether the connection is in draining state, which means that it will not accept any new downstream messages.
connectSubscriber(Subscriber<?>, String) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Connects a subscriber to an already existing document.
content() - Method in class org.jboss.aerogear.sync.DefaultDocument
 
content() - Method in interface org.jboss.aerogear.sync.Document
The content of a document.
createJsonAck(String, String) - Static method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
Creates a JSON encoded ACK message for an upstream message received from an application.
createJsonMessage(String, String, String) - Static method in class org.jboss.aerogear.sync.server.gcm.GcmMessages
Creates a JSON encoded GCM message.
createJsonMessage(String, String, String, String, Long, Boolean) - Static method in class org.jboss.aerogear.sync.server.gcm.GcmMessages
Creates a JSON encoded GCM message.
createPatchMessage(String, String, Queue<S>) - Method in class org.jboss.aerogear.sync.client.ClientSyncEngine
Creates a new PatchMessage with the with the type of Edit that this synchronizer can handle.
createPatchMessage(String, String, Queue<S>) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Creates a new PatchMessage with the with the type of Edit that this synchronizer can handle.
createPatchMessage(String, String, Queue<DiffMatchPatchEdit>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
createPatchMessage(String, String, Queue<DiffMatchPatchEdit>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
createPatchMessage(String, String, Queue<JsonMergePatchEdit>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
createPatchMessage(String, String, Queue<JsonMergePatchEdit>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
createPatchMessage(String, String, Queue<JsonPatchEdit>) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
createPatchMessage(String, String, Queue<JsonPatchEdit>) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
createPatchMessage(String, String, Queue<S>) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
Creates a new PatchMessage with the with the type of Edit that this synchronizer can handle.

D

DataStore<T,S extends Edit<? extends Diff>> - Interface in org.jboss.aerogear.sync
A DataStore implementation is responsible for storing and serving data for a Differential Synchronization implementation.
DefaultBackupShadowDocument<T> - Class in org.jboss.aerogear.sync
 
DefaultBackupShadowDocument(long, ShadowDocument<T>) - Constructor for class org.jboss.aerogear.sync.DefaultBackupShadowDocument
 
DefaultClientDocument<T> - Class in org.jboss.aerogear.sync
 
DefaultClientDocument(String, String, T) - Constructor for class org.jboss.aerogear.sync.DefaultClientDocument
 
DefaultDocument<T> - Class in org.jboss.aerogear.sync
 
DefaultDocument(String, T) - Constructor for class org.jboss.aerogear.sync.DefaultDocument
 
DefaultShadowDocument<T> - Class in org.jboss.aerogear.sync
 
DefaultShadowDocument(long, long, ClientDocument<T>) - Constructor for class org.jboss.aerogear.sync.DefaultShadowDocument
 
delete(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
diff(ClientDocument<T>) - Method in class org.jboss.aerogear.sync.client.ClientSyncEngine
Returns an PatchMessage which contains a diff against the engine's stored shadow document and the passed-in document.
Diff - Interface in org.jboss.aerogear.sync
A marker interface that represents a diff or two versions of a document/object.
diff(DiffMatchPatch.Operation, String) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
diff(DiffMatchPatchDiff) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
diff() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
diff() - Method in interface org.jboss.aerogear.sync.Edit
The Diff for this edit.
diff() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
diff() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
diff(String, String) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Performs the server side diff which is performed when the server document is modified.
diff_cleanupSemantic(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Reduce the number of edits by eliminating semantically trivial equalities.
diffAndSend(ClientDocument<T>) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient
 
diffBisect(String, String, long) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.
diffCharsToLines(LinkedList<DiffMatchPatch.Diff>, List<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Rehydrate the text in a diff from a string of line hashes to real lines of text.
diffCleanupEfficiency(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Reduce the number of edits by eliminating operationally trivial equalities.
diffCleanupMerge(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Reorder and merge like edit sections.
diffCleanupSemanticLossLess(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Look for single edits surrounded on both sides by equalities which can be shifted sideways to align the edit to a word boundary.
diffCommonOverlap(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Determine if the suffix of one string is the prefix of another.
diffCommonPrefix(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Determine the common prefix of two strings
diffCommonSuffix(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Determine the common suffix of two strings
diffEditCost(int) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Specifies the cost of an empty edit operation in terms of edit characters.
diffEditCost() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
diffFromDelta(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.
diffHalfMatch(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Do the two texts share a substring which is at least half the length of the longer text?
diffLevenshtein(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Compute the Levenshtein matchDistance; the number of inserted, deleted or substituted characters.
diffLinesToChars(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Split two texts into a list of strings.
diffMain(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Find the differences between two texts.
diffMain(String, String, boolean) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Find the differences between two texts.
DiffMatchPatch - Class in org.jboss.aerogear.sync.diffmatchpatch
This class was taken from https://code.google.com/p/java-diff-utils/source/checkout and slightly modified to follow some java coding styles.
DiffMatchPatch.Builder - Class in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatch.Diff - Class in org.jboss.aerogear.sync.diffmatchpatch
Class representing one diff operation.
DiffMatchPatch.LinesToCharsResult - Class in org.jboss.aerogear.sync.diffmatchpatch
Internal class for returning results from diffLinesToChars().
DiffMatchPatch.Operation - Enum in org.jboss.aerogear.sync.diffmatchpatch
The data structure representing a diff is a Linked list of Diff objects: {Diff(Operation.DELETE, "Hello"), Diff(Operation.INSERT, "Goodbye"), Diff(Operation.EQUAL, " world.")}
DiffMatchPatch.Patch - Class in org.jboss.aerogear.sync.diffmatchpatch
Class representing one patch operation.
DiffMatchPatchClientSynchronizer - Class in org.jboss.aerogear.sync.diffmatchpatch.client
A ClientSynchronizer implementation that can handle text documents.
DiffMatchPatchClientSynchronizer() - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
DiffMatchPatchClientSynchronizer(DiffMatchPatch) - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
DiffMatchPatchDiff - Class in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatchDiff(DiffMatchPatchDiff.Operation, String) - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff
 
DiffMatchPatchDiff.Operation - Enum in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatchDiffs - Class in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatchDiffs(LinkedList<DiffMatchPatchDiff>) - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiffs
 
DiffMatchPatchEdit - Class in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatchEdit.Builder - Class in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatchMessage - Class in org.jboss.aerogear.sync.diffmatchpatch
 
DiffMatchPatchMessage(String, String, Queue<DiffMatchPatchEdit>) - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
DiffMatchPatchServerSynchronizer - Class in org.jboss.aerogear.sync.diffmatchpatch.server
A ServerSynchronizer implementation that can handle text documents.
DiffMatchPatchServerSynchronizer() - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
DiffMatchPatchServerSynchronizer(DiffMatchPatch) - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
DiffMatchPatchSyncServer - Class in org.jboss.aerogear.sync.server.netty
A Netty based WebSocket server that is able to handle differential synchronization edits.
DiffMatchPatchSyncServer() - Constructor for class org.jboss.aerogear.sync.server.netty.DiffMatchPatchSyncServer
 
diffPretyyHtml(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Convert a Diff list into a pretty HTML report.
diffs - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
 
diffs() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiffs
 
diffs(LinkedList<DiffMatchPatchDiff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
DiffSyncClient<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.client.netty
A Netty based WebSocket client for AeroGear Diff Sync Server.
DiffSyncClient.Builder<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.client.netty
 
DiffSyncClientHandler<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.client.netty
A Netty handler for WebSocketFrames.
DiffSyncClientHandler(ClientSyncEngine<T, S>) - Constructor for class org.jboss.aerogear.sync.client.netty.DiffSyncClientHandler
 
DiffSyncHandler<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.server.netty
 
DiffSyncHandler(ServerSyncEngine<T, S>) - Constructor for class org.jboss.aerogear.sync.server.netty.DiffSyncHandler
 
diffText1(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Compute and return the source text (all equalities and deletions).
diffText2(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Compute and return the destination text (all equalities and insertions).
diffTimeout() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
diffToDelta(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Crush the diff into an encoded string which describes the operations required to transform text1 into text2.
diffXIndex(LinkedList<DiffMatchPatch.Diff>, int) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
loc is a location in text1, compute and return the equivalent location in text2.
disconnect() - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient
 
document() - Method in class org.jboss.aerogear.sync.DefaultShadowDocument
 
Document<T> - Interface in org.jboss.aerogear.sync
Represents the server side version of a document
document() - Method in interface org.jboss.aerogear.sync.ShadowDocument
The document itself.
documentFromJson(JsonNode) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
documentFromJson(JsonNode) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
documentFromJson(JsonNode) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
documentFromJson(JsonNode) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Converts the JsonNode into a Document instance.
documentFromJson(JsonNode) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
Converts the JsonNode into a Document instance.
documentId() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
documentId() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
documentId() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
documentId() - Method in interface org.jboss.aerogear.sync.PatchMessage
Identifies the document that this edit is related to
documentToJson(ClientDocument<T>) - Method in class org.jboss.aerogear.sync.client.ClientSyncEngine
Converts the ClientDocument into a JSON String representation.

E

Edit<T extends Diff> - Interface in org.jboss.aerogear.sync
Represents a single edit.
edits() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
edits() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
edits() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
edits() - Method in interface org.jboss.aerogear.sync.PatchMessage
The individual Edits.
equals(Object) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Diff
Is this Diff equivalent to another Diff?
equals(Object) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff
 
equals(Object) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiffs
 
equals(Object) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
equals(Object) - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
equals(Object) - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
equals(Object) - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
equals(Object) - Method in class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClientHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.sync.server.netty.DiffSyncHandler
 

F

forHost(String) - Static method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient
 
from(String) - Static method in enum org.jboss.aerogear.sync.server.MessageType
 
fromJson(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
fromJson(String, Class<T>) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.JsonMapper
Transforms from JSON to the type specified.
fromJson(String, Class<T>) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMapper
Transforms from JSON to the type specified.
fromJson(String) - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
fromJson(String, Class<T>) - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonMapper
Transforms from JSON to the type specified.
fromJson(String) - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
fromJson(String) - Method in interface org.jboss.aerogear.sync.Payload
Transforms the passed in String JSON representation into this payloads type.

G

gcmApiKey(String) - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
gcmApiKey() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 
GcmDiffSyncHandler<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.server.gcm
 
GcmDiffSyncHandler(ServerSyncEngine<T, S>, XMPPConnection) - Constructor for class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
 
gcmEnabled() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
GcmHandler<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.server.netty
 
GcmHandler(StandaloneConfig, ServerSyncEngine<T, S>, ExecutorService) - Constructor for class org.jboss.aerogear.sync.server.netty.GcmHandler
 
gcmHost(String) - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
gcmHost() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 
GcmMessages - Class in org.jboss.aerogear.sync.server.gcm
 
gcmPort(int) - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
gcmPort() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 
gcmSenderId(long) - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
gcmSenderId() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 
GcmSubscriber - Class in org.jboss.aerogear.sync.server.gcm
 
GcmSubscriber(String, String, XMPPConnection) - Constructor for class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
getBackupShadowDocument(String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
getBackupShadowDocument(String, String) - Method in interface org.jboss.aerogear.sync.DataStore
Retrieves the BackupShadowDocument matching the passed-in document documentId.
getBackupShadowDocument(String, String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
getClientDocument(String, String) - Method in interface org.jboss.aerogear.sync.client.ClientDataStore
Retrieves the Document matching the passed-in document documentId.
getClientDocument(String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
getDocument(String) - Method in interface org.jboss.aerogear.sync.server.ServerDataStore
Retrieves the Document matching the passed-in document documentId.
getDocument(String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
getEdits(String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
getEdits(String, String) - Method in interface org.jboss.aerogear.sync.DataStore
Retreives the queue of Edits for the specified document documentId.
getEdits(String, String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
getPatchMessage(String, String) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Returns the PatchMessage for the specified documentId and clientId.
getShadowDocument(String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
getShadowDocument(String, String) - Method in interface org.jboss.aerogear.sync.DataStore
Retrieves the ShadowDocument matching the passed-in document documentId.
getShadowDocument(String, String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
getSubscribers(String) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Returns all the subscribers for the specified document.

H

handleAckReceipt(JsonNode) - Method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
Handles an ACK.
handleControlMessage(JsonNode) - Method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
 
handleNackReceipt(JsonNode) - Method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
Handles a NACK.
handlerAdded(ChannelHandlerContext) - Method in class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.jboss.aerogear.sync.server.netty.GcmHandler
 
handlerRemoved(ChannelHandlerContext) - Method in class org.jboss.aerogear.sync.server.netty.GcmHandler
 
handshakeFuture() - Method in class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
hashCode() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Diff
Create a numeric hash value for a Diff.
hashCode() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff
 
hashCode() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiffs
 
hashCode() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
hashCode() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
hashCode() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
hashCode() - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
hashCode() - Method in class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
host() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 
host(String) - Static method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 

I

id() - Method in class org.jboss.aerogear.sync.DefaultDocument
 
id() - Method in interface org.jboss.aerogear.sync.Document
The identifier for a document.
isGcmEnabled() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 

J

JsonMapper - Class in org.jboss.aerogear.sync.diffmatchpatch
 
JsonMapper - Class in org.jboss.aerogear.sync.jsonmergepatch
 
JsonMapper - Class in org.jboss.aerogear.sync.jsonpatch
 
jsonMergePatch() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchDiff
 
JsonMergePatchClientSynchronizer - Class in org.jboss.aerogear.sync.jsonmergepatch.client
A ServerSynchronizer implementation that can handle text documents.
JsonMergePatchClientSynchronizer() - Constructor for class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
JsonMergePatchDiff - Class in org.jboss.aerogear.sync.jsonmergepatch
 
JsonMergePatchDiff(JsonMergePatch) - Constructor for class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchDiff
 
JsonMergePatchEdit - Class in org.jboss.aerogear.sync.jsonmergepatch
 
JsonMergePatchEdit.Builder - Class in org.jboss.aerogear.sync.jsonmergepatch
 
JsonMergePatchMessage - Class in org.jboss.aerogear.sync.jsonmergepatch
 
JsonMergePatchMessage(String, String, Queue<JsonMergePatchEdit>) - Constructor for class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
JsonMergePatchServerSynchronizer - Class in org.jboss.aerogear.sync.jsonmergepatch.server
A ServerSynchronizer implementation that can handle JsonNode objects.
JsonMergePatchServerSynchronizer() - Constructor for class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
JsonMergePatchSyncServer - Class in org.jboss.aerogear.sync.server.netty
A Netty based WebSocket server that is able to handle differential synchronization edits.
JsonMergePatchSyncServer() - Constructor for class org.jboss.aerogear.sync.server.netty.JsonMergePatchSyncServer
 
jsonPatch() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchDiff
 
JsonPatchClientSynchronizer - Class in org.jboss.aerogear.sync.jsonpatch.client
A ServerSynchronizer implementation that can handle text documents.
JsonPatchClientSynchronizer() - Constructor for class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
JsonPatchDiff - Class in org.jboss.aerogear.sync.jsonpatch
 
JsonPatchDiff(JsonPatch) - Constructor for class org.jboss.aerogear.sync.jsonpatch.JsonPatchDiff
 
JsonPatchEdit - Class in org.jboss.aerogear.sync.jsonpatch
 
JsonPatchEdit.Builder - Class in org.jboss.aerogear.sync.jsonpatch
 
JsonPatchMessage - Class in org.jboss.aerogear.sync.jsonpatch
 
JsonPatchMessage(String, String, Queue<JsonPatchEdit>) - Constructor for class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
JsonPatchServerSynchronizer - Class in org.jboss.aerogear.sync.jsonpatch.server
A ServerSynchronizer implementation that can handle JsonNode objects.
JsonPatchServerSynchronizer() - Constructor for class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
JsonPatchSyncServer - Class in org.jboss.aerogear.sync.server.netty
A Netty based WebSocket server that is able to handle differential synchronization edits.
JsonPatchSyncServer() - Constructor for class org.jboss.aerogear.sync.server.netty.JsonPatchSyncServer
 

L

length1 - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
 
length2 - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
 
lineArray - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.LinesToCharsResult
 
LinesToCharsResult(String, String, List<String>) - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.LinesToCharsResult
 

M

main(String...) - Static method in class org.jboss.aerogear.sync.server.netty.DiffMatchPatchSyncServer
 
main(String...) - Static method in class org.jboss.aerogear.sync.server.netty.JsonMergePatchSyncServer
 
main(String...) - Static method in class org.jboss.aerogear.sync.server.netty.JsonPatchSyncServer
 
matchAlpabet(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Initialise the alphabet for the Bitap algorithm.
matchBitmap(String, String, int) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Locate the best instance of 'pattern' in 'text' near 'loc' using the Bitap algorithm.
matchDistance(int) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Specifies how far to search for a match (0 = exact location, 1000+ = broad match).
matchDistance() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
matchMain(String, String, int) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Locate the best instance of 'pattern' in 'text' near 'loc'.
matchMaxbits(short) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Spedifies number of bits in an int.
matchThreshold(float) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Specifies the matchThreshold at what point is no match declared (0.0 = perfection, 1.0 = very loose).
matchThreshold() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
messageReceived(ChannelHandlerContext, WebSocketFrame) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClientHandler
 
messageReceived(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
messageReceived(JsonNode) - Method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
 
messageReceived(ChannelHandlerContext, WebSocketFrame) - Method in class org.jboss.aerogear.sync.server.netty.DiffSyncHandler
 
MessageType - Enum in org.jboss.aerogear.sync.server
 

N

NettySubscriber - Class in org.jboss.aerogear.sync.server.netty
 
NettySubscriber(String, ChannelHandlerContext) - Constructor for class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
newArrayNode() - Static method in class org.jboss.aerogear.sync.diffmatchpatch.JsonMapper
 
newArrayNode() - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMapper
 
newArrayNode() - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonMapper
 
newObjectNode() - Static method in class org.jboss.aerogear.sync.diffmatchpatch.JsonMapper
 
newObjectNode() - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMapper
 
newObjectNode() - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonMapper
 
notifySubscribers(PatchMessage<S>) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Performs the server side patching for a specific client and updates all subscribers to the patched document.

O

observer(Observer) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
operation - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Diff
One of: INSERT, DELETE or EQUAL.
operation() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff
 
org.jboss.aerogear.sync - package org.jboss.aerogear.sync
This package contains interfaces for AeroGear Sync.
org.jboss.aerogear.sync.client - package org.jboss.aerogear.sync.client
This package contains interfaces for AeroGear Sync Client API.
org.jboss.aerogear.sync.client.netty - package org.jboss.aerogear.sync.client.netty
This package contains Netty Client for AeroGear Sync.
org.jboss.aerogear.sync.diffmatchpatch - package org.jboss.aerogear.sync.diffmatchpatch
This package contains classes for the DiffMatchPatch synchronizer core
org.jboss.aerogear.sync.diffmatchpatch.client - package org.jboss.aerogear.sync.diffmatchpatch.client
This package contains classes for the DiffMatchPatch synchronizer client
org.jboss.aerogear.sync.diffmatchpatch.server - package org.jboss.aerogear.sync.diffmatchpatch.server
This package contains classes for the DiffMatchPatch synchronizer server
org.jboss.aerogear.sync.jsonmergepatch - package org.jboss.aerogear.sync.jsonmergepatch
This package contains classes for the JSON Merge Patch synchronizer core
org.jboss.aerogear.sync.jsonmergepatch.client - package org.jboss.aerogear.sync.jsonmergepatch.client
This package contains classes for the JSON Merge Patch synchronizer client
org.jboss.aerogear.sync.jsonmergepatch.server - package org.jboss.aerogear.sync.jsonmergepatch.server
This package contains classes for the JSON Merge Patch synchronizer server
org.jboss.aerogear.sync.jsonpatch - package org.jboss.aerogear.sync.jsonpatch
This package contains classes for the JSON Patch synchronizer core
org.jboss.aerogear.sync.jsonpatch.client - package org.jboss.aerogear.sync.jsonpatch.client
This package contains classes for the JSON Patch synchronizer client
org.jboss.aerogear.sync.jsonpatch.server - package org.jboss.aerogear.sync.jsonpatch.server
This package contains classes for the JSON Patch synchronizer server
org.jboss.aerogear.sync.server - package org.jboss.aerogear.sync.server
This package contains interfaces for AeroGear Sync Server API.
org.jboss.aerogear.sync.server.gcm - package 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 - package org.jboss.aerogear.sync.server.netty
This package contains Netty Servers for AeroGear Sync.

P

parse(String) - Static method in class org.jboss.aerogear.sync.server.netty.ConfigReader
Will parse the passed in file, which can either be a file on the file system or a file on the classpath into a StandaloneConfig instance.
parse(InputStream) - Static method in class org.jboss.aerogear.sync.server.netty.ConfigReader
Will parse the passed InputStream into a StandaloneConfig instance.
patch(PatchMessage<S>) - Method in class org.jboss.aerogear.sync.client.ClientSyncEngine
Patches the client side shadow with updates (PatchMessage) from the server.
Patch() - Constructor for class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
Constructor.
patch(JsonMergePatch) - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit.Builder
 
patch(JsonPatch) - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit.Builder
 
patch(PatchMessage<S>) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Performs the server side patching for a specific client.
patch_deepCopy(LinkedList<DiffMatchPatch.Patch>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Given an array of patches, return another array that is identical.
patchAddContext(DiffMatchPatch.Patch, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Increase the context until it is unique, but don't let the pattern expand beyond matchMaxbits.
patchAddPadding(LinkedList<DiffMatchPatch.Patch>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Add some padding on text start and end so that edges can match something.
patchApply(LinkedList<DiffMatchPatch.Patch>, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Merge a set of patches onto the text.
patchDeleteThreshold(float) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Specifies the patchThreshold at what point is no match declared (0.0 = perfection, 1.0 = very loose).
patchDeleteThreshold() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
patchDocument(S, ClientDocument<T>) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Called when the document should be patched.
patchDocument(DiffMatchPatchEdit, ClientDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
patchDocument(DiffMatchPatchEdit, Document<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
patchDocument(JsonMergePatchEdit, ClientDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
patchDocument(JsonMergePatchEdit, Document<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
patchDocument(JsonPatchEdit, ClientDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
patchDocument(JsonPatchEdit, Document<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
patchDocument(S, Document<T>) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
Called when the document should be patched.
patched(PatchMessage<?>) - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
patched(PatchMessage<?>) - Method in class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
patched(PatchMessage<?>) - Method in interface org.jboss.aerogear.sync.server.Subscriber
Is called when this subscribers underlying document has been patched, allowing it to handle the PatchMessage.
patchFromText(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Parse a textual representation of patches and return a List of Patch objects.
patchMake(String, String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Compute a list of patches to turn text1 into text2.
patchMake(LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Compute a list of patches to turn text1 into text2.
patchMake(String, String, LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
patchMake(String, LinkedList<DiffMatchPatch.Diff>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Compute a list of patches to turn text1 into text2.
patchMargin(int) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Specifies the patch patchMargin/chunk size for context length.
patchMargin() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
patchMaxbits() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
 
PatchMessage<T extends Edit<? extends Diff>> - Interface in org.jboss.aerogear.sync
Represents a stack of changes made on the server of client side.
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.client.ClientSyncEngine
Creates a {link PatchMessage} by parsing the passed-in json.
patchMessageFromJson(String) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Creates a {link PatchMessage} by parsing the passed-in json.
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
patchMessageFromJson(String) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Creates a {link PatchMessage} by parsing the passed-in json.
patchMessageFromJson(String) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
Creates a {link PatchMessage} by parsing the passed-in json.
patchShadow(S, ShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Called when the shadow should be patched.
patchShadow(DiffMatchPatchEdit, ShadowDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
patchShadow(DiffMatchPatchEdit, ShadowDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
patchShadow(JsonMergePatchEdit, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
patchShadow(JsonMergePatchEdit, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
patchShadow(JsonPatchEdit, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
patchShadow(JsonPatchEdit, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
patchShadow(S, ShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
Called when the shadow should be patched.
patchSplitMax(LinkedList<DiffMatchPatch.Patch>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Look through the patches and break up any which are longer than the maximum limit of the match algorithm.
patchTimeout(float) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Builder
Specifies the number of seconds to map a diff before giving up (0 for infinity).
patchToText(List<DiffMatchPatch.Patch>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch
Take a list of patches and return a textual representation.
path(String) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
Payload<T> - Interface in org.jboss.aerogear.sync
Represents something that can be exchanged in JSON format.
port(int) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
port(int) - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig.Builder
 
port() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 
processPacket(Packet) - Method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
 

R

removeEdit(S, String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
removeEdit(S, String, String) - Method in interface org.jboss.aerogear.sync.DataStore
Removes the edit from the store.
removeEdit(S, String, String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
removeEdits(String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
removeEdits(String, String) - Method in interface org.jboss.aerogear.sync.DataStore
Removes all edits for the specific client and document pair.
removeEdits(String, String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
removeSubscriber(Subscriber<?>, String) - Method in class org.jboss.aerogear.sync.server.ServerSyncEngine
Removes the specified Subscriber.

S

saveBackupShadowDocument(BackupShadowDocument<T>) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
saveBackupShadowDocument(BackupShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.DataStore
Saves a backup shadow document
saveBackupShadowDocument(BackupShadowDocument<T>) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
saveClientDocument(ClientDocument<T>) - Method in interface org.jboss.aerogear.sync.client.ClientDataStore
Saves a client document.
saveClientDocument(ClientDocument<T>) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
saveDocument(Document<T>) - Method in interface org.jboss.aerogear.sync.server.ServerDataStore
Saves a server document.
saveDocument(Document<T>) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
saveEdits(S, String, String) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
saveEdits(S, String, String) - Method in interface org.jboss.aerogear.sync.DataStore
Saves an Edit to the data store.
saveEdits(S, String, String) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
saveShadowDocument(ShadowDocument<T>) - Method in class org.jboss.aerogear.sync.client.ClientInMemoryDataStore
 
saveShadowDocument(ShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.DataStore
Saves a shadow document.
saveShadowDocument(ShadowDocument<T>) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
send(String) - Method in class org.jboss.aerogear.sync.server.gcm.GcmDiffSyncHandler
Sends a packet with contents provided.
send(String) - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
ServerDataStore<T,S extends Edit<? extends Diff>> - Interface in org.jboss.aerogear.sync.server
A server side DataStore implementation is responsible for storing and serving data for a Differential Synchronization implementation.
serverDiff(ClientDocument<T>, ShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.client.ClientSynchronizer
Produces a Edit containing the changes between the updated ClientDocument and the ShadowDocument.
serverDiff(ClientDocument<String>, ShadowDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.client.DiffMatchPatchClientSynchronizer
 
serverDiff(Document<String>, ShadowDocument<String>) - Method in class org.jboss.aerogear.sync.diffmatchpatch.server.DiffMatchPatchServerSynchronizer
 
serverDiff(ClientDocument<JsonNode>, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.client.JsonMergePatchClientSynchronizer
 
serverDiff(Document<JsonNode>, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonmergepatch.server.JsonMergePatchServerSynchronizer
 
serverDiff(ClientDocument<JsonNode>, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.client.JsonPatchClientSynchronizer
 
serverDiff(Document<JsonNode>, ShadowDocument<JsonNode>) - Method in class org.jboss.aerogear.sync.jsonpatch.server.JsonPatchServerSynchronizer
 
serverDiff(Document<T>, ShadowDocument<T>) - Method in interface org.jboss.aerogear.sync.server.ServerSynchronizer
The first step in a sync is to produce a an edit for the changes.
ServerInMemoryDataStore<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.server
An in-memory implementation of ServerDataStore.
ServerInMemoryDataStore() - Constructor for class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 
ServerSyncEngine<T,S extends Edit<? extends Diff>> - Class in org.jboss.aerogear.sync.server
The ServerSyncEngine is responsible for driving the main differential synchronization algorithm.
ServerSyncEngine(ServerSynchronizer<T, S>, ServerDataStore<T, S>) - Constructor for class org.jboss.aerogear.sync.server.ServerSyncEngine
Sole constructor.
ServerSynchronizer<T,S extends Edit<? extends Diff>> - Interface in org.jboss.aerogear.sync.server
A instance of this class will be able to handle tasks needed to implement Differential Synchronization for a specific type of documents.
serverVersion() - Method in class org.jboss.aerogear.sync.DefaultShadowDocument
 
serverVersion(long) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
serverVersion() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
serverVersion() - Method in interface org.jboss.aerogear.sync.Edit
The server version that edit is related to.
serverVersion(long) - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit.Builder
 
serverVersion() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
serverVersion(long) - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit.Builder
 
serverVersion() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
serverVersion() - Method in interface org.jboss.aerogear.sync.ShadowDocument
Represents the latest server version that the this shadow document was based on.
shadow() - Method in interface org.jboss.aerogear.sync.BackupShadowDocument
The ShadowDocument that this instance is backing up.
shadow() - Method in class org.jboss.aerogear.sync.DefaultBackupShadowDocument
 
ShadowDocument<T> - Interface in org.jboss.aerogear.sync
A shadow document for each client will exist on the client side and also on the server side.
StandaloneConfig - Class in org.jboss.aerogear.sync.server.netty
 
StandaloneConfig.Builder - Class in org.jboss.aerogear.sync.server.netty
 
start1 - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
 
start2 - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
 
subprotocols(String) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
Subscriber<T> - Interface in org.jboss.aerogear.sync.server
Represents a subscriber of patches.
syncEngine(ClientSyncEngine<T, S>) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 

T

text - Variable in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Diff
The text associated with this diff operation.
text() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff
 
toJson(Object) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.JsonMapper
Transforms from Java object notation to JSON.
toJson(Object) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMapper
Transforms from Java object notation to JSON.
toJson(Object) - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonMapper
Transforms from Java object notation to JSON.
toString() - Method in class org.jboss.aerogear.sync.DefaultBackupShadowDocument
 
toString() - Method in class org.jboss.aerogear.sync.DefaultClientDocument
 
toString() - Method in class org.jboss.aerogear.sync.DefaultDocument
 
toString() - Method in class org.jboss.aerogear.sync.DefaultShadowDocument
 
toString() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Diff
Display a human-readable version of this Diff.
toString() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Patch
Emmulate GNU diff's format.
toString() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff
 
toString() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiffs
 
toString() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
toString() - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchMessage
 
toString(JsonNode) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.JsonMapper
 
toString(JsonNode) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMapper
 
toString() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchDiff
 
toString() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
toString() - Method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchMessage
 
toString(JsonNode) - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonMapper
 
toString() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchDiff
 
toString() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
toString() - Method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchMessage
 
toString() - Method in class org.jboss.aerogear.sync.server.gcm.GcmSubscriber
 
toString() - Method in class org.jboss.aerogear.sync.server.netty.NettySubscriber
 
toString() - Method in class org.jboss.aerogear.sync.server.netty.StandaloneConfig
 

U

unchanged(String) - Method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit.Builder
 
updateDocument(Document<T>) - Method in interface org.jboss.aerogear.sync.server.ServerDataStore
Updates a server document.
updateDocument(Document<T>) - Method in class org.jboss.aerogear.sync.server.ServerInMemoryDataStore
 

V

valueOf(String) - Static method in enum org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.aerogear.sync.server.MessageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatch.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchDiff.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.aerogear.sync.server.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in interface org.jboss.aerogear.sync.BackupShadowDocument
Represents the version of this backup shadow.
version() - Method in class org.jboss.aerogear.sync.DefaultBackupShadowDocument
 

W

WebSocketClientHandler - Class in org.jboss.aerogear.sync.client.netty
 
WebSocketClientHandler(WebSocketClientHandshaker) - Constructor for class org.jboss.aerogear.sync.client.netty.WebSocketClientHandler
 
withChecksum(String) - Static method in class org.jboss.aerogear.sync.diffmatchpatch.DiffMatchPatchEdit
 
withChecksum(String) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
withChecksum(String) - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
withPatch(JsonMergePatch) - Static method in class org.jboss.aerogear.sync.jsonmergepatch.JsonMergePatchEdit
 
withPatch(JsonPatch) - Static method in class org.jboss.aerogear.sync.jsonpatch.JsonPatchEdit
 
wss(boolean) - Method in class org.jboss.aerogear.sync.client.netty.DiffSyncClient.Builder
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links
AeroGear Data Synchronization Parent 0.0.1-SNAPSHOT

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.