ajanta.server
Class ATPAck

java.lang.Object
  |
  +--ajanta.server.ATPAck
All Implemented Interfaces:
java.io.Serializable

public class ATPAck
extends java.lang.Object
implements java.io.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.

See Also:
Serialized Form

Constructor Summary
ATPAck(ajanta.naming.URN ag, boolean ac, java.lang.Exception e)
          Constructor for the ATPAck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ATPAck

public ATPAck(ajanta.naming.URN ag,
              boolean ac,
              java.lang.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