public class BatchedCreateServiceName extends CreateServiceName
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BatchedCreateServiceName.BatchKeys |
CreateServiceName.KeysClientReconfigurationPacket.ResponseCodesReconfigurationPacket.PacketTypeinitialState, nameStates, unstringerepochNumber, serviceNameclientPacketTypes, HANDLER_METHOD_PREFIX, PACKET_TYPE, serverPacketTypestype| 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, sizegetCreateTime, getCreator, getForwader, getForwardee, getHashRCs, getMyReceiver, getRequestType, getResponseCode, getResponseMessage, isFailed, isForwardable, isForwarded, isRecursiveRedirectEnabled, isRedirectedResponse, isRequest, makeResponse, setFailed, setFailed, setForwader, setForwardee, setHashRCs, setRecursiveRedirect, setResponseMessagegetEpochNumber, getServiceNameassertPacketTypeChecks, assertPacketTypeChecks, assertPacketTypeChecks, assertPacketTypeChecks, concatenate, getMessage, getPacketType, getPacketTypeCanonicalClassName, getPacketTypeClass, getPacketTypeClassName, getReconfigurationPacket, getReconfigurationPacket, getReconfigurationPacketSuppressExceptions, getReconfigurationPacketSuppressExceptions, getReconfigurationPacketType, getReconfigurationPacketType, isReconfigurationPacket, putPacketType, toBytes, toStringflip, getInitiator, getKey, getSender, getType, setKey, setSender, setType, toJSONObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceName, toBytes, toStringgetSummarypublic 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.JSONExceptionpublic BatchedCreateServiceName(org.json.JSONObject json,
Stringifiable<?> unstringer)
throws org.json.JSONException
json - unstringer - org.json.JSONExceptionpublic org.json.JSONObject toJSONObjectImpl()
throws org.json.JSONException
toJSONObjectImpl in class CreateServiceNameorg.json.JSONExceptionpublic java.lang.String getSummary()
SummarizablegetSummary in interface RequestgetSummary in interface SummarizablegetSummary in class CreateServiceName