Package convex.cli.mixins
Class RemotePeerMixin
java.lang.Object
convex.cli.ACommand
convex.cli.mixins.AMixin
convex.cli.mixins.RemotePeerMixin
- All Implemented Interfaces:
Runnable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect()
Connects to a remote peerGets the socket address for the remote peer, or null if not specified in CLIMethods inherited from class convex.cli.ACommand
commandLine, inform, inform, informError, informSuccess, informWarning, isColoured, isInteractive, isParanoid, paranoia, println, println, printRecord, printResult, prompt, readPassword, run, showUsage, showUsage, verbose
-
Constructor Details
-
RemotePeerMixin
public RemotePeerMixin()
-
-
Method Details
-
connect
Connects to a remote peer- Returns:
- Convex connection instance
-
getSocketAddress
-
getSpecifiedSource
Gets the socket address for the remote peer, or null if not specified in CLI- Returns:
- Socket address instance, or null if not specified at CLI
-