T
- The type of the Document that this client can handleS
- The type of Edit
s that this client can handlepublic final class DiffSyncClient<T,S extends Edit<? extends Diff>> extends Observable
Modifier and Type | Class and Description |
---|---|
static class |
DiffSyncClient.Builder<T,S extends Edit<? extends Diff>> |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(ClientDocument<T> document) |
DiffSyncClient<T,S> |
connect() |
void |
diffAndSend(ClientDocument<T> document) |
void |
disconnect() |
static <T,S extends Edit<? extends Diff>> |
forHost(String host) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public DiffSyncClient<T,S> connect() throws InterruptedException
InterruptedException
public void addDocument(ClientDocument<T> document)
public void diffAndSend(ClientDocument<T> document)
public void disconnect()
public static <T,S extends Edit<? extends Diff>> DiffSyncClient.Builder<T,S> forHost(String host)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.