set_interaction


Description:

public void set_interaction (TlsInteraction? interaction)

Set the object that will be used to interact with the user.

It will be used for things like prompting the user for passwords.

The interaction argument will normally be a derived subclass of TlsInteraction. null can also be provided if no user interaction should occur for this connection.

Parameters:

this

a connection

interaction

an interaction object, or null