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 booleanequals(java.lang.Object other)MessageIdgetMessageId()Gets the message id associated with the message.inthashCode()voidsetMessageId(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:
getMessageIdin interfacePlatformMessage- Overrides:
getMessageIdin classAbstractPlatformMessage- Returns:
- the message ID
-
setMessageId
public void setMessageId(MessageId id)
Sets the message id associated with the message.- Specified by:
setMessageIdin interfacePlatformMessage- Overrides:
setMessageIdin classAbstractPlatformMessage- Parameters:
id- the message ID
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractPlatformMessage
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classAbstractPlatformMessage
-
-