Package fr.dyade.aaa.agent
Class AdminSyncNotification
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.SyncNotification
-
- fr.dyade.aaa.agent.AdminSyncNotification
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class AdminSyncNotification extends SyncNotification
This notification allows to require an administration action to a specified agent. It is used for JMX requests that requires an interaction with an agent. This notification is not persistent and returns a result to the sender through the SyncNotification context.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.dyade.aaa.agent.SyncNotification
SyncNotification.Context, SyncNotification.Result
-
-
Field Summary
Fields Modifier and Type Field Description static intBACKUPstatic intCLEAN_PENDING_MESSAGEstatic intCLEAN_WAITING_REQUESTprivate intcommandstatic intEXPORTstatic StringEXPORT_BINARYstatic StringEXPORT_DIRPATHstatic StringEXPORT_SELECTORstatic intNOOPprivate Propertiesparametersprivate booleanquietprivate static longserialVersionUID-
Fields inherited from class fr.dyade.aaa.agent.Notification
deadNotificationAgentId, detachable, detached, expiration, messageId, persistent, priority
-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Constructor Summary
Constructors Constructor Description AdminSyncNotification(int command, boolean quiet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(String key, String value)intgetCommand()StringgetParameter(String key)booleanisQuiet()StringBuildertoString(StringBuilder output)Appends a string image for this object to the StringBuffer parameter.-
Methods inherited from class fr.dyade.aaa.agent.SyncNotification
getException, getValue, interupt, invoke, invoke, invokeNoWait, Return, Throw, wakeup
-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, decode, encode, getContext, getDeadNotificationAgentId, getEncodableClassId, getEncodedSize, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
NOOP
public static final int NOOP
- See Also:
- Constant Field Values
-
BACKUP
public static final int BACKUP
- See Also:
- Constant Field Values
-
EXPORT
public static final int EXPORT
- See Also:
- Constant Field Values
-
EXPORT_DIRPATH
public static final String EXPORT_DIRPATH
- See Also:
- Constant Field Values
-
EXPORT_SELECTOR
public static final String EXPORT_SELECTOR
- See Also:
- Constant Field Values
-
EXPORT_BINARY
public static final String EXPORT_BINARY
- See Also:
- Constant Field Values
-
CLEAN_PENDING_MESSAGE
public static final int CLEAN_PENDING_MESSAGE
- See Also:
- Constant Field Values
-
CLEAN_WAITING_REQUEST
public static final int CLEAN_WAITING_REQUEST
- See Also:
- Constant Field Values
-
command
private int command
-
parameters
private Properties parameters
-
quiet
private boolean quiet
-
-
Method Detail
-
getCommand
public int getCommand()
-
isQuiet
public boolean isQuiet()
-
toString
public StringBuilder toString(StringBuilder output)
Description copied from class:NotificationAppends a string image for this object to the StringBuffer parameter.- Overrides:
toStringin classNotification- Parameters:
output- buffer to fill in.- Returns:
- the resulting buffer.
-
-