Popular Classes
S
ources
-
E
xamples
-
D
iscussions
Project: Bit4Tat
Explorer
Outline
Bit4Tat
src
com
Bit4Tat
DefaultScheduler.java
SchedulerGateway.java
ExchangesPanel.java
BitPanel.java
ResponseMtGox.java
PaymentProcessorForMtGox.java
ResponseContainer.java
PaymentProcessorForTradehill.java
JsonContainer.java
Wallet.java
FilePanel.java
OptionsPanel.java
HelpPanel.java
ResponseTradeHill.java
PaymentService.java
WalletFileIO.java
Bit4Tat.java
WalletPanel.java
getBitCoins()
getUSDS()
getHigh()
getLow()
getAvg()
getVwap()
getVol()
getLast()
getBuy()
getSell()
parseCheckBalance(BufferedReader rd)
parseTicker(BufferedReader rd)
/**
* ResponseContainer.java - An abstract class for holding parsed JSON
* information.
* Copyright (C) 2011 Josh Dorothy, Ben Harrington, Max Thayer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package
com.Bit4Tat;
import
java.io.BufferedReader;
public
abstract
class
ResponseContainer
{
//Items returned for check balance
public
abstract
String
getBitCoins
();
public
abstract
String
getUSDS
();
//Items returned for Ticker
public
abstract
Double
getHigh
();
public
abstract
Double
getLow
();
public
abstract
Double
getAvg
();
public
abstract
Double
getVwap
();
public
abstract
Double
getVol
();
public
abstract
Double
getLast
();
public
abstract
Double
getBuy
();
public
abstract
Double
getSell
();
// Extract the json fromt the charged buffer reader
public
abstract
void
parseCheckBalance
(BufferedReader rd);
public
abstract
void
parseTicker
(BufferedReader rd);
}