madkit.kernel
Class KernelMessage
java.lang.Object
madkit.kernel.Message
madkit.kernel.KernelMessage
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, PrivateMessage
public final class KernelMessage
- extends Message
- implements PrivateMessage
This message class is used for communication between the
KernelAgent and system agents to get information about the current
state of the platform, subscribe to common hooks, ...
Any platform service beside group/role management and local
messaging and lifecycle is handled by agents, thus an extension
mechanism is needed. That is what the KernelAgent (role "kernel"
in group "system") and the hooks mechanism is for.
- Author:
- Olivier Gutknecht, Fabien Michel revized for MadKit III 05/09/01 (communication)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NO_REQUEST
public static final int NO_REQUEST
- See Also:
- Constant Field Values
INVALID_HOOK_REQUEST
public static final int INVALID_HOOK_REQUEST
- See Also:
- Constant Field Values
INVALID_INVOCATION
public static final int INVALID_INVOCATION
- See Also:
- Constant Field Values
REPLY
public static final int REPLY
- See Also:
- Constant Field Values
INVOKE
public static final int INVOKE
- See Also:
- Constant Field Values
MONITOR_HOOK
public static final int MONITOR_HOOK
- See Also:
- Constant Field Values
REQUEST_MONITOR_HOOK
public static final int REQUEST_MONITOR_HOOK
- See Also:
- Constant Field Values
REMOVE_MONITOR_HOOK
public static final int REMOVE_MONITOR_HOOK
- See Also:
- Constant Field Values
KernelMessage
public KernelMessage(int t,
int o,
java.lang.Object a,
java.lang.Object s)
KernelMessage
public KernelMessage(int t,
int o,
java.lang.Object a)
KernelMessage
public KernelMessage(int t,
int o)
getType
public int getType()
getOperation
public int getOperation()
getArgument
public java.lang.Object getArgument()
getSubject
public java.lang.Object getSubject()
toString
public java.lang.String toString()
- Description copied from class:
Message
- Returns a debug string with envelope and content for the message
- Overrides:
toString
in class Message
Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.