Class NameServiceImpl
java.lang.Object
com.kryptokrauts.aeternity.sdk.service.name.impl.NameServiceImpl
- All Implemented Interfaces:
NameService
public final class NameServiceImpl extends java.lang.Object implements NameService
-
Constructor Summary
Constructors Constructor Description NameServiceImpl()
-
Method Summary
Modifier and Type Method Description io.reactivex.Single<NameEntryResult>
asyncGetNameId(java.lang.String name)
asynchronously returns the nameid object for given aens nameNameEntryResult
blockingGetNameId(java.lang.String name)
synchronously returns the nameid object for given aens nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NameServiceImpl
public NameServiceImpl()
-
-
Method Details
-
asyncGetNameId
Description copied from interface:NameService
asynchronously returns the nameid object for given aens name- Specified by:
asyncGetNameId
in interfaceNameService
- Parameters:
name
- the AENS name- Returns:
- asynchronous result handler (RxJava Single) for
KeyBlockResult
-
blockingGetNameId
Description copied from interface:NameService
synchronously returns the nameid object for given aens name- Specified by:
blockingGetNameId
in interfaceNameService
- Parameters:
name
- the AENS name- Returns:
- result of
NameEntryResult
-