Package communications.portable
Class MeritOrderMessage
- java.lang.Object
-
- communications.portable.MeritOrderMessage
-
- All Implemented Interfaces:
de.dlr.gitlab.fame.communication.transfer.Portable
public class MeritOrderMessage extends Object implements de.dlr.gitlab.fame.communication.transfer.Portable
Transmit aDemandOrderBook
andSupplyOrderBook
together with a associated timeStamp- Author:
- Evelyn Sperber, Farzad Sarfarazi
-
-
Constructor Summary
Constructors Constructor Description MeritOrderMessage()
required forPortable
sMeritOrderMessage(SupplyOrderBook supplyOrderBook, DemandOrderBook demandOrderBook, de.dlr.gitlab.fame.time.TimeStamp timeStamp)
Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponentsTo(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
required forPortable
sDemandOrderBook
getDemandOrderBook()
SupplyOrderBook
getSupplyOrderBook()
de.dlr.gitlab.fame.time.TimeStamp
getTimeStamp()
void
populate(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
required forPortable
s
-
-
-
Constructor Detail
-
MeritOrderMessage
public MeritOrderMessage()
required forPortable
s
-
MeritOrderMessage
public MeritOrderMessage(SupplyOrderBook supplyOrderBook, DemandOrderBook demandOrderBook, de.dlr.gitlab.fame.time.TimeStamp timeStamp)
Creates a new instance- Parameters:
supplyOrderBook
- after clearing with assignedOrderBookItem
sdemandOrderBook
- after clearing with assignedOrderBookItem
stimeStamp
- of the associated market clearing event
-
-
Method Detail
-
addComponentsTo
public void addComponentsTo(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
required forPortable
s- Specified by:
addComponentsTo
in interfacede.dlr.gitlab.fame.communication.transfer.Portable
-
populate
public void populate(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
required forPortable
s- Specified by:
populate
in interfacede.dlr.gitlab.fame.communication.transfer.Portable
-
getSupplyOrderBook
public SupplyOrderBook getSupplyOrderBook()
- Returns:
- the
SupplyOrderBook
after market clearing with assignedOrderBookItem
s
-
getDemandOrderBook
public DemandOrderBook getDemandOrderBook()
- Returns:
- the
DemandOrderBook
after market clearing with assignedOrderBookItem
s
-
getTimeStamp
public de.dlr.gitlab.fame.time.TimeStamp getTimeStamp()
- Returns:
- timeStamp of the associated market clearing event
-
-