@Domain public class BrokerAuthentication extends Object
BrokerAccept
message is returned.Constructor and Description |
---|
BrokerAuthentication(Broker broker)
Creates an instance from a broker
|
BrokerAuthentication(String username,
String password)
Creates an instance from a username, password
|
Modifier and Type | Method and Description |
---|---|
long |
getBrokerTime()
Returns the system time set by the broker.
|
String |
getPassword() |
String |
getUsername() |
void |
setBrokerTime(long time)
Sets the system time.
|
public BrokerAuthentication(Broker broker)
public String getUsername()
public String getPassword()
public void setBrokerTime(long time)
public long getBrokerTime()
Copyright © 2019 Power TAC. All rights reserved.