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
doWork()
conditionalBuy(Wallet w, Object trigger, int action, double amount, Object expires)
conditionalSell(Wallet cred, double amount)
pollBalance(Wallet cred)
printScheduler()
/**
* SchedulerGateway.java - An abstract base class for scheduling
* algorithms.
* 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;
public
abstract
class
SchedulerGateway
{
/**
* Description here
*/
public
abstract
void
doWork
();
/**
* Description here
* @param null
* @param null
* @return
*/
public
abstract
void
conditionalBuy
(Wallet w, Object trigger,
int
action,
double
amount, Object expires);
/**
* Description here
* @param null
* @param null
* @return
*/
public
abstract
void
conditionalSell
(Wallet cred,
double
amount);
/**
* Description here
* @param null
* @param null
* @return
*/
public
abstract
Wallet
pollBalance
(Wallet cred);
/**
* Print the currently used Scheduler
* @return
*/
public
abstract
void
printScheduler
();
}