public class NoopAppRequest extends AppRequest
RequestPacket. The main requirements of application requests
is that they must implement at least InterfaceRequest, and must
implement InterfaceReplicable, InterfaceReconfigurable, and
InterfceClientRequest in order to respectively support replication,
reconfiguration, and the ability to delegate client response
messaging to gigapaxos.AppRequest.PacketType, AppRequest.ResponseCodesPACKET_TYPE, typeSTOP| Constructor and Description |
|---|
NoopAppRequest(org.json.JSONObject json) |
NoopAppRequest(java.lang.String name,
int epoch,
int id,
java.lang.String value,
IntegerPacketType type,
boolean stop)
Can define IntegerPacketType types here other than those defined in
AppRequest.
|
NoopAppRequest(java.lang.String name,
int id,
java.lang.String value,
IntegerPacketType type,
boolean stop) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEntryReplica() |
static void |
main(java.lang.String[] args) |
void |
setEntryReplica(java.lang.String id) |
org.json.JSONObject |
toJSONObjectImpl() |
getClientAddress, getEpochNumber, getObliviousPaxosStopRequest, getRequestID, getRequestType, getResponse, getSenderAddress, getServiceName, getValue, isStop, needsCoordination, setEpoch, setNeedsCoordination, setResponsecouldBeJSON, couldBeJSON, couldBeJSON, couldBeJSONArray, couldBeJSONObject, getPacketType, putPacketType, putPacketType, toJSONObject, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSummarygetSummarypublic NoopAppRequest(java.lang.String name,
int epoch,
int id,
java.lang.String value,
IntegerPacketType type,
boolean stop)
name - epoch - id - value - type - stop - public NoopAppRequest(java.lang.String name,
int id,
java.lang.String value,
IntegerPacketType type,
boolean stop)
name - id - value - type - stop - public NoopAppRequest(org.json.JSONObject json)
throws org.json.JSONException
json - org.json.JSONExceptionpublic org.json.JSONObject toJSONObjectImpl()
throws org.json.JSONException
toJSONObjectImpl in class AppRequestorg.json.JSONExceptionpublic void setEntryReplica(java.lang.String id)
id - public java.lang.String getEntryReplica()
public static void main(java.lang.String[] args)