org.powertac.common.msg
Class BrokerAuthentication
java.lang.Object
org.powertac.common.msg.BrokerAuthentication
public class BrokerAuthentication
- extends Object
This message is used for authenticating a broker with the server.
Broker sends this message to the server with its username and game-token which
it receives from the web-app. The game-token is ignored in research mode.
If the login is accepted, a BrokerAccept message is returned.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokerAuthentication
public BrokerAuthentication(Broker broker)
- Creates an instance
getBroker
public Broker getBroker()
- Returns:
- the broker
setBroker
public void setBroker(Broker broker)
- Parameters:
broker - the broker to set
Copyright © 2011. All Rights Reserved.