@ApiAudience.Private @ApiStability.Unstable public class TransactionBaseTemplate extends java.lang.Object implements ChannelInjectable, ContextProviderInjectable
Modifier and Type | Field and Description |
---|---|
protected types.AergoRPCServiceGrpc.AergoRPCServiceFutureStub |
aergoService |
protected ContextProvider |
contextProvider |
protected org.slf4j.Logger |
logger |
protected ModelConverter<Transaction,types.Blockchain.Tx> |
transactionConverter |
protected ModelConverter<Transaction,types.Blockchain.TxInBlock> |
transactionInBlockConverter |
Constructor and Description |
---|
TransactionBaseTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
setChannel(io.grpc.ManagedChannel channel) |
void |
setContextProvider(ContextProvider contextProvider) |
protected final transient org.slf4j.Logger logger
protected final ModelConverter<Transaction,types.Blockchain.Tx> transactionConverter
protected final ModelConverter<Transaction,types.Blockchain.TxInBlock> transactionInBlockConverter
protected types.AergoRPCServiceGrpc.AergoRPCServiceFutureStub aergoService
protected ContextProvider contextProvider
public void setChannel(io.grpc.ManagedChannel channel)
setChannel
in interface ChannelInjectable
public void setContextProvider(ContextProvider contextProvider)
setContextProvider
in interface ContextProviderInjectable