ADM Type | Message |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
appName | String | 16 | The name of the app that owns the bus. |
busBindingName | String | 17 | The name of the bus binding that owns the channel. |
busChannelName | String | 18 | The name of the channel that was closed. |
@Deprecated @Generated(value="com.neeve.adm.AdmXbufGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(encoding="Xbuf", compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=7) public final class SrvMonAppBusChannelClosedMessage extends com.neeve.rog.impl.RogNode implements ISrvMonAppBusChannelClosedMessage, com.neeve.link.ILnkMessage, MessageReflector, com.neeve.xbuf.IXbufDesyncer, IRogJsonizable
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonAppBusChannelClosedMessage.PacketBody
Deprecated.
The backing packet type for SrvMonAppBusChannelClosedMessage (used internally for serialization purposes).
|
IRogNode.PoolingListener
IStoreObject.EncodingType
Modifier and Type | Field and Description |
---|---|
static SrvMonAppBusChannelClosedMessage[] |
EMPTY_ARRAY
Deprecated.
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
count, head, next, prev
Modifier and Type | Method and Description |
---|---|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Deprecated.
Appends a reflected field value as a string into the given XString.
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Deprecated.
Appends a reflected field value as a string into the given XString.
|
void |
clearAppName()
Deprecated.
Clears the value of 'appName'.
|
void |
clearBusBindingName()
Deprecated.
Clears the value of 'busBindingName'.
|
void |
clearBusChannelName()
Deprecated.
Clears the value of 'busChannelName'.
|
void |
clearContent()
Deprecated.
|
void |
clearXRogType()
Deprecated.
|
SrvMonAppBusChannelClosedMessage |
copy()
Deprecated.
Creates a copy of this SrvMonAppBusChannelClosedMessage.
|
void |
copyInto(SrvMonAppBusChannelClosedMessage copy)
Deprecated.
Copies the contents of this SrvMonAppBusChannelClosedMessage into the target.
|
static SrvMonAppBusChannelClosedMessage |
create()
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
create(com.eaio.uuid.UUID id)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFrom(byte[] serializedContainer)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFrom(ByteBuffer serializedContainer)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromJson(String json)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromRawJson(String json)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromSerializedXbufContainer(byte[] serializedContainer)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromSerializedXbufContainer(ByteBuffer serializedContainer)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromSerializedXbufContainerPacket(byte[] serializedPacket)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
Deprecated.
|
static SrvMonAppBusChannelClosedMessage |
createFromXbufContainerPacket(PktPacket packet)
Deprecated.
|
static com.neeve.xbuf.XbufSchema |
createSchema()
Deprecated.
|
SrvMonAppBusChannelClosedMessage |
deserialize(PktPacket packet)
Deprecated.
Deserialize an object's data.
|
SrvMonAppBusChannelClosedMessage |
deserializeFromByteArray(byte[] array)
Deprecated.
Deserialize a view's backing message from a byte array.
|
SrvMonAppBusChannelClosedMessage |
deserializeFromByteBuffer(ByteBuffer buffer)
Deprecated.
Deserialize a view's backing message from a byte buffer.
|
SrvMonAppBusChannelClosedMessage |
deserializeFromJson(String json)
Deprecated.
Deserialize a view's backing message from a json string
|
SrvMonAppBusChannelClosedMessage |
deserializeFromPacket(PktPacket packet)
Deprecated.
Deserialize a view's backing message from a packet.
|
SrvMonAppBusChannelClosedMessage |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deprecated.
Deserialize a node's data from a protobuf message.
|
SrvMonAppBusChannelClosedMessage |
deserializeFromRawJson(String json)
Deprecated.
|
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Deprecated.
Desync fields from a buffer
|
void |
desyncFieldBitmask()
Deprecated.
|
int |
dispose()
Deprecated.
Implementation of
IRogNode.dispose()
ROG nodes piggyback on packet pooling to perform node pooling. |
boolean |
fieldExists(Object message,
String name)
Deprecated.
Check if a field of the supplied name exists in a message.
|
String |
getAppName()
Deprecated.
Gets the value of 'appName'.
|
com.neeve.xbuf.XbufStringField |
getAppNameField()
Deprecated.
|
static int |
getAppNameFieldId()
Deprecated.
|
<T extends XString> |
getAppNameTo(XString.Factory<T> factory)
Deprecated.
Copies the value of this String field into a new XString from the given factory.
|
void |
getAppNameTo(XString val)
Deprecated.
Copies the value of 'appName' into the provided XString.
|
XString |
getAppNameUnsafe()
Deprecated.
Gets the raw value of 'appName'.
|
PktBuffer |
getBackingBuffer()
Deprecated.
|
String |
getBusBindingName()
Deprecated.
Gets the value of 'busBindingName'.
|
com.neeve.xbuf.XbufStringField |
getBusBindingNameField()
Deprecated.
|
static int |
getBusBindingNameFieldId()
Deprecated.
|
<T extends XString> |
getBusBindingNameTo(XString.Factory<T> factory)
Deprecated.
Copies the value of this String field into a new XString from the given factory.
|
void |
getBusBindingNameTo(XString val)
Deprecated.
Copies the value of 'busBindingName' into the provided XString.
|
XString |
getBusBindingNameUnsafe()
Deprecated.
Gets the raw value of 'busBindingName'.
|
String |
getBusChannelName()
Deprecated.
Gets the value of 'busChannelName'.
|
com.neeve.xbuf.XbufStringField |
getBusChannelNameField()
Deprecated.
|
static int |
getBusChannelNameFieldId()
Deprecated.
|
<T extends XString> |
getBusChannelNameTo(XString.Factory<T> factory)
Deprecated.
Copies the value of this String field into a new XString from the given factory.
|
void |
getBusChannelNameTo(XString val)
Deprecated.
Copies the value of 'busChannelName' into the provided XString.
|
XString |
getBusChannelNameUnsafe()
Deprecated.
Gets the raw value of 'busChannelName'.
|
IStoreObject.EncodingType |
getContentEncodingType()
Deprecated.
Get an object's content data encoding type.
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
Deprecated.
|
XString |
getFieldValueAsRawString(Object message,
String name)
Deprecated.
Get the value of a reflectable field in a message as a string.
|
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents)
Deprecated.
Get the value of a reflectable field in a message as a string.
|
String |
getFieldValueAsString(Object message,
String name)
Deprecated.
Get the value of a reflectable field in a message as a string.
|
String |
getFieldValueAsString(Object message,
String[] pathComponents)
Deprecated.
Get the value of a reflectable field in a message as a string.
|
PktPacket |
getPacket()
Deprecated.
Return the packet tied to this message.
|
short |
getXRogType()
Deprecated.
|
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField()
Deprecated.
|
static int |
getXRogTypeFieldId()
Deprecated.
|
boolean |
hasAppName()
Deprecated.
Checks for the presence of 'appName'.
|
boolean |
hasBusBindingName()
Deprecated.
Checks for the presence of 'busBindingName'.
|
boolean |
hasBusChannelName()
Deprecated.
Checks for the presence of 'busChannelName'.
|
boolean |
hasXRogType()
Deprecated.
|
boolean |
isDirty()
Deprecated.
|
boolean |
isFieldReflectable(Object message,
String name)
Deprecated.
Check if a field of the supplied name is reflectable.
|
void |
lendAppName(XString val)
Deprecated.
Lends the value of 'appName' to this object.
|
void |
lendBusBindingName(XString val)
Deprecated.
Lends the value of 'busBindingName' to this object.
|
void |
lendBusChannelName(XString val)
Deprecated.
Lends the value of 'busChannelName' to this object.
|
boolean |
needsSync()
Deprecated.
Check if a view needs to be sync'd for reflection.
|
static void |
optimizeFor(int val)
Deprecated.
|
PktPacket |
serialize()
Deprecated.
Serialize an object's data.
|
byte[] |
serializeToByteArray()
Deprecated.
Serialize a view's backing message to a byte array.
|
ByteBuffer |
serializeToByteBuffer()
Deprecated.
Serialize a view's backing message to a byte buffer.
|
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
Deprecated.
Serializes the
MessageView to an IOBuffer. |
String |
serializeToJson()
Deprecated.
Serialize a view's backing message to JSON.
|
PktPacket |
serializeToPacket()
Deprecated.
Serialize a view's backing message to a packet.
|
com.google.protobuf.Message |
serializeToProtobuf()
Deprecated.
Serialize a node's data to a proto message.
|
String |
serializeToRawJson()
Deprecated.
|
void |
setAppName(String val)
Deprecated.
Sets the value of 'appName'.
|
void |
setAppNameFrom(long val)
Deprecated.
Sets the value of this String field to the given numeric value.
|
void |
setAppNameFrom(com.neeve.xbuf.XbufStringField val)
Deprecated.
|
void |
setAppNameFrom(XString val)
Deprecated.
Copies the provided XString value into this object's 'appName'.
|
void |
setAsReadOnly()
Deprecated.
Implementation of
IRogNode.setAsReadOnly() |
void |
setBusBindingName(String val)
Deprecated.
Sets the value of 'busBindingName'.
|
void |
setBusBindingNameFrom(long val)
Deprecated.
Sets the value of this String field to the given numeric value.
|
void |
setBusBindingNameFrom(com.neeve.xbuf.XbufStringField val)
Deprecated.
|
void |
setBusBindingNameFrom(XString val)
Deprecated.
Copies the provided XString value into this object's 'busBindingName'.
|
void |
setBusChannelName(String val)
Deprecated.
Sets the value of 'busChannelName'.
|
void |
setBusChannelNameFrom(long val)
Deprecated.
Sets the value of this String field to the given numeric value.
|
void |
setBusChannelNameFrom(com.neeve.xbuf.XbufStringField val)
Deprecated.
|
void |
setBusChannelNameFrom(XString val)
Deprecated.
Copies the provided XString value into this object's 'busChannelName'.
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
Deprecated.
|
static void |
setFieldInterest(List<Integer> fieldIds)
Deprecated.
|
IStoreObject |
setFieldValue(int id,
Object val)
Deprecated.
|
void |
setPreserializedFields(PktBuffer buffer)
Deprecated.
|
void |
setXRogType(short val)
Deprecated.
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
Deprecated.
|
void |
sync()
Deprecated.
Ensure a view's backing message is prepared and ready for transport
|
void |
syncFieldBitmask()
Deprecated.
|
String |
toJsonString()
Deprecated.
Get a JSON representation of an ROG entity
|
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
Deprecated.
Get a full JSON representation of an ROG entity
|
String |
toString()
Deprecated.
Return a string representation of an ROG node.
|
void |
undispose(com.eaio.uuid.UUID id)
Deprecated.
Recuscitate a disposed node.
|
accept, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCommittedDataSize, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsLiveInboundMessage, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, 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, getStoreMetadata, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, resolveMessageKeyWith, resolveMessageKeyWith, saveMemory, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCommittedDataSize, setCreateTs, setEnqueueTsMicros, setFieldValue, setGraphId, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setMessageTransportHeaders, 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
acquire, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, setTag
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, deserializeMetadata, deserializeMetadata, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serializeMetadata, setFieldValue
ensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionId
getMessageReflector
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
getValidationErrors, isValid
public static final SrvMonAppBusChannelClosedMessage[] EMPTY_ARRAY
public static SrvMonAppBusChannelClosedMessage create()
public static SrvMonAppBusChannelClosedMessage create(com.eaio.uuid.UUID id)
public static SrvMonAppBusChannelClosedMessage createFromXbufContainerPacket(PktPacket packet)
public static SrvMonAppBusChannelClosedMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonAppBusChannelClosedMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonAppBusChannelClosedMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonAppBusChannelClosedMessage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAppBusChannelClosedMessage createFromRawJson(String json)
public static SrvMonAppBusChannelClosedMessage createFromJson(String json)
public static SrvMonAppBusChannelClosedMessage createFrom(ByteBuffer serializedContainer)
public static SrvMonAppBusChannelClosedMessage createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
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()
com.neeve.link.ILnkMessage
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 SrvMonAppBusChannelClosedMessage deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf
in interface IRogNode
message
- The protobuf messagepublic final SrvMonAppBusChannelClosedMessage deserializeFromRawJson(String json)
public final SrvMonAppBusChannelClosedMessage 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()
com.neeve.rog.impl.RogNode
IRogNode.setAsReadOnly()
setAsReadOnly
in interface IRogNode
setAsReadOnly
in class com.neeve.rog.impl.RogNode
public int dispose()
com.neeve.rog.impl.RogNode
IRogNode.dispose()
ROG nodes piggyback on packet pooling to perform node pooling. When this
disposed, nodes release their reference to their backing packet (if a
node is not backed by a packet, the this method does nothing and the
node is released for garbage collection). The reference release will
cause the packet to ultimately enter into its pool (if a poolable
packet type). Since nodes are tagged to packets (via TAG_ROG_ENVELOPE),
nodes implictly also get pooled. To resuscitate a disposed node, the
user should get the node from its packet and invoke RogNode.undispose(com.eaio.uuid.UUID)
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)
com.neeve.rog.impl.RogNode
undispose
in class com.neeve.rog.impl.RogNode
id
- The resuscitated node's id.
This method should be called to resuscitate a disposed node. Since the caller must release all references to a disposed node, the only place a disposed node can be obtained from is its pooled backing packet container. Upon retrieving a packet from a pool, the user should obtain the node from the TAG_ROG_ENVELOPE packet tag. If the tag is non-null, then it refers to an ROG node object. The user should invoke this method on the node before using the node.
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
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 getAppNameFieldId()
public final void setAppName(String val)
ISrvMonAppBusChannelClosedMessage
setAppName
in interface ISrvMonAppBusChannelClosedMessage
val
- The value to set.public final String getAppName()
ISrvMonAppBusChannelClosedMessage
getAppName
in interface ISrvMonAppBusChannelClosedMessage
public final void lendAppName(XString val)
ISrvMonAppBusChannelClosedMessage
This method is equivalent to setAppName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendAppName
in interface ISrvMonAppBusChannelClosedMessage
val
- The value to set.public final void setAppNameFrom(long val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is the same as calling ISrvMonAppBusChannelClosedMessage.setAppName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAppNameFrom
in interface ISrvMonAppBusChannelClosedMessage
public final <T extends XString> T getAppNameTo(XString.Factory<T> factory)
ISrvMonAppBusChannelClosedMessage
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;
getAppNameTo
in interface ISrvMonAppBusChannelClosedMessage
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setAppNameFrom(XString val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppBusChannelClosedMessage.setAppName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setAppNameFrom
in interface ISrvMonAppBusChannelClosedMessage
public final void getAppNameTo(XString val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppBusChannelClosedMessage.getAppName()
bec
because it can avoid decoding the value into an String
.
getAppNameTo
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getAppName()
public final XString getAppNameUnsafe()
ISrvMonAppBusChannelClosedMessage
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.
getAppNameUnsafe
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getAppName()
public final void setAppNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getAppNameField()
public final boolean hasAppName()
ISrvMonAppBusChannelClosedMessage
hasAppName
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getAppName()
public final void clearAppName()
ISrvMonAppBusChannelClosedMessage
clearAppName
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.setAppName(String)
public static final int getBusBindingNameFieldId()
public final void setBusBindingName(String val)
ISrvMonAppBusChannelClosedMessage
setBusBindingName
in interface ISrvMonAppBusChannelClosedMessage
val
- The value to set.public final String getBusBindingName()
ISrvMonAppBusChannelClosedMessage
getBusBindingName
in interface ISrvMonAppBusChannelClosedMessage
public final void lendBusBindingName(XString val)
ISrvMonAppBusChannelClosedMessage
This method is equivalent to setBusBindingName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendBusBindingName
in interface ISrvMonAppBusChannelClosedMessage
val
- The value to set.public final void setBusBindingNameFrom(long val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is the same as calling ISrvMonAppBusChannelClosedMessage.setBusBindingName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setBusBindingNameFrom
in interface ISrvMonAppBusChannelClosedMessage
public final <T extends XString> T getBusBindingNameTo(XString.Factory<T> factory)
ISrvMonAppBusChannelClosedMessage
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;
getBusBindingNameTo
in interface ISrvMonAppBusChannelClosedMessage
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setBusBindingNameFrom(XString val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppBusChannelClosedMessage.setBusBindingName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setBusBindingNameFrom
in interface ISrvMonAppBusChannelClosedMessage
public final void getBusBindingNameTo(XString val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppBusChannelClosedMessage.getBusBindingName()
bec
because it can avoid decoding the value into an String
.
getBusBindingNameTo
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getBusBindingName()
public final XString getBusBindingNameUnsafe()
ISrvMonAppBusChannelClosedMessage
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.
getBusBindingNameUnsafe
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getBusBindingName()
public final void setBusBindingNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getBusBindingNameField()
public final boolean hasBusBindingName()
ISrvMonAppBusChannelClosedMessage
hasBusBindingName
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getBusBindingName()
public final void clearBusBindingName()
ISrvMonAppBusChannelClosedMessage
clearBusBindingName
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.setBusBindingName(String)
public static final int getBusChannelNameFieldId()
public final void setBusChannelName(String val)
ISrvMonAppBusChannelClosedMessage
setBusChannelName
in interface ISrvMonAppBusChannelClosedMessage
val
- The value to set.public final String getBusChannelName()
ISrvMonAppBusChannelClosedMessage
getBusChannelName
in interface ISrvMonAppBusChannelClosedMessage
public final void lendBusChannelName(XString val)
ISrvMonAppBusChannelClosedMessage
This method is equivalent to setBusChannelName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendBusChannelName
in interface ISrvMonAppBusChannelClosedMessage
val
- The value to set.public final void setBusChannelNameFrom(long val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is the same as calling ISrvMonAppBusChannelClosedMessage.setBusChannelName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setBusChannelNameFrom
in interface ISrvMonAppBusChannelClosedMessage
public final <T extends XString> T getBusChannelNameTo(XString.Factory<T> factory)
ISrvMonAppBusChannelClosedMessage
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;
getBusChannelNameTo
in interface ISrvMonAppBusChannelClosedMessage
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setBusChannelNameFrom(XString val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppBusChannelClosedMessage.setBusChannelName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setBusChannelNameFrom
in interface ISrvMonAppBusChannelClosedMessage
public final void getBusChannelNameTo(XString val)
ISrvMonAppBusChannelClosedMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppBusChannelClosedMessage.getBusChannelName()
bec
because it can avoid decoding the value into an String
.
getBusChannelNameTo
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getBusChannelName()
public final XString getBusChannelNameUnsafe()
ISrvMonAppBusChannelClosedMessage
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.
getBusChannelNameUnsafe
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getBusChannelName()
public final void setBusChannelNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getBusChannelNameField()
public final boolean hasBusChannelName()
ISrvMonAppBusChannelClosedMessage
hasBusChannelName
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.getBusChannelName()
public final void clearBusChannelName()
ISrvMonAppBusChannelClosedMessage
clearBusChannelName
in interface ISrvMonAppBusChannelClosedMessage
ISrvMonAppBusChannelClosedMessage.setBusChannelName(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 SrvMonAppBusChannelClosedMessage deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray
in interface MessageView
array
- The view's backing message serialized as a byte array.public final SrvMonAppBusChannelClosedMessage deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer
in interface MessageView
buffer
- The view's backing message serialized as a byte buffer.public final SrvMonAppBusChannelClosedMessage 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 SrvMonAppBusChannelClosedMessage 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 SrvMonAppBusChannelClosedMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppBusChannelClosedMessage 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<ISrvMonAppBusChannelClosedMessage>
copy
in interface ISrvMonAppBusChannelClosedMessage
copy
in interface CopyableMessageView<ISrvMonAppBusChannelClosedMessage>
IRogCopyableNode
,
CopyableMessageView
public final void copyInto(SrvMonAppBusChannelClosedMessage 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 SrvMonAppBusChannelClosedMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppBusChannelClosedMessage 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 ISrvMonAppBusChannelClosedMessage
copy
- The target to copy into which must not be null or read only.public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncer
desync
in interface com.neeve.xbuf.IXbufDesyncer
buffer
- The buffer to desync frompos
- The position in the container's backing buffer to desync
fromframeOnly
- Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean)
for more
informationpublic 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 pathMessageReflector.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 pathMessageReflector.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)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector()
,
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
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 on the provided object.target
- The target XString into which to append the result.public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector()
,
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
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 SrvMonAppBusChannelClosedMessage deserialize(PktPacket packet)
IStoreObject
deserialize
in interface IStoreObject
packet
- The object in serialized form.public final IStoreObject setFieldValue(int id, Object val)
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()
com.neeve.rog.impl.RogNode
toString
in class com.neeve.rog.impl.RogNode
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.