D1Channel
//d1-client-java/io.cybercrypt.d1/D1Channel
D1Channel
[d1]\ public class D1Channel
gRPC Channel used for communicating with D1.
Constructors
| D1Channel | [d1] public voidD1Channel(Stringendpoint, D1Channel.OptionsFunctionfunc, CallCredentialscredentials) Initialize a new instance of D1Channel class. |
| D1Channel | [d1] public voidD1Channel(Stringendpoint, CallCredentialscredentials) Initialize a new instance of the D1Channel class. |
| D1Channel | [d1] public voidD1Channel(Stringendpoint, D1Channel.OptionsFunctionfunc, Stringusername, Stringpassword) Initialize a new instance of D1Channel class. |
| D1Channel | [d1] public voidD1Channel(Stringendpoint, Stringusername, Stringpassword) Initialize a new instance of the D1Channel class. |
| D1Channel | [d1] public voidD1Channel(ManagedChannelchannel) Initialize a new instance of the D1Channel class. |
Types
| Name | Summary |
|---|---|
| OptionsFunction | [d1] public interface OptionsFunction Lambda interface for modifying channel options. |
Functions
| Name | Summary |
|---|---|
| authority | [d1] public Stringauthority() |
| awaitTermination | [d1] public booleanawaitTermination(longtimeout, TimeUnitunit) |
| isShutdown | [d1] public booleanisShutdown() |
| isTerminated | [d1] public booleanisTerminated() |
| newCall | [d1] public ClientCall<RequestT, ResponseT>newCall<RequestT, ResponseT>(MethodDescriptor<RequestT, ResponseT>methodDescriptor, CallOptionscallOptions) |
| shutdown | [d1] public ManagedChannelshutdown() |
| shutdownNow | [d1] public ManagedChannelshutdownNow() |