dist1.acb.common.transport.concretePackets
Class RequestBeginSellTransaction

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Request
          extended bydist1.acb.common.transport.RequestUpdate
              extended bydist1.acb.common.transport.concretePackets.RequestBeginSellTransaction
All Implemented Interfaces:
java.io.Serializable

public class RequestBeginSellTransaction
extends RequestUpdate

RequestBeginSellTransaction

Version:
$Revision: 1.2 $
Author:
Alexander Stasiv
See Also:
Serialized Form

Constructor Summary
RequestBeginSellTransaction(long fileId, byte[] key, java.lang.String consumerLogin)
          Creates a new instance of RequestBeginSellTransaction
 
Method Summary
 java.lang.String getConsumerLogin()
          Getter for property consumerLogin.
 long getFileId()
          Getter for property fileId.
 byte[] getKey()
          Getter for property key.
 void setConsumerLogin(java.lang.String consumerLogin)
          Setter for property consumerLogin.
 void setFileId(long fileId)
          Setter for property fileId.
 void setKey(byte[] key)
          Setter for property key.
 
Methods inherited from class dist1.acb.common.transport.Packet
equals, getId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestBeginSellTransaction

public RequestBeginSellTransaction(long fileId,
                                   byte[] key,
                                   java.lang.String consumerLogin)
Creates a new instance of RequestBeginSellTransaction

Parameters:
fileId - Id of the file for sell
key - The key with which file was encripted
consumerLogin - Login of the consumer
Method Detail

setConsumerLogin

public void setConsumerLogin(java.lang.String consumerLogin)
Setter for property consumerLogin.

Parameters:
consumerLogin - New value of property consumerLogin.

getConsumerLogin

public java.lang.String getConsumerLogin()
Getter for property consumerLogin.

Returns:
Value of property consumerLogin.

setFileId

public void setFileId(long fileId)
Setter for property fileId.

Parameters:
fileId - New value of property fileId.

getFileId

public long getFileId()
Getter for property fileId.

Returns:
Value of property fileId.

setKey

public void setKey(byte[] key)
Setter for property key.

Parameters:
key - New value of property key.

getKey

public byte[] getKey()
Getter for property key.

Returns:
Value of property key.


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.