Skip to content

Commit d165410

Browse files
committed
feat: added class structure for registeredNodeAdressBook query
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent 9eb9121 commit d165410

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package com.hedera.hashgraph.sdk;
2+
3+
import java.util.concurrent.CompletableFuture;
4+
5+
public class RegisteredNodeAddressBookQuery {
6+
// TODO: Implementation should be deferred until the mirror node API is available
7+
private String nodeType;
8+
9+
public RegisteredNodeAddressBookQuery setNodeType(String nodeType) {
10+
this.nodeType = nodeType;
11+
return this;
12+
}
13+
14+
public String getNodeType() {
15+
return this.nodeType;
16+
}
17+
18+
public RegisteredNodeAddressBook execute(Client client) {
19+
throw new RuntimeException("Method not implemented");
20+
}
21+
22+
private CompletableFuture<String> executeMirrorNodeRequest(Client client) {
23+
throw new RuntimeException("Method not implemented");
24+
}
25+
26+
private RegisteredNodeAddressBook parseRegisterNodeAddressBook(String responseBody) {
27+
throw new RuntimeException("Method not implemented");
28+
}
29+
}

0 commit comments

Comments
 (0)