|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.common.msg.BrokerAccept
public class BrokerAccept
This message is used to signify that the broker authentication is accepted. Server sends this message to broker after successful validation of BrokerAuthentication message from the broker. Broker must use the prefix to initialize its IdGenerator. Note that the system time is acquired in the constructor. To maximize synchronization value, the delay between constructing and sending this message must be minimized.
| Constructor Summary | |
|---|---|
BrokerAccept(int prefix)
|
|
BrokerAccept(int prefix,
String key)
|
|
| Method Summary | |
|---|---|
String |
getKey()
Returns the jms key used to validate broker communications. |
int |
getPrefix()
Returns the ID prefix to be used by the broker. |
long |
getServerTime()
Returns the server's system time at the time this instance was created. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrokerAccept(int prefix)
public BrokerAccept(int prefix,
String key)
| Method Detail |
|---|
public int getPrefix()
public String getKey()
public long getServerTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||