use of run.wallet.iota.api.handler.MessageSendRequestHandler in project run-wallet-android by runplay.
the class IotaMessageApiProvider method loadRequestMap.
private void loadRequestMap() {
Map<Class<? extends ApiRequest>, RequestHandler> requestHandlerMap = new HashMap<>();
MessageSendRequestHandler sendMessageAction = new MessageSendRequestHandler(iotaApi, context);
MessageNewAddressRequestHandler newAddressAction = new MessageNewAddressRequestHandler(iotaApi, context);
MessageFirstLoadRequestHandler firstLoad = new MessageFirstLoadRequestHandler(iotaApi, context);
requestHandlerMap.put(sendMessageAction.getType(), sendMessageAction);
this.requestHandlerMap = requestHandlerMap;
}
Aggregations