net.corda.client / CordaRPCClient / start

start

fun start(username: String, password: String): Unit

Opens the connection to the server and registers a JVM shutdown hook to cleanly disconnect.