dist1.acb.common.transport.concretePackets
Class ResponseBalance

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

public class ResponseBalance
extends Response

Primary answers the peer for his balance

Author:
Lazar Adzigogov
See Also:
Serialized Form

Constructor Summary
ResponseBalance(Request request, java.math.BigDecimal balance)
          Creates a new instance of ResponseBalance
 
Method Summary
 java.math.BigDecimal getBalance()
          Getter for property balance.
 void setBalance(java.math.BigDecimal balance)
          Setter for property balance.
 
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

ResponseBalance

public ResponseBalance(Request request,
                       java.math.BigDecimal balance)
Creates a new instance of ResponseBalance

Method Detail

getBalance

public java.math.BigDecimal getBalance()
Getter for property balance.

Returns:
Value of property balance.

setBalance

public void setBalance(java.math.BigDecimal balance)
Setter for property balance.

Parameters:
balance - New value of property balance.


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