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()
ClientLinked
getClient
in interface ClientLinked
@Nonnull public String getAccountName()
AccountName
getAccountName
in interface AccountName
public void setAccountName(@Nonnull String accountName)
AccountName
setAccountName
in interface AccountName
accountName
- account namepublic final void startAuthentication()
AuthProtocol
startAuthentication
in interface AuthProtocol
@Nonnull protected abstract String getAuthentication()
startAuthentication()
.Copyright © 2013–2019 Kitteh. All rights reserved.