|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.merge.v0_6.impl.ServerStateReader
public class ServerStateReader
Retrieves replication state files from the server hosting replication data.
Constructor Summary | |
---|---|
ServerStateReader()
Creates a new instance. |
Method Summary | |
---|---|
ReplicationState |
getServerState(java.net.URL baseUrl)
Retrieves the latest state from the server. |
ReplicationState |
getServerState(java.net.URL baseUrl,
long sequenceNumber)
Retrieves the specified state from the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerStateReader()
Method Detail |
---|
public ReplicationState getServerState(java.net.URL baseUrl)
baseUrl
- The url of the directory containing change files.
public ReplicationState getServerState(java.net.URL baseUrl, long sequenceNumber)
baseUrl
- The url of the directory containing change files.sequenceNumber
- The sequence number of the state to be retrieved from the server.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |