| Package | Description |
|---|---|
| org.powertac.common | |
| org.powertac.common.msg | |
| org.powertac.common.repo |
| Modifier and Type | Field and Description |
|---|---|
protected Broker |
TariffMessage.broker
The broker originating this message
|
protected Broker |
BrokerTransaction.broker
Whose transaction is this?
|
| Modifier and Type | Method and Description |
|---|---|
Broker |
Broker.addMarketPosition(MarketPosition posn,
int slot)
Associates a MarketPosition with a given Timeslot.
|
Broker |
Broker.addMarketPosition(MarketPosition posn,
Timeslot slot) |
Broker |
TariffSpecification.getBroker() |
Broker |
Tariff.getBroker() |
Broker |
TariffMessage.getBroker() |
Broker |
BrokerTransaction.getBroker()
The Broker to whom this Transaction applies.
|
Broker |
MarketPosition.getBroker() |
Broker |
Order.getBroker() |
| Constructor and Description |
|---|
BalancingTransaction(Broker broker,
int when,
double kWh,
double charge) |
BankTransaction(Broker broker,
double amount,
int time)
Constructs a new BankTransaction instance, giving it a new id.
|
BrokerTransaction(int timeslotIndex,
Broker broker) |
CashPosition(Broker broker,
double balance,
int timeslot) |
DistributionTransaction(Broker broker,
int when,
double kwh,
double charge) |
MarketPosition(Broker broker,
int timeslot,
double balance) |
MarketPosition(Broker broker,
Timeslot timeslot,
double balance) |
MarketTransaction(Broker broker,
int when,
int timeslot,
double mWh,
double price) |
MarketTransaction(Broker broker,
int when,
Timeslot timeslot,
double mWh,
double price) |
Order(Broker broker,
int timeslot,
double mWh,
Double limitPrice)
Creates a new Order for Broker to buy or sell a quantity of energy
in Timeslot.
|
Order(Broker broker,
Timeslot timeslot,
double mWh,
Double limitPrice)
Deprecated.
|
TariffMessage(Broker broker) |
TariffSpecification(Broker broker,
PowerType powerType)
Creates a new TariffSpecification for a broker and a specific powerType.
|
TariffTransaction(Broker broker,
int 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Broker |
OrderStatus.broker
The broker originating this message
|
| Modifier and Type | Method and Description |
|---|---|
Broker |
PauseRelease.getBroker() |
Broker |
OrderStatus.getBroker() |
Broker |
PauseRequest.getBroker() |
| Constructor and Description |
|---|
BalancingOrder(Broker broker,
TariffSpecification tariff,
double exerciseRatio,
double price)
Creates a new BalancingOrder for the given tariff.
|
BrokerAuthentication(Broker broker)
Creates an instance from a broker
|
OrderStatus(Broker broker,
long orderId)
Convenience constructor for timeslotDisabled message
|
OrderStatus(Broker broker,
long orderId,
OrderStatus.Status status) |
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) |
| Modifier and Type | Method and Description |
|---|---|
Broker |
BrokerRepo.findById(long id) |
Broker |
BrokerRepo.findByUsername(String username) |
Broker |
BrokerRepo.findOrCreateByUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
List<Broker> |
BrokerRepo.findDisabledBrokers() |
List<Broker> |
BrokerRepo.findRetailBrokers() |
List<Broker> |
BrokerRepo.findWholesaleBrokers() |
Collection<Broker> |
BrokerRepo.list() |
| Modifier and Type | Method and Description |
|---|---|
void |
BrokerRepo.add(Broker broker) |
List<Tariff> |
TariffRepo.findTariffsByBroker(Broker broker) |
List<TariffSpecification> |
TariffRepo.findTariffSpecificationsByBroker(Broker broker) |
Copyright © 2015. All Rights Reserved.