public class GoStraightRequestHandler extends Object implements RequestHandler
| Constructor and Description |
|---|
GoStraightRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
act(double timeStep)
Let the request handler to act for a given time period.
|
StatCollector<?> |
getStatCollector()
Get the statistic collector.
|
void |
processRequestMsg(Request msg)
Process the request message.
|
void |
setBasePolicyCallback(BasePolicyCallback basePolicy)
Set the base policy call-back.
|
public void setBasePolicyCallback(BasePolicyCallback basePolicy)
setBasePolicyCallback in interface RequestHandlerbasePolicy - the base policy's call-backpublic void act(double timeStep)
act in interface RequestHandlertimeStep - the time periodpublic void processRequestMsg(Request msg)
processRequestMsg in interface RequestHandlermsg - the request messagepublic StatCollector<?> getStatCollector()
getStatCollector in interface RequestHandlerCopyright © 2013. All rights reserved.