Uses of Class
org.powertac.common.Broker

Packages that use Broker
org.powertac.common   
org.powertac.common.msg   
org.powertac.common.repo   
 

Uses of Broker in org.powertac.common
 

Fields in org.powertac.common declared as Broker
protected  Broker TariffMessage.broker
          The broker originating this message
protected  Broker BrokerTransaction.broker
          Whose transaction is this?
 

Methods in org.powertac.common that return Broker
 Broker Broker.addMarketPosition(MarketPosition posn, Timeslot slot)
          Associates a MarketPosition with a given Timeslot.
 Broker TariffMessage.getBroker()
           
 Broker BrokerTransaction.getBroker()
          The Broker to whom this Transaction applies.
 Broker TariffSpecification.getBroker()
           
 Broker Order.getBroker()
           
 Broker Tariff.getBroker()
           
 Broker CashPosition.getBroker()
          Returns the broker whose cash is represented.
 Broker MarketPosition.getBroker()
           
 

Constructors in org.powertac.common with parameters of type Broker
BalancingTransaction(Broker broker, org.joda.time.Instant when, double kWh, double charge)
           
BankTransaction(Broker broker, double amount, org.joda.time.Instant time)
          Constructs a new BankTransaction instance, giving it a new id.
BrokerTransaction(org.joda.time.Instant when, Broker broker)
          A BrokerTransaction contains a Broker and an Instant that represents the time when the transaction was posted.
CashPosition(Broker broker, double initialBalance)
           
DistributionTransaction(Broker broker, org.joda.time.Instant when, double kwh, double charge)
           
MarketPosition(Broker broker, Timeslot timeslot, double balance)
           
MarketTransaction(Broker broker, org.joda.time.Instant when, Timeslot timeslot, double mWh, double price)
           
Order(Broker broker, Timeslot timeslot, double mWh, Double limitPrice)
          Creates a new Order for Broker to buy or sell a quantity of energy in Timeslot.
TariffMessage(Broker broker)
           
TariffSpecification(Broker broker, PowerType powerType)
          Creates a new TariffSpecification for a broker and a specific powerType.
TariffTransaction(Broker broker, org.joda.time.Instant when, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge)
          Creates a new TariffTransaction for broker of type txType against a particular tariff spec and customer.
 

Uses of Broker in org.powertac.common.msg
 

Methods in org.powertac.common.msg that return Broker
 Broker BrokerAuthentication.getBroker()
           
 Broker PauseRequest.getBroker()
           
 Broker TariffStatus.getBroker()
           
 Broker PauseRelease.getBroker()
           
 

Methods in org.powertac.common.msg with parameters of type Broker
 void BrokerAuthentication.setBroker(Broker broker)
           
 

Constructors in org.powertac.common.msg with parameters of type Broker
BrokerAuthentication(Broker broker)
          Creates an instance
PauseRelease(Broker broker)
           
PauseRequest(Broker broker)
           
TariffExpire(Broker broker, TariffSpecification tariff, org.joda.time.Instant expiration)
           
TariffRevoke(Broker broker, TariffSpecification tariff)
           
TariffStatus(Broker broker, long tariffId, long updateId, TariffStatus.Status status)
           
TariffUpdate(Broker broker, long tariffId)
           
TariffUpdate(Broker broker, TariffSpecification tariff)
           
VariableRateUpdate(Broker broker, Rate rate, HourlyCharge hourlyCharge)
           
 

Uses of Broker in org.powertac.common.repo
 

Methods in org.powertac.common.repo that return Broker
 Broker BrokerRepo.findById(long id)
           
 Broker BrokerRepo.findByUsername(String username)
           
 Broker BrokerRepo.findOrCreateByUsername(String username)
           
 

Methods in org.powertac.common.repo that return types with arguments of type Broker
 List<Broker> BrokerRepo.findRetailBrokers()
           
 List<Broker> BrokerRepo.findWholesaleBrokers()
           
 Collection<Broker> BrokerRepo.list()
           
 

Methods in org.powertac.common.repo with parameters of type Broker
 void BrokerRepo.add(Broker broker)
           
 



Copyright © 2011. All Rights Reserved.