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 RequestHandler
basePolicy
- the base policy's call-backpublic void act(double timeStep)
act
in interface RequestHandler
timeStep
- the time periodpublic void processRequestMsg(Request msg)
processRequestMsg
in interface RequestHandler
msg
- the request messagepublic StatCollector<?> getStatCollector()
getStatCollector
in interface RequestHandler
Copyright © 2013. All rights reserved.