org.powertac.common.msg
Class BrokerAuthentication

java.lang.Object
  extended by 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.


Constructor Summary
BrokerAuthentication(Broker broker)
          Creates an instance
 
Method Summary
 Broker getBroker()
           
 void setBroker(Broker broker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerAuthentication

public BrokerAuthentication(Broker broker)
Creates an instance

Method Detail

getBroker

public Broker getBroker()
Returns:
the broker

setBroker

public void setBroker(Broker broker)
Parameters:
broker - the broker to set


Copyright © 2011. All Rights Reserved.