All Packages Class Hierarchy This Package Previous Next Index
Class ajanta.server.ATPAck
java.lang.Object
|
+----ajanta.server.ATPAck
- public class ATPAck
- extends Object
- implements Serializable
This class defines the format for the acknowledgement sent in response to ATPTransfer message
If transfer is successful,destination server sends a positive acknowledgment
message back to the current server of the agent. Destination server can then proceed
with activating the agent in its own protection domain. On the other
hand, if an exception occurs, for example while decrypting or
deserializing the agent, a negative acknowledgment is returned
instead.
-
ATPAck(URN, boolean, Exception)
- Constructor for the ATPAck
ATPAck
public ATPAck(URN ag,
boolean ac,
Exception e)
- Constructor for the ATPAck
- Parameters:
- ag - reference to the agent being transfered
- ac - true if agent activated false otherwise
- e - null or an exception if one occured while transfer
All Packages Class Hierarchy This Package Previous Next Index