ADM Type | Message |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
appName | String | 1 | The app to which the client connected. |
clientInfo | SrvMonAppClientInfo |
2 | Hold information about the connecting client. |
@Deprecated @Generated(value="com.neeve.adm.AdmGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(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)") public interface ISrvMonAppClientConnectMessage extends IRogNode, IRogMessage, IRogCopyableNode<ISrvMonAppClientConnectMessage>
IRogNode.PoolingListener
IStoreObject.EncodingType
Modifier and Type | Method and Description |
---|---|
void |
clearAppName()
Deprecated.
Clears the value of 'appName'.
|
void |
clearClientInfo()
Deprecated.
Clears the value of 'clientInfo'.
|
SrvMonAppClientConnectMessage |
copy()
Deprecated.
Creates a copy of this SrvMonAppClientConnectMessage.
|
void |
copyInto(SrvMonAppClientConnectMessage target)
Deprecated.
Copies the contents of this SrvMonAppClientConnectMessage into the target.
|
String |
getAppName()
Deprecated.
Gets the value of 'appName'.
|
<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'.
|
SrvMonAppClientInfo |
getClientInfo()
Deprecated.
Gets the value of 'clientInfo'.
|
void |
getClientInfoTo(SrvMonAppClientInfo val)
Deprecated.
Copies the value of SrvMonAppClientInfo into the provided value.
|
boolean |
hasAppName()
Deprecated.
Checks for the presence of 'appName'.
|
boolean |
hasClientInfo()
Deprecated.
Checks for the presence of 'clientInfo'.
|
void |
lendAppName(XString val)
Deprecated.
Lends the value of 'appName' to this object.
|
void |
lendClientInfo(SrvMonAppClientInfo val)
Deprecated.
'Lends' a reference of the SrvMonAppClientInfo to the message for this field.
|
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(XString val)
Deprecated.
Copies the provided XString value into this object's 'appName'.
|
void |
setClientInfo(SrvMonAppClientInfo val)
Deprecated.
Sets the value of 'clientInfo'.
|
SrvMonAppClientInfo |
takeClientInfo()
Deprecated.
'Takes' a reference to the clientInfo field from the message.
|
deserializeFromProtobuf, dispose, dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, serializeToProtobuf, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReadOnly, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, deserialize, deserializeMetadata, deserializeMetadata, getContentEncodingType, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serialize, 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
void setAppName(String val)
val
- The value to set.String getAppName()
void lendAppName(XString val)
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.
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setAppNameFrom(long val)
NOTE:
This is the same as calling setAppName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getAppNameTo(XString.Factory<T> factory)
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;
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setAppNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setAppName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getAppNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getAppName()
bec
because it can avoid decoding the value into an String
.
getAppName()
XString getAppNameUnsafe()
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.
getAppName()
void clearAppName()
setAppName(String)
boolean hasAppName()
getAppName()
void setClientInfo(SrvMonAppClientInfo val)
val
- The value to set.void lendClientInfo(SrvMonAppClientInfo val)
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
val
- the value to 'lend' to lend.SrvMonAppClientInfo getClientInfo()
void getClientInfoTo(SrvMonAppClientInfo val)
IF the value is not set, then the contents of the provided SrvMonAppClientInfo are cleared.
val
- the value to copy intoSrvMonAppClientInfo.copyInto(SrvMonAppClientInfo)
SrvMonAppClientInfo takeClientInfo()
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
null
if the field is not set.boolean hasClientInfo()
getClientInfo()
void clearClientInfo()
setClientInfo(SrvMonAppClientInfo)
SrvMonAppClientConnectMessage 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 SrvMonAppClientConnectMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppClientConnectMessage 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 CopyableMessageView<ISrvMonAppClientConnectMessage>
copy
in interface IRogCopyableNode<ISrvMonAppClientConnectMessage>
IRogCopyableNode
,
CopyableMessageView
void copyInto(SrvMonAppClientConnectMessage target)
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 SrvMonAppClientConnectMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppClientConnectMessage is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
target
- The target to copy into which must not be null or read only.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.