public abstract class AbstractAccountProtocol extends Object implements AccountName
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAccountProtocol(Client client,
String accountName)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountName()
Gets the account name.
|
protected abstract String |
getAuthentication()
Gets a String for
startAuthentication(). |
Client |
getClient()
Gets the Client to which this belongs.
|
void |
setAccountName(String accountName)
Sets the account name to use.
|
void |
startAuthentication()
Starts the authentication process.
|
String |
toString() |
@Nonnull public Client getClient()
ClientLinkedgetClient in interface ClientLinked@Nonnull public String getAccountName()
AccountNamegetAccountName in interface AccountNamepublic void setAccountName(@Nonnull String accountName)
AccountNamesetAccountName in interface AccountNameaccountName - account namepublic final void startAuthentication()
AuthProtocolstartAuthentication in interface AuthProtocol@Nonnull protected abstract String getAuthentication()
startAuthentication().Copyright © 2013–2019 Kitteh. All rights reserved.