dist1.acb.common.transport.concretePackets
Class ResponseKey

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Response
          extended bydist1.acb.common.transport.concretePackets.ResponseKey
All Implemented Interfaces:
java.io.Serializable

public class ResponseKey
extends Response

ResponseKey

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

Constructor Summary
ResponseKey(Request request, byte[] key, boolean wasCharged)
          Creates a new instance of ResponseKey
 
Method Summary
 byte[] getKey()
          Getter for property key.
 boolean isWasCharged()
          Getter for property wasCharged.
 void setKey(byte[] key)
          Setter for property key.
 void setWasCharged(boolean wasCharged)
          Setter for property wasCharged.
 
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

ResponseKey

public ResponseKey(Request request,
                   byte[] key,
                   boolean wasCharged)
Creates a new instance of ResponseKey

Parameters:
key - Key
wasCharged - if this request was charged
Method Detail

getKey

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

Returns:
Value of property key.

setKey

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

Parameters:
key - New value of property key.

isWasCharged

public boolean isWasCharged()
Getter for property wasCharged.

Returns:
Value of property wasCharged.

setWasCharged

public void setWasCharged(boolean wasCharged)
Setter for property wasCharged.

Parameters:
wasCharged - New value of property wasCharged.


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