dist1.acb.common.transport.concretePackets
Class ResponseBalance
java.lang.Object
dist1.acb.common.transport.Packet
dist1.acb.common.transport.Response
dist1.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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResponseBalance
public ResponseBalance(Request request,
java.math.BigDecimal balance)
- Creates a new instance of ResponseBalance
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.