ArgsParser |
class ArgsParser |
Client |
class Client |
CmdLineOptions |
data class CmdLineOptions |
ConnectionDirection |
sealed class ConnectionDirection |
Server |
class Server |
P2P_QUEUE |
const val P2P_QUEUE: String |
nameToAddress |
val nameToAddress: Map<String, String> |
main |
fun main(args: Array<String>): Unit fun main(args: Array<String>): Unit |
printBasicNodeInfo |
fun printBasicNodeInfo(description: String, info: String? = null): Unit
Used for useful info that we always want to show, even when not logging to the console |
tcpTransport |
fun tcpTransport(direction: ConnectionDirection, host: String, port: Int): TransportConfiguration |