public class PromoterReattacherImpl extends AccountPlugin implements PromoterReattacher
| Constructor and Description |
|---|
PromoterReattacherImpl(EventManager eventManager,
IotaAPI api,
AccountStateManager manager,
AccountOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
load()
Loads this task
|
String |
name()
The public identifier/name of this plugin
|
void |
promote(Bundle pendingBundle,
String promotableTail) |
void |
reattach(Bundle pendingBundle) |
void |
shutdown()
Stops this task.
|
boolean |
start()
Starts this task
|
getAccount, setAccountpublic PromoterReattacherImpl(EventManager eventManager, IotaAPI api, AccountStateManager manager, AccountOptions options)
public void load()
TaskServiceload in interface TaskServiceload in class AccountPluginpublic boolean start()
TaskServicestart in interface TaskServicestart in class AccountPlugintrue if loaded successful. otherwise falsepublic void shutdown()
TaskServiceshutdown in interface TaskServiceshutdown in class AccountPluginpublic void promote(Bundle pendingBundle, String promotableTail)
promote in interface PromoterReattacherpublic void reattach(Bundle pendingBundle)
reattach in interface PromoterReattacherCopyright © 2019. All rights reserved.