ants.p2p.query
Class QueryTuple

java.lang.Object
  extended by ants.p2p.query.QueryTuple
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HttpServerInfo, QueryFileTuple, QuerySupernodeTuple, ServerInfo

public abstract class QueryTuple
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
QueryTuple(java.lang.String sessionKey)
           
 
Method Summary
 void decrypt(javax.crypto.Cipher c)
           
 void encrypt(javax.crypto.Cipher c)
           
 java.lang.String getEncryptedSessionKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTuple

public QueryTuple(java.lang.String sessionKey)
Method Detail

getEncryptedSessionKey

public java.lang.String getEncryptedSessionKey()

encrypt

public void encrypt(javax.crypto.Cipher c)
             throws java.lang.Exception
Throws:
java.lang.Exception

decrypt

public void decrypt(javax.crypto.Cipher c)
             throws java.lang.Exception
Throws:
java.lang.Exception