|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Mirror
Client-side representation of a mirror of data from one RBNB server to another.
| Field Summary | |
|---|---|
static byte |
PULL
pull data from the remote Server to the local
Server. |
static byte |
PUSH
push data from the local Server to the remote
Server. |
| Method Summary | |
|---|---|
Object |
clone()
Clones this object. |
byte |
getDirection()
Gets the direction of the mirror. |
Server |
getRemote()
Gets the remote Server. |
DataRequest |
getRequest()
Gets the DataRequest. |
Source |
getSource()
Gets the Source object that is the destination of the
mirrored data. |
void |
setDirection(byte directionI)
Sets the direction of the mirror. |
void |
setRemote(Server remoteI)
Sets the remote Server. |
void |
setRequest(DataRequest requestI)
Sets the DataRequest. |
| Field Detail |
|---|
static final byte PULL
Server to the local
Server.
PUSH,
Constant Field Valuesstatic final byte PUSH
Server to the remote
Server.
PULL,
Constant Field Values| Method Detail |
|---|
Object clone()
This same abstract declaration is also included in MirrorInterface.java, but for some unknown reason J# gives a compiler error if it is not also included here.
Cloneablebyte getDirection()
PULL,
PUSH,
setDirection(byte)Server getRemote()
Server.
Server.setRemote(com.rbnb.api.Server)DataRequest getRequest()
DataRequest.
DataRequest.setRequest(com.rbnb.api.DataRequest)Source getSource()
Source object that is the destination of the
mirrored data.
Source.void setDirection(byte directionI)
directionI - the direction of the mirror. This can be one of:
PULL - get data from the remote
Server, orPUSH - send data to the remote
Server.getDirection(),
PULL,
PUSHvoid setRemote(Server remoteI)
Server.
remoteI - the remote Server.getRemote()void setRequest(DataRequest requestI)
DataRequest.
The DataRequest must be one that generates data with
monotonically increasing time-stamps and must refer to only a single
Source on a single Server.
requestI - the DataRequest.getRequest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||