|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdnplatform.sync.client.SyncClientBase
public abstract class SyncClientBase
Base class for implementing command-line tools that interact with the sync store
| Nested Class Summary | |
|---|---|
protected static class |
SyncClientBase.SyncClientBaseSettings
Command-line settings for base sync client |
| Field Summary | |
|---|---|
protected java.io.PrintStream |
err
Stream to use for errors |
protected java.io.PrintStream |
out
Stream to use for output |
protected SyncClientBase.SyncClientBaseSettings |
settings
Command-line settings |
protected RemoteSyncManager |
syncManager
Remote sync manager provides connection to remote store |
| Constructor Summary | |
|---|---|
SyncClientBase(SyncClientBase.SyncClientBaseSettings settings)
|
|
| Method Summary | |
|---|---|
protected void |
cleanup()
|
protected void |
connect()
Set up the remote sync manager and prepare for requests |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RemoteSyncManager syncManager
protected SyncClientBase.SyncClientBaseSettings settings
protected java.io.PrintStream out
protected java.io.PrintStream err
| Constructor Detail |
|---|
public SyncClientBase(SyncClientBase.SyncClientBaseSettings settings)
| Method Detail |
|---|
protected void connect()
throws java.lang.Exception
java.lang.Exception
protected void cleanup()
throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||