ajanta.server
Class ATPRequest

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

public class ATPRequest
extends java.lang.Object
implements java.io.Serializable

Class ATPRequest encodes the format of the message sent by one agent server to another, requesting a migration of an agent.

See Also:
Serialized Form

Field Summary
 ajanta.agent.Credentials cred
          credential of the agent being transfered
 byte[] signature
          signature byte of the credential signed by owner or creator dsa private keys
 ajanta.naming.URN signedBY
          URN of the signer of the signature bytes
 
Constructor Summary
ATPRequest(ajanta.agent.Agent ag, ajanta.util.MethodSpec m, int size, ajanta.naming.URN s, int c, boolean e)
          Constructor for the ATPRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cred

public ajanta.agent.Credentials cred
credential of the agent being transfered


signature

public byte[] signature
signature byte of the credential signed by owner or creator dsa private keys


signedBY

public ajanta.naming.URN signedBY
URN of the signer of the signature bytes

Constructor Detail

ATPRequest

public ATPRequest(ajanta.agent.Agent ag,
                  ajanta.util.MethodSpec m,
                  int size,
                  ajanta.naming.URN s,
                  int c,
                  boolean e)
Constructor for the ATPRequest

Parameters:
ag - reference of the agent being transfered
m - MethodSpec of the requested method to be executed on server side
size - the size of the serialized agent object
s - URN of sending server
c - sender's nonce, to be signed by receiver
e - will the agent be sent encrypted or not