Skip to main content

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

endpointThe endpoint to connect to.
funcA lambda with extra configuration of the ManagedChannelBuilder
credentialsThe CallCredentials to use.

[d1]\

public voidD1Channel(Stringendpoint, CallCredentialscredentials)

Initialize a new instance of the D1Channel class.

Parameters

d1

endpointThe endpoint to connect to.
credentialsThe CallCredentials to use.

[d1]\

public voidD1Channel(Stringendpoint, D1Channel.OptionsFunctionfunc, Stringusername, Stringpassword)

Initialize a new instance of D1Channel class.

Parameters

d1

endpointThe endpoint to connect to.
funcA lambda with extra configuration of the ManagedChannelBuilder
usernameThe username to use.
passwordThe password to use.

[d1]\

public voidD1Channel(Stringendpoint, Stringusername, Stringpassword)

Initialize a new instance of the D1Channel class.

Parameters

d1

endpointThe endpoint to connect to.
usernameThe username to use.
passwordThe password to use.

[d1]\

public voidD1Channel(ManagedChannelchannel)

Initialize a new instance of the D1Channel class.

Parameters

d1

channelThe channel to use.