Package com.attivio.sdk.admin
Class AdminMessage
- java.lang.Object
-
- com.attivio.sdk.esb.AbstractPlatformMessage
-
- com.attivio.sdk.admin.AdminMessage
-
- All Implemented Interfaces:
PlatformMessage
,java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
Ping
,PingResponse
,Shutdown
public class AdminMessage extends AbstractPlatformMessage
Base class for all messages intended for the admin service- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.attivio.sdk.esb.PlatformMessage
DEFAULT_MAX_LOG_LENGTH, MESSAGE_DROPPED, MESSAGE_SEND_TIME_PROP, PROP_MAX_LOG_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AdminMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
MessageId
getMessageId()
Gets the message id associated with the message.int
hashCode()
void
setMessageId(MessageId id)
Sets the message id associated with the message.-
Methods inherited from class com.attivio.sdk.esb.AbstractPlatformMessage
addMessageHistory, addMessageHistory, clone, getClientId, getEstimatedSize, getMessageHistory, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, hasProperty, isRedelivered, removeProperty, removeWorkflowQueue, setClientId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString
-
-
-
-
Method Detail
-
getMessageId
public MessageId getMessageId()
Gets the message id associated with the message. message ids are used for internal ordering guarantees and may change as the message propagates through the system.- Specified by:
getMessageId
in interfacePlatformMessage
- Overrides:
getMessageId
in classAbstractPlatformMessage
- Returns:
- the message ID
-
setMessageId
public void setMessageId(MessageId id)
Sets the message id associated with the message.- Specified by:
setMessageId
in interfacePlatformMessage
- Overrides:
setMessageId
in classAbstractPlatformMessage
- Parameters:
id
- the message ID
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractPlatformMessage
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classAbstractPlatformMessage
-
-