ants.p2p.http
Class HttpTransferEndControlMessage

java.lang.Object
  extended by ants.p2p.Message
      extended by ants.p2p.messages.ControlMessage
          extended by ants.p2p.http.HttpTransferEndControlMessage
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class HttpTransferEndControlMessage
extends ControlMessage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ants.p2p.Message
dest
 
Constructor Summary
HttpTransferEndControlMessage(java.lang.Integer controlID, byte[] content, java.lang.String message, HttpRequestMessage httpRequest)
           
HttpTransferEndControlMessage(Message m, java.lang.Integer controlID, byte[] content, java.lang.String message, HttpRequestMessage httpRequest)
           
 
Method Summary
 void decrypt(javax.crypto.Cipher c)
           
 void encrypt(javax.crypto.Cipher c)
           
 HttpRequestMessage getHttpRequestMessage()
           
 
Methods inherited from class ants.p2p.messages.ControlMessage
getContent, getControlId, getMessage
 
Methods inherited from class ants.p2p.Message
disableAutoRetransmit, equals, fillMessageProperties, getAck_Id, getDelivered, getDest, getPublicKey, getRetrasmissions, getSignableMessage, getSignature, getSource, getSourceAddress, getType, getVersion, invalidate, resetDelivered, resetDest, resetSource, retrasmitted, setDelivered, setPublicKey, setSignature
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpTransferEndControlMessage

public HttpTransferEndControlMessage(Message m,
                                     java.lang.Integer controlID,
                                     byte[] content,
                                     java.lang.String message,
                                     HttpRequestMessage httpRequest)

HttpTransferEndControlMessage

public HttpTransferEndControlMessage(java.lang.Integer controlID,
                                     byte[] content,
                                     java.lang.String message,
                                     HttpRequestMessage httpRequest)
Method Detail

getHttpRequestMessage

public HttpRequestMessage getHttpRequestMessage()

encrypt

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

decrypt

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