public class BatchedCreateServiceName extends CreateServiceName
Modifier and Type | Class and Description |
---|---|
protected static class |
BatchedCreateServiceName.BatchKeys |
CreateServiceName.Keys
ClientReconfigurationPacket.ResponseCodes
ReconfigurationPacket.PacketType
initialState, nameStates, unstringer
epochNumber, serviceName
clientPacketTypes, HANDLER_METHOD_PREFIX, PACKET_TYPE, serverPacketTypes
type
Constructor and Description |
---|
BatchedCreateServiceName(java.net.InetSocketAddress initiator,
java.lang.String[] names,
int epochNumber,
java.lang.String[] states) |
BatchedCreateServiceName(java.net.InetSocketAddress initiator,
java.lang.String name,
int epochNumber,
java.lang.String state) |
BatchedCreateServiceName(org.json.JSONObject json) |
BatchedCreateServiceName(org.json.JSONObject json,
Stringifiable<?> unstringer) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSummary()
Implementations are encouraged to return an inline created new Object()
whose toString() method will return the actual String instead of just
returning the String directly.
|
org.json.JSONObject |
toJSONObjectImpl() |
getHeadOnly, getInitGroup, getInitialState, getNameStateJSONArray, getNameStateMap, getNameStates, getReconfigureUponActivesChangePolicy, isBatched, makeCreateNameRequest, makeCreateNameRequest, size
getCreateTime, getCreator, getForwader, getForwardee, getHashRCs, getMyReceiver, getRequestType, getResponseCode, getResponseMessage, isFailed, isForwardable, isForwarded, isRecursiveRedirectEnabled, isRedirectedResponse, isRequest, makeResponse, setFailed, setFailed, setForwader, setForwardee, setHashRCs, setRecursiveRedirect, setResponseMessage
getEpochNumber, getServiceName
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, toString, wait, wait, wait
getServiceName, toBytes, toString
getSummary
public BatchedCreateServiceName(java.net.InetSocketAddress initiator, java.lang.String name, int epochNumber, java.lang.String state)
initiator
- name
- epochNumber
- state
- public BatchedCreateServiceName(java.net.InetSocketAddress initiator, java.lang.String[] names, int epochNumber, java.lang.String[] states)
initiator
- names
- epochNumber
- states
- public BatchedCreateServiceName(org.json.JSONObject json) throws org.json.JSONException
json
- org.json.JSONException
public BatchedCreateServiceName(org.json.JSONObject json, Stringifiable<?> unstringer) throws org.json.JSONException
json
- unstringer
- org.json.JSONException
public org.json.JSONObject toJSONObjectImpl() throws org.json.JSONException
toJSONObjectImpl
in class CreateServiceName
org.json.JSONException
public java.lang.String getSummary()
Summarizable
getSummary
in interface Request
getSummary
in interface Summarizable
getSummary
in class CreateServiceName