- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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 WebSocketFrame
s.
- 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
-
- 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.
- 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
-
- 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
-