@Service public class ContextManagerService extends Object implements Initializable
Constructor and Description |
---|
ContextManagerService() |
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(BankTransaction btx)
BankTransaction represents an interest payment.
|
void |
handleMessage(CashPosition cp)
CashPosition updates our current bank balance.
|
void |
handleMessage(Competition comp)
Handles the Competition instance that arrives at beginning of game.
|
void |
handleMessage(DistributionReport dr)
DistributionReport gives total consumption and production for the timeslot,
summed across all brokers.
|
void |
handleMessage(Properties serverProps)
Receives the server configuration properties.
|
void |
initialize(BrokerContext broker)
Initializes a service prior to logging in to the server.
|
public void initialize(BrokerContext broker)
Initializable
initialize
in interface Initializable
public void handleMessage(BankTransaction btx)
public void handleMessage(CashPosition cp)
public void handleMessage(DistributionReport dr)
public void handleMessage(Competition comp)
public void handleMessage(Properties serverProps)
Copyright © 2019 Power TAC. All rights reserved.