public class BlockchainFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BLOCKCHAIN_CLASS_NAME |
static String |
RPC_CLIENT_CLASS_NAME |
| Constructor and Description |
|---|
BlockchainFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Blockchain |
getBlockchain() |
static <T extends Blockchain> |
getBlockchain(Class<T> bcClass) |
static <T extends Blockchain> |
getBlockchain(Properties props,
Class<T> bcClass) |
static <T extends Blockchain> |
getBlockchain(URL rpcUrl,
Class<T> bcClass) |
public static final String RPC_CLIENT_CLASS_NAME
public static final String BLOCKCHAIN_CLASS_NAME
public static <T extends Blockchain> T getBlockchain(Properties props, Class<T> bcClass) throws Exception
Exceptionpublic static <T extends Blockchain> T getBlockchain(URL rpcUrl, Class<T> bcClass)
public static <T extends Blockchain> T getBlockchain(Class<T> bcClass)
public static Blockchain getBlockchain()
Copyright © 2018. All rights reserved.