|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.util.UtlListElement
com.neeve.sma.MessageViewImpl
com.neeve.rog.impl.RogNode
com.neeve.server.mon.cnc.SrvMonInvokeCommandResponse
@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Wed Mar 28 10:54:31 EDT 2018") @AdmGenerated(encoding="Xbuf", compatLevel="3.8.0", admVersion="nvx-adm v3.7.265 (build 0)", date="3/28/18 10:54 AM", buildInfo="nvx-talon-3.7.265 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonCncFactory.class, vfid=36, ofid=36, typeId=11) public final class SrvMonInvokeCommandResponse
Response to a command invocation.
Nested Class Summary | |
---|---|
static class |
SrvMonInvokeCommandResponse.PacketBody
The backing packet type for SrvMonInvokeCommandResponse (used internally for serialization purposes). |
Nested classes/interfaces inherited from interface com.neeve.rog.IRogNode |
---|
IRogNode.PoolingListener |
Nested classes/interfaces inherited from interface com.neeve.ods.IStoreObject |
---|
IStoreObject.EncodingType |
Field Summary | |
---|---|
static SrvMonInvokeCommandResponse[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
Fields inherited from class com.neeve.rog.impl.RogNode |
---|
DATE_FORMAT |
Fields inherited from class com.neeve.util.UtlListElement |
---|
count, head, next, prev |
Method Summary | ||
---|---|---|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString. |
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString. |
|
void |
clearBooleanReturnValue()
Clears the value of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
void |
clearByteReturnValue()
Clears the value of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
void |
clearCharReturnValue()
Clears the value of 'charReturnValue' Field Description The value for a CHAR return type. |
|
void |
clearContent()
|
|
void |
clearDateReturnValue()
Clears the value of 'dateReturnValue' Field Description The value for a DATE return type. |
|
void |
clearDoubleReturnValue()
Clears the value of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
void |
clearErrorMessage()
Clears the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
void |
clearFloatReturnValue()
Clears the value of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
void |
clearIntReturnValue()
Clears the value of 'intReturnValue' Field Description The value for a INT return type. |
|
void |
clearLongReturnValue()
Clears the value of 'longReturnValue' Field Description The value for a LONG return type. |
|
void |
clearReturnType()
Clears the value of 'returnType' Field Description The response type. |
|
void |
clearShortReturnValue()
Clears the value of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
void |
clearStackTrace()
Clears the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
void |
clearStringReturnValue()
Clears the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
void |
clearXRogType()
|
|
SrvMonInvokeCommandResponse |
copy()
Creates a copy of this SrvMonInvokeCommandResponse. |
|
void |
copyInto(SrvMonInvokeCommandResponse copy)
Copies the contents of this SrvMonInvokeCommandResponse into the target. |
|
static SrvMonInvokeCommandResponse |
create()
|
|
static SrvMonInvokeCommandResponse |
create(com.eaio.uuid.UUID id)
|
|
static SrvMonInvokeCommandResponse |
createFrom(byte[] serializedContainer)
|
|
static SrvMonInvokeCommandResponse |
createFrom(ByteBuffer serializedContainer)
|
|
static SrvMonInvokeCommandResponse |
createFromJson(String json)
|
|
static SrvMonInvokeCommandResponse |
createFromRawJson(String json)
|
|
static SrvMonInvokeCommandResponse |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
|
static SrvMonInvokeCommandResponse |
createFromSerializedXbufContainer(ByteBuffer serializedContainer)
|
|
static SrvMonInvokeCommandResponse |
createFromSerializedXbufContainerPacket(byte[] serializedPacket)
|
|
static SrvMonInvokeCommandResponse |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
|
|
static SrvMonInvokeCommandResponse |
createFromXbufContainerPacket(PktPacket packet)
|
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
|
SrvMonInvokeCommandResponse |
deserialize(PktPacket packet)
Deserialize an object's data. |
|
SrvMonInvokeCommandResponse |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array. |
|
SrvMonInvokeCommandResponse |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer. |
|
SrvMonInvokeCommandResponse |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string |
|
SrvMonInvokeCommandResponse |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet. |
|
SrvMonInvokeCommandResponse |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message. |
|
SrvMonInvokeCommandResponse |
deserializeFromRawJson(String json)
|
|
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
|
|
void |
desyncFieldBitmask()
|
|
int |
dispose()
Default implementation of MessageView.dispose()
This is the default implementation of the dispose method. |
|
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message. |
|
PktBuffer |
getBackingBuffer()
|
|
boolean |
getBooleanReturnValue()
Gets the value of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
com.neeve.xbuf.XbufVariableBooleanField |
getBooleanReturnValueField()
|
|
static int |
getBooleanReturnValueFieldId()
Get the field id for 'booleanReturnValue' This method can be used to set field interests. |
|
byte |
getByteReturnValue()
Gets the value of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
com.neeve.xbuf.XbufVariableByteField |
getByteReturnValueField()
|
|
static int |
getByteReturnValueFieldId()
Get the field id for 'byteReturnValue' This method can be used to set field interests. |
|
char |
getCharReturnValue()
Gets the value of 'charReturnValue' Field Description The value for a CHAR return type. |
|
com.neeve.xbuf.XbufVariableCharField |
getCharReturnValueField()
|
|
static int |
getCharReturnValueFieldId()
Get the field id for 'charReturnValue' This method can be used to set field interests. |
|
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type. |
|
Date |
getDateReturnValue()
Gets the value of 'dateReturnValue' Field Description The value for a DATE return type. |
|
long |
getDateReturnValueAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding). |
|
com.neeve.xbuf.XbufVariableDateField |
getDateReturnValueField()
|
|
static int |
getDateReturnValueFieldId()
Get the field id for 'dateReturnValue' This method can be used to set field interests. |
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
|
double |
getDoubleReturnValue()
Gets the value of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
com.neeve.xbuf.XbufDoubleField |
getDoubleReturnValueField()
|
|
static int |
getDoubleReturnValueFieldId()
Get the field id for 'doubleReturnValue' This method can be used to set field interests. |
|
String |
getErrorMessage()
Gets the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
com.neeve.xbuf.XbufStringField |
getErrorMessageField()
|
|
static int |
getErrorMessageFieldId()
Get the field id for 'errorMessage' This method can be used to set field interests. |
|
|
getErrorMessageTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getErrorMessageTo(XString val)
Copies the value of 'errorMessage' into the provided XString. |
|
XString |
getErrorMessageUnsafe()
Gets the raw value of 'errorMessage'. |
|
XString |
getFieldValueAsRawString(Object message,
String name)
Get the value of a reflectable field in a message as a string. |
|
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string. |
|
String |
getFieldValueAsString(Object message,
String name)
Get the value of a reflectable field in a message as a string. |
|
String |
getFieldValueAsString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string. |
|
float |
getFloatReturnValue()
Gets the value of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
com.neeve.xbuf.XbufFloatField |
getFloatReturnValueField()
|
|
static int |
getFloatReturnValueFieldId()
Get the field id for 'floatReturnValue' This method can be used to set field interests. |
|
int |
getIntReturnValue()
Gets the value of 'intReturnValue' Field Description The value for a INT return type. |
|
com.neeve.xbuf.XbufVariableIntField |
getIntReturnValueField()
|
|
static int |
getIntReturnValueFieldId()
Get the field id for 'intReturnValue' This method can be used to set field interests. |
|
long |
getLongReturnValue()
Gets the value of 'longReturnValue' Field Description The value for a LONG return type. |
|
com.neeve.xbuf.XbufVariableLongField |
getLongReturnValueField()
|
|
static int |
getLongReturnValueFieldId()
Get the field id for 'longReturnValue' This method can be used to set field interests. |
|
PktPacket |
getPacket()
|
|
SrvMonReturnType |
getReturnType()
Gets the value of 'returnType' Field Description The response type. |
|
com.neeve.xbuf.XbufVariableEnumField<SrvMonReturnType> |
getReturnTypeField()
|
|
static int |
getReturnTypeFieldId()
Get the field id for 'returnType' This method can be used to set field interests. |
|
short |
getShortReturnValue()
Gets the value of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
com.neeve.xbuf.XbufVariableShortField |
getShortReturnValueField()
|
|
static int |
getShortReturnValueFieldId()
Get the field id for 'shortReturnValue' This method can be used to set field interests. |
|
String |
getStackTrace()
Gets the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
com.neeve.xbuf.XbufStringField |
getStackTraceField()
|
|
static int |
getStackTraceFieldId()
Get the field id for 'stackTrace' This method can be used to set field interests. |
|
|
getStackTraceTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getStackTraceTo(XString val)
Copies the value of 'stackTrace' into the provided XString. |
|
XString |
getStackTraceUnsafe()
Gets the raw value of 'stackTrace'. |
|
String |
getStringReturnValue()
Gets the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
com.neeve.xbuf.XbufStringField |
getStringReturnValueField()
|
|
static int |
getStringReturnValueFieldId()
Get the field id for 'stringReturnValue' This method can be used to set field interests. |
|
|
getStringReturnValueTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getStringReturnValueTo(XString val)
Copies the value of 'stringReturnValue' into the provided XString. |
|
XString |
getStringReturnValueUnsafe()
Gets the raw value of 'stringReturnValue'. |
|
short |
getXRogType()
|
|
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField()
|
|
static int |
getXRogTypeFieldId()
Get the field id for 'xRogType' This method can be used to set field interests. |
|
boolean |
hasBooleanReturnValue()
Checks for the presence of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
boolean |
hasByteReturnValue()
Checks for the presence of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
boolean |
hasCharReturnValue()
Checks for the presence of 'charReturnValue' Field Description The value for a CHAR return type. |
|
boolean |
hasDateReturnValue()
Checks for the presence of 'dateReturnValue' Field Description The value for a DATE return type. |
|
boolean |
hasDoubleReturnValue()
Checks for the presence of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
boolean |
hasErrorMessage()
Checks for the presence of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
boolean |
hasFloatReturnValue()
Checks for the presence of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
boolean |
hasIntReturnValue()
Checks for the presence of 'intReturnValue' Field Description The value for a INT return type. |
|
boolean |
hasLongReturnValue()
Checks for the presence of 'longReturnValue' Field Description The value for a LONG return type. |
|
boolean |
hasReturnType()
Checks for the presence of 'returnType' Field Description The response type. |
|
boolean |
hasShortReturnValue()
Checks for the presence of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
boolean |
hasStackTrace()
Checks for the presence of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
boolean |
hasStringReturnValue()
Checks for the presence of 'stringReturnValue' Field Description The value for a STRING return type. |
|
boolean |
hasXRogType()
|
|
boolean |
isDirty()
|
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable. |
|
void |
lendErrorMessage(XString val)
Sets the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
void |
lendStackTrace(XString val)
Sets the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
void |
lendStringReturnValue(XString val)
Sets the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection. |
|
static void |
optimizeFor(int val)
|
|
PktPacket |
serialize()
Serialize an object's data. |
|
byte[] |
serializeToByteArray()
Serialize a view's backing message to a byte array. |
|
ByteBuffer |
serializeToByteBuffer()
Serialize a view's backing message to a byte buffer. |
|
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
Serializes the MessageView to an IOBuffer. |
|
String |
serializeToJson()
Serialize a view's backing message to JSON. |
|
PktPacket |
serializeToPacket()
Serialize a view's backing message to a packet. |
|
com.google.protobuf.Message |
serializeToProtobuf()
Serialize a node's data to a proto message. |
|
String |
serializeToRawJson()
|
|
void |
setAsReadOnly()
Set whether a node is read only Note: This read-only flag only applies to data, not metadata |
|
void |
setBooleanReturnValue(boolean val)
Sets the value of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
void |
setBooleanReturnValueFrom(com.neeve.xbuf.XbufVariableBooleanField val)
|
|
void |
setByteReturnValue(byte val)
Sets the value of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
void |
setByteReturnValueFrom(com.neeve.xbuf.XbufVariableByteField val)
|
|
void |
setCharReturnValue(char val)
Sets the value of 'charReturnValue' Field Description The value for a CHAR return type. |
|
void |
setCharReturnValueFrom(com.neeve.xbuf.XbufVariableCharField val)
|
|
void |
setDateReturnValue(Date val)
Sets the value of 'dateReturnValue' Field Description The value for a DATE return type. |
|
void |
setDateReturnValueAsTimestamp(long val)
Sets the date value as a timestamp. |
|
void |
setDateReturnValueFrom(com.neeve.xbuf.XbufVariableDateField val)
|
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
|
void |
setDoubleReturnValue(double val)
Sets the value of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
void |
setDoubleReturnValueFrom(com.neeve.xbuf.XbufDoubleField val)
|
|
void |
setErrorMessage(String val)
Sets the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
void |
setErrorMessageFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setErrorMessageFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setErrorMessageFrom(XString val)
Copies the provided XString value into this object's 'errorMessage'. |
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
|
IStoreObject |
setFieldValue(int id,
Object val)
Set the value of an object field. |
|
void |
setFloatReturnValue(float val)
Sets the value of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
void |
setFloatReturnValueFrom(com.neeve.xbuf.XbufFloatField val)
|
|
void |
setIntReturnValue(int val)
Sets the value of 'intReturnValue' Field Description The value for a INT return type. |
|
void |
setIntReturnValueFrom(com.neeve.xbuf.XbufVariableIntField val)
|
|
void |
setLongReturnValue(long val)
Sets the value of 'longReturnValue' Field Description The value for a LONG return type. |
|
void |
setLongReturnValueFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setReturnType(SrvMonReturnType val)
Sets the value of 'returnType' Field Description The response type. |
|
void |
setReturnTypeFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonReturnType> val)
|
|
void |
setShortReturnValue(short val)
Sets the value of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
void |
setShortReturnValueFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
void |
setStackTrace(String val)
Sets the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
void |
setStackTraceFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setStackTraceFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setStackTraceFrom(XString val)
Copies the provided XString value into this object's 'stackTrace'. |
|
void |
setStringReturnValue(String val)
Sets the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
void |
setStringReturnValueFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setStringReturnValueFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setStringReturnValueFrom(XString val)
Copies the provided XString value into this object's 'stringReturnValue'. |
|
void |
setXRogType(short val)
|
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
void |
sync()
Ensure a view's backing message is prepared and ready for transport |
|
void |
syncFieldBitmask()
|
|
String |
toJsonString()
Get a JSON representation of an ROG entity |
|
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
Get a full JSON representation of an ROG entity |
|
String |
toString()
Return a string representation of this object |
|
void |
undispose(com.eaio.uuid.UUID id)
|
Methods inherited from class com.neeve.rog.impl.RogNode |
---|
accept, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMetadata, getOfid, getOriginTs, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParent, getParentId, getPoolingListener, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getSendStartTs, getSendTs, getSerializedMetadataLength, getStableTransactionId, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCreateTs, setEnqueueTsMicros, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setOriginTs, setOutMsgsInTransaction, setOutTs, setOutTsMicros, setParentId, setPoolingListener, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setSendStartTs, setSendTs, setStableTransactionId, setTransactionId, setTransactionInSequenceNumber, setTransactionOutSequenceNumber |
Methods inherited from class com.neeve.sma.MessageViewImpl |
---|
acquire, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, setTag |
Methods inherited from class com.neeve.util.UtlListElement |
---|
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.neeve.ods.IStoreObject |
---|
acquire, deserializeMetadata, deserializeMetadata, ensureId, getBinding, getCheckpointVersion, getId, getOfid, getOwnershipCount, getSerializedMetadataLength, getStableTransactionId, getTransactionId, serializeMetadata, setBinding, setCheckpointVersion, setId, setStableTransactionId, setTransactionId |
Methods inherited from interface com.neeve.sma.MapMessageView |
---|
getMessageReflector |
Methods inherited from interface com.neeve.rog.IRogValidatable |
---|
getValidationErrors, isValid |
Field Detail |
---|
public static final SrvMonInvokeCommandResponse[] EMPTY_ARRAY
Method Detail |
---|
public static SrvMonInvokeCommandResponse create()
public static SrvMonInvokeCommandResponse create(com.eaio.uuid.UUID id)
public static SrvMonInvokeCommandResponse createFromXbufContainerPacket(PktPacket packet)
public static SrvMonInvokeCommandResponse createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonInvokeCommandResponse createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonInvokeCommandResponse createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonInvokeCommandResponse createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonInvokeCommandResponse createFromRawJson(String json)
public static SrvMonInvokeCommandResponse createFromJson(String json)
public static SrvMonInvokeCommandResponse createFrom(ByteBuffer serializedContainer)
public static SrvMonInvokeCommandResponse createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public static final void setFieldInterest(List<Integer> fieldIds)
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final PktPacket getPacket()
getPacket
in interface com.neeve.link.ILnkMessage
public final com.google.protobuf.Message serializeToProtobuf()
IRogNode
serializeToProtobuf
in interface IRogNode
public final String serializeToRawJson()
public final String serializeToJson()
MessageView
Serializing/deserializing a message to/from JSON is an optional operation
serializeToJson
in interface MessageView
public final SrvMonInvokeCommandResponse deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf
in interface IRogNode
message
- The protobuf messagepublic final SrvMonInvokeCommandResponse deserializeFromRawJson(String json)
public final SrvMonInvokeCommandResponse deserializeFromJson(String json)
MessageView
deserializeFromJson
in interface MessageView
json
- The view's backing message serialized as a json string.
Serializing/deserializing a message to/from JSON is an optional operation
public final void setAsReadOnly()
IRogNode
Note: This read-only flag only applies to data, not metadata
setAsReadOnly
in interface IRogNode
setAsReadOnly
in class com.neeve.rog.impl.RogNode
public int dispose()
MessageViewImpl
MessageView.dispose()
This is the default implementation of the dispose method. The implementation just decrements the ownership count. Implementations that implement view object pooling or other such functionality should override this method but invoke this method to decrement the object reference count.
dispose
in interface IStoreObject
dispose
in interface IRogNode
dispose
in interface MessageView
dispose
in class com.neeve.rog.impl.RogNode
public void undispose(com.eaio.uuid.UUID id)
undispose
in class com.neeve.rog.impl.RogNode
public static final int getXRogTypeFieldId()
This method can be used to set field interests.
getXRogType()
public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getReturnTypeFieldId()
This method can be used to set field interests.
getReturnType()
public final void setReturnType(SrvMonReturnType val)
ISrvMonInvokeCommandResponse
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
setReturnType
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final void setReturnTypeFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonReturnType> val)
public final com.neeve.xbuf.XbufVariableEnumField<SrvMonReturnType> getReturnTypeField()
public final SrvMonReturnType getReturnType()
ISrvMonInvokeCommandResponse
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
getReturnType
in interface ISrvMonInvokeCommandResponse
public final boolean hasReturnType()
ISrvMonInvokeCommandResponse
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
hasReturnType
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getReturnType()
public final void clearReturnType()
ISrvMonInvokeCommandResponse
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
clearReturnType
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setReturnType(SrvMonReturnType)
public static final int getBooleanReturnValueFieldId()
This method can be used to set field interests.
getBooleanReturnValue()
public final void setBooleanReturnValue(boolean val)
ISrvMonInvokeCommandResponse
setBooleanReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final boolean getBooleanReturnValue()
ISrvMonInvokeCommandResponse
getBooleanReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setBooleanReturnValueFrom(com.neeve.xbuf.XbufVariableBooleanField val)
public final com.neeve.xbuf.XbufVariableBooleanField getBooleanReturnValueField()
public final boolean hasBooleanReturnValue()
ISrvMonInvokeCommandResponse
hasBooleanReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getBooleanReturnValue()
public final void clearBooleanReturnValue()
ISrvMonInvokeCommandResponse
clearBooleanReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setBooleanReturnValue(boolean)
public static final int getByteReturnValueFieldId()
This method can be used to set field interests.
getByteReturnValue()
public final void setByteReturnValue(byte val)
ISrvMonInvokeCommandResponse
setByteReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final byte getByteReturnValue()
ISrvMonInvokeCommandResponse
getByteReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setByteReturnValueFrom(com.neeve.xbuf.XbufVariableByteField val)
public final com.neeve.xbuf.XbufVariableByteField getByteReturnValueField()
public final boolean hasByteReturnValue()
ISrvMonInvokeCommandResponse
hasByteReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getByteReturnValue()
public final void clearByteReturnValue()
ISrvMonInvokeCommandResponse
clearByteReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setByteReturnValue(byte)
public static final int getCharReturnValueFieldId()
This method can be used to set field interests.
getCharReturnValue()
public final void setCharReturnValue(char val)
ISrvMonInvokeCommandResponse
setCharReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final char getCharReturnValue()
ISrvMonInvokeCommandResponse
getCharReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setCharReturnValueFrom(com.neeve.xbuf.XbufVariableCharField val)
public final com.neeve.xbuf.XbufVariableCharField getCharReturnValueField()
public final boolean hasCharReturnValue()
ISrvMonInvokeCommandResponse
hasCharReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getCharReturnValue()
public final void clearCharReturnValue()
ISrvMonInvokeCommandResponse
clearCharReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setCharReturnValue(char)
public static final int getShortReturnValueFieldId()
This method can be used to set field interests.
getShortReturnValue()
public final void setShortReturnValue(short val)
ISrvMonInvokeCommandResponse
setShortReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final short getShortReturnValue()
ISrvMonInvokeCommandResponse
getShortReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setShortReturnValueFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getShortReturnValueField()
public final boolean hasShortReturnValue()
ISrvMonInvokeCommandResponse
hasShortReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getShortReturnValue()
public final void clearShortReturnValue()
ISrvMonInvokeCommandResponse
clearShortReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setShortReturnValue(short)
public static final int getIntReturnValueFieldId()
This method can be used to set field interests.
getIntReturnValue()
public final void setIntReturnValue(int val)
ISrvMonInvokeCommandResponse
setIntReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final int getIntReturnValue()
ISrvMonInvokeCommandResponse
getIntReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setIntReturnValueFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getIntReturnValueField()
public final boolean hasIntReturnValue()
ISrvMonInvokeCommandResponse
hasIntReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getIntReturnValue()
public final void clearIntReturnValue()
ISrvMonInvokeCommandResponse
clearIntReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setIntReturnValue(int)
public static final int getLongReturnValueFieldId()
This method can be used to set field interests.
getLongReturnValue()
public final void setLongReturnValue(long val)
ISrvMonInvokeCommandResponse
setLongReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final long getLongReturnValue()
ISrvMonInvokeCommandResponse
getLongReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setLongReturnValueFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getLongReturnValueField()
public final boolean hasLongReturnValue()
ISrvMonInvokeCommandResponse
hasLongReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getLongReturnValue()
public final void clearLongReturnValue()
ISrvMonInvokeCommandResponse
clearLongReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setLongReturnValue(long)
public static final int getFloatReturnValueFieldId()
This method can be used to set field interests.
getFloatReturnValue()
public final void setFloatReturnValue(float val)
ISrvMonInvokeCommandResponse
setFloatReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final float getFloatReturnValue()
ISrvMonInvokeCommandResponse
getFloatReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setFloatReturnValueFrom(com.neeve.xbuf.XbufFloatField val)
public final com.neeve.xbuf.XbufFloatField getFloatReturnValueField()
public final boolean hasFloatReturnValue()
ISrvMonInvokeCommandResponse
hasFloatReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getFloatReturnValue()
public final void clearFloatReturnValue()
ISrvMonInvokeCommandResponse
clearFloatReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setFloatReturnValue(float)
public static final int getDoubleReturnValueFieldId()
This method can be used to set field interests.
getDoubleReturnValue()
public final void setDoubleReturnValue(double val)
ISrvMonInvokeCommandResponse
setDoubleReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final double getDoubleReturnValue()
ISrvMonInvokeCommandResponse
getDoubleReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setDoubleReturnValueFrom(com.neeve.xbuf.XbufDoubleField val)
public final com.neeve.xbuf.XbufDoubleField getDoubleReturnValueField()
public final boolean hasDoubleReturnValue()
ISrvMonInvokeCommandResponse
hasDoubleReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getDoubleReturnValue()
public final void clearDoubleReturnValue()
ISrvMonInvokeCommandResponse
clearDoubleReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setDoubleReturnValue(double)
public static final int getDateReturnValueFieldId()
This method can be used to set field interests.
getDateReturnValue()
public final void setDateReturnValue(Date val)
ISrvMonInvokeCommandResponse
setDateReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final Date getDateReturnValue()
ISrvMonInvokeCommandResponse
getDateReturnValue
in interface ISrvMonInvokeCommandResponse
public final void setDateReturnValueAsTimestamp(long val)
ISrvMonInvokeCommandResponse
setDateReturnValueAsTimestamp
in interface ISrvMonInvokeCommandResponse
val
- The date value in milliseconds from the epochpublic final long getDateReturnValueAsTimestamp()
ISrvMonInvokeCommandResponse
NOTE:
Note that a return value of -1 could also indicate 1 millisecond before the epoch.
In cases where a such an ambiguity is a practical concern, ISrvMonInvokeCommandResponse.hasDateReturnValue()
should be called.
getDateReturnValueAsTimestamp
in interface ISrvMonInvokeCommandResponse
public final void setDateReturnValueFrom(com.neeve.xbuf.XbufVariableDateField val)
public final com.neeve.xbuf.XbufVariableDateField getDateReturnValueField()
public final boolean hasDateReturnValue()
ISrvMonInvokeCommandResponse
hasDateReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getDateReturnValue()
public final void clearDateReturnValue()
ISrvMonInvokeCommandResponse
clearDateReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setDateReturnValue(Date)
public static final int getStringReturnValueFieldId()
This method can be used to set field interests.
getStringReturnValue()
public final void setStringReturnValue(String val)
ISrvMonInvokeCommandResponse
setStringReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final String getStringReturnValue()
ISrvMonInvokeCommandResponse
getStringReturnValue
in interface ISrvMonInvokeCommandResponse
public final void lendStringReturnValue(XString val)
ISrvMonInvokeCommandResponse
lendStringReturnValue
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final void setStringReturnValueFrom(long val)
ISrvMonInvokeCommandResponse
NOTE:
This is the same as calling ISrvMonInvokeCommandResponse.setStringReturnValue(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setStringReturnValueFrom
in interface ISrvMonInvokeCommandResponse
public final <T extends XString> T getStringReturnValueTo(XString.Factory<T> factory)
ISrvMonInvokeCommandResponse
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getStringReturnValueTo
in interface ISrvMonInvokeCommandResponse
factory
- The factory from which to get the XString to copy into and return
null
.public final void setStringReturnValueFrom(XString val)
ISrvMonInvokeCommandResponse
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandResponse.setStringReturnValue(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setStringReturnValueFrom
in interface ISrvMonInvokeCommandResponse
public final void getStringReturnValueTo(XString val)
ISrvMonInvokeCommandResponse
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandResponse.getStringReturnValue()
bec
because it can avoid decoding the value into an String
.
getStringReturnValueTo
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getStringReturnValue()
public final XString getStringReturnValueUnsafe()
ISrvMonInvokeCommandResponse
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getStringReturnValueUnsafe
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getStringReturnValue()
public final void setStringReturnValueFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getStringReturnValueField()
public final boolean hasStringReturnValue()
ISrvMonInvokeCommandResponse
hasStringReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getStringReturnValue()
public final void clearStringReturnValue()
ISrvMonInvokeCommandResponse
clearStringReturnValue
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setStringReturnValue(String)
public static final int getErrorMessageFieldId()
This method can be used to set field interests.
getErrorMessage()
public final void setErrorMessage(String val)
ISrvMonInvokeCommandResponse
setErrorMessage
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final String getErrorMessage()
ISrvMonInvokeCommandResponse
getErrorMessage
in interface ISrvMonInvokeCommandResponse
public final void lendErrorMessage(XString val)
ISrvMonInvokeCommandResponse
lendErrorMessage
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final void setErrorMessageFrom(long val)
ISrvMonInvokeCommandResponse
NOTE:
This is the same as calling ISrvMonInvokeCommandResponse.setErrorMessage(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setErrorMessageFrom
in interface ISrvMonInvokeCommandResponse
public final <T extends XString> T getErrorMessageTo(XString.Factory<T> factory)
ISrvMonInvokeCommandResponse
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getErrorMessageTo
in interface ISrvMonInvokeCommandResponse
factory
- The factory from which to get the XString to copy into and return
null
.public final void setErrorMessageFrom(XString val)
ISrvMonInvokeCommandResponse
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandResponse.setErrorMessage(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setErrorMessageFrom
in interface ISrvMonInvokeCommandResponse
public final void getErrorMessageTo(XString val)
ISrvMonInvokeCommandResponse
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandResponse.getErrorMessage()
bec
because it can avoid decoding the value into an String
.
getErrorMessageTo
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getErrorMessage()
public final XString getErrorMessageUnsafe()
ISrvMonInvokeCommandResponse
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getErrorMessageUnsafe
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getErrorMessage()
public final void setErrorMessageFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getErrorMessageField()
public final boolean hasErrorMessage()
ISrvMonInvokeCommandResponse
hasErrorMessage
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getErrorMessage()
public final void clearErrorMessage()
ISrvMonInvokeCommandResponse
clearErrorMessage
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setErrorMessage(String)
public static final int getStackTraceFieldId()
This method can be used to set field interests.
getStackTrace()
public final void setStackTrace(String val)
ISrvMonInvokeCommandResponse
setStackTrace
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final String getStackTrace()
ISrvMonInvokeCommandResponse
getStackTrace
in interface ISrvMonInvokeCommandResponse
public final void lendStackTrace(XString val)
ISrvMonInvokeCommandResponse
lendStackTrace
in interface ISrvMonInvokeCommandResponse
val
- The value to set.public final void setStackTraceFrom(long val)
ISrvMonInvokeCommandResponse
NOTE:
This is the same as calling ISrvMonInvokeCommandResponse.setStackTrace(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setStackTraceFrom
in interface ISrvMonInvokeCommandResponse
public final <T extends XString> T getStackTraceTo(XString.Factory<T> factory)
ISrvMonInvokeCommandResponse
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getStackTraceTo
in interface ISrvMonInvokeCommandResponse
factory
- The factory from which to get the XString to copy into and return
null
.public final void setStackTraceFrom(XString val)
ISrvMonInvokeCommandResponse
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandResponse.setStackTrace(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setStackTraceFrom
in interface ISrvMonInvokeCommandResponse
public final void getStackTraceTo(XString val)
ISrvMonInvokeCommandResponse
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandResponse.getStackTrace()
bec
because it can avoid decoding the value into an String
.
getStackTraceTo
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getStackTrace()
public final XString getStackTraceUnsafe()
ISrvMonInvokeCommandResponse
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getStackTraceUnsafe
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getStackTrace()
public final void setStackTraceFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getStackTraceField()
public final boolean hasStackTrace()
ISrvMonInvokeCommandResponse
hasStackTrace
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.getStackTrace()
public final void clearStackTrace()
ISrvMonInvokeCommandResponse
clearStackTrace
in interface ISrvMonInvokeCommandResponse
ISrvMonInvokeCommandResponse.setStackTrace(String)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
MessageView
serializeToByteArray
in interface MessageView
public final ByteBuffer serializeToByteBuffer()
MessageView
serializeToByteBuffer
in interface MessageView
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
MessageView
MessageView
to an IOBuffer.
Ownership of the returned IOBuffer is given to the caller which should dispose of it when done.
The buffer backing the IOBuffer should be flipped (ready for read) upon return.
serializeToIOBuffer
in interface MessageView
serializeToIOBuffer
in class MessageViewImpl
useNative
- Whether the returned buffer should be native.
MessageView
serialized to an IOBuffer.public final PktPacket serializeToPacket()
MessageView
serializeToPacket
in interface MessageView
public final SrvMonInvokeCommandResponse deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray
in interface MessageView
array
- The view's backing message serialized as a byte array.public final SrvMonInvokeCommandResponse deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer
in interface MessageView
buffer
- The view's backing message serialized as a byte buffer.public final SrvMonInvokeCommandResponse deserializeFromPacket(PktPacket packet)
MessageView
deserializeFromPacket
in interface MessageView
packet
- The view's backing message serialized as a packet.public final void sync()
MessageView
sync
in interface MessageView
public final SrvMonInvokeCommandResponse copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonInvokeCommandResponse's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandResponse is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copy
in interface IRogCopyableNode<ISrvMonInvokeCommandResponse>
copy
in interface ISrvMonInvokeCommandResponse
copy
in interface CopyableMessageView<ISrvMonInvokeCommandResponse>
IRogCopyableNode
,
CopyableMessageView
public final void copyInto(SrvMonInvokeCommandResponse copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonInvokeCommandResponse's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandResponse is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copyInto
in interface ISrvMonInvokeCommandResponse
copy
- The target to copy into which must not be null or read only.public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
desync
in interface com.neeve.xbuf.IXbufDesyncer
public boolean needsSync()
MessageReflector
needsSync
in interface MessageReflector
public final boolean fieldExists(Object message, String name)
MessageReflector
fieldExists
in interface MessageReflector
message
- The message to check in.name
- The field to check for.public final boolean isFieldReflectable(Object message, String name)
MessageReflector
isFieldReflectable
in interface MessageReflector
message
- The message to check in.name
- The field to check for.
public final String getFieldValueAsString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[])
since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsString
in interface MessageReflector
message
- The message to introspect.name
- The field whose value is to be retrieved specified as a bean path
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final String getFieldValueAsString(Object message, String[] pathComponents)
MessageReflector
getFieldValueAsString
in interface MessageReflector
message
- The message to introspect.pathComponents
- The path components to use to access the field.
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final XString getFieldValueAsRawString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[])
since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsRawString
in interface MessageReflector
message
- The message to introspect.name
- The field whose value is to be retrieved specified as a bean path
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
MessageReflector
getFieldValueAsRawString
in interface MessageReflector
message
- The message to introspect.pathComponents
- The path components to use to access the field.
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final boolean appendFieldValueTo(Object message, String name, XString target)
MessageReflector
If the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo
in interface MessageReflector
appendFieldValueTo
in class com.neeve.rog.impl.RogNode
message
- the node on which to reflect (which need not be this object).name
- the bean path to the field.target
- The target XString into which to append the result.
public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
MessageReflector
If the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo
in interface MessageReflector
appendFieldValueTo
in class com.neeve.rog.impl.RogNode
node
- the node on which to reflect (which need not be this object).pathComponents
- the bean path to the field on the provided object split by its '.' separated components.target
- The target XString into which to append the result.
public final IStoreObject.EncodingType getContentEncodingType()
IStoreObject
getContentEncodingType
in interface IStoreObject
public final PktPacket serialize()
IStoreObject
serialize
in interface IStoreObject
public final SrvMonInvokeCommandResponse deserialize(PktPacket packet)
IStoreObject
deserialize
in interface IStoreObject
packet
- The object in serialized form.
public final IStoreObject setFieldValue(int id, Object val)
IStoreObject
setFieldValue
in interface IStoreObject
setFieldValue
in class com.neeve.rog.impl.RogNode
This method is invoked during the rollback process to restore field values.
public final String toJsonString(boolean includeMetadata, String metadataObjectName, String payloadObjectName)
IRogJsonizable
toJsonString
in interface IRogJsonizable
includeMetadata
- Specify this parameter for the ROG entity
metadata to also be included in the JSON output. If included, the
entire ROG entity object is treated as a composite object containing
a nested metadata object and a nested data object. The next two
parameters metadataObjectName and dataObjectName
specify the names of the nested objects as they will appear in
the output JSON string.metadataObjectName
- The name of the nested metadata object
as it will appear in the output JSON string. A value of null will
default to using 'metadata' as the nested object name.payloadObjectName
- The name of the nested data object as it
will appear in the output JSON string. A value of null will default
to using 'data' as the nested object name.public final String toJsonString()
IRogJsonizable
toJsonString
in interface IRogJsonizable
public final String toString()
MessageViewImpl
toString
in class com.neeve.rog.impl.RogNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |