NodeIDType
- public class AckStopEpoch<NodeIDType> extends BasicReconfigurationPacket<NodeIDType> implements Request
ReconfigurationPacket.PacketType
epochNumber, serviceName
clientPacketTypes, HANDLER_METHOD_PREFIX, PACKET_TYPE, serverPacketTypes
type
Constructor and Description |
---|
AckStopEpoch(org.json.JSONObject json,
Stringifiable<NodeIDType> unstringer) |
AckStopEpoch(NodeIDType sender,
StopEpoch<NodeIDType> stopEpoch) |
AckStopEpoch(NodeIDType sender,
StopEpoch<NodeIDType> stopEpoch,
java.lang.String finalState) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFinalState() |
IntegerPacketType |
getRequestType() |
org.json.JSONObject |
toJSONObjectImpl() |
getEpochNumber, getServiceName, getSummary
assertPacketTypeChecks, assertPacketTypeChecks, assertPacketTypeChecks, assertPacketTypeChecks, concatenate, getMessage, getPacketType, getPacketTypeCanonicalClassName, getPacketTypeClass, getPacketTypeClassName, getReconfigurationPacket, getReconfigurationPacket, getReconfigurationPacketSuppressExceptions, getReconfigurationPacketSuppressExceptions, getReconfigurationPacketType, getReconfigurationPacketType, isReconfigurationPacket, putPacketType, toBytes, toString
flip, getInitiator, getKey, getSender, getType, setKey, setSender, setType, toJSONObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getServiceName, getSummary, toBytes, toString
getSummary
public AckStopEpoch(NodeIDType sender, StopEpoch<NodeIDType> stopEpoch, java.lang.String finalState)
sender
- stopEpoch
- finalState
- public AckStopEpoch(NodeIDType sender, StopEpoch<NodeIDType> stopEpoch)
sender
- stopEpoch
- public AckStopEpoch(org.json.JSONObject json, Stringifiable<NodeIDType> unstringer) throws org.json.JSONException
json
- unstringer
- org.json.JSONException
public org.json.JSONObject toJSONObjectImpl() throws org.json.JSONException
toJSONObjectImpl
in class BasicReconfigurationPacket<NodeIDType>
org.json.JSONException
public IntegerPacketType getRequestType()
getRequestType
in interface Request
getRequestType
in class BasicReconfigurationPacket<NodeIDType>
public java.lang.String getFinalState()