public interface BrokerContext
Modifier and Type | Method and Description |
---|---|
org.joda.time.Instant |
getBaseTime()
Returns the simulation base time
|
Broker |
getBroker()
Returns the org.powerac.common.Broker instance
|
List<String> |
getBrokerList()
Returns the broker's list of competing brokers - non-public
|
String |
getBrokerUsername()
Returns the broker name (username of the underlying Broker)
|
int |
getUsageRecordLength()
Returns length of data array used
for tracking customer consumption/production
|
void |
registerMessageHandler(Object handler,
Class<?> messageType)
Delegates registrations to the router
|
void |
sendMessage(Object message)
Sends an outgoing message.
|
void registerMessageHandler(Object handler, Class<?> messageType)
void sendMessage(Object message)
Broker getBroker()
String getBrokerUsername()
org.joda.time.Instant getBaseTime()
int getUsageRecordLength()
Copyright © 2019 Power TAC. All rights reserved.