madkit.kernel
Class NetworkRequest
java.lang.Object
madkit.kernel.Message
madkit.kernel.NetworkRequest
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, PrivateMessage
public final class NetworkRequest
- extends Message
- implements PrivateMessage
This message class is to be used to communicate with the siteAgent
of the corresponding running kernel.
- Version:
- 1.0
- Author:
- Fabien Michel 16/01/02
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BE_COMMUNICATOR
public static final int BE_COMMUNICATOR
- See Also:
- Constant Field Values
STOP_COMMUNICATOR
public static final int STOP_COMMUNICATOR
- See Also:
- Constant Field Values
CONNECTION_REQUEST
public static final int CONNECTION_REQUEST
- See Also:
- Constant Field Values
DECONNECTED_FROM
public static final int DECONNECTED_FROM
- See Also:
- Constant Field Values
GET_AVAILABLE_DESTINATIONS
public static final int GET_AVAILABLE_DESTINATIONS
- See Also:
- Constant Field Values
REQUEST_MIGRATION
public static final int REQUEST_MIGRATION
- See Also:
- Constant Field Values
INJECT_MESSAGE
public static final int INJECT_MESSAGE
- See Also:
- Constant Field Values
JOIN_COMMUNITY
public static final int JOIN_COMMUNITY
- See Also:
- Constant Field Values
LEAVE_COMMUNITY
public static final int LEAVE_COMMUNITY
- See Also:
- Constant Field Values
UPDATE_AGENCIES_INFORMATIONS
public static final int UPDATE_AGENCIES_INFORMATIONS
- Used to allow an agent to get the KernelAddress of the agent named name.
The Argument containts:
the name of the kernel the agent is looking for.
- See Also:
- Constant Field Values
NetworkRequest
public NetworkRequest(int requestCode)
NetworkRequest
public NetworkRequest(int requestCode,
java.lang.Object argument)
getRequestCode
public int getRequestCode()
getArgument
public java.lang.Object getArgument()
Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.