D1Channel
//d1-client-java/io.cybercrypt.d1/D1Channel/D1Channel
D1Channel
[d1]\
public voidD1Channel(Stringendpoint, D1Channel.OptionsFunctionfunc, CallCredentialscredentials)
Initialize a new instance of D1Channel class.
Parameters
d1
endpoint | The endpoint to connect to. |
func | A lambda with extra configuration of the ManagedChannelBuilder |
credentials | The CallCredentials to use. |
[d1]\
public voidD1Channel(Stringendpoint, CallCredentialscredentials)
Initialize a new instance of the D1Channel class.
Parameters
d1
endpoint | The endpoint to connect to. |
credentials | The CallCredentials to use. |
[d1]\
public voidD1Channel(Stringendpoint, D1Channel.OptionsFunctionfunc, Stringusername, Stringpassword)
Initialize a new instance of D1Channel class.
Parameters
d1
endpoint | The endpoint to connect to. |
func | A lambda with extra configuration of the ManagedChannelBuilder |
username | The username to use. |
password | The password to use. |
[d1]\
public voidD1Channel(Stringendpoint, Stringusername, Stringpassword)
Initialize a new instance of the D1Channel class.
Parameters
d1
endpoint | The endpoint to connect to. |
username | The username to use. |
password | The password to use. |
[d1]\
public voidD1Channel(ManagedChannelchannel)
Initialize a new instance of the D1Channel class.
Parameters
d1
channel | The channel to use. |