Package convex.cli.client
Class AClientCommand
java.lang.Object
convex.cli.ACommand
convex.cli.ATopCommand
convex.cli.client.AClientCommand
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AddressMixinprotected KeyMixinprotected RemotePeerMixinprotected KeyStoreMixinFields inherited from class convex.cli.ATopCommand
mainParent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConvexConnect as a client to the convex networkprotected ConvexConnect to Convex ready to queryprotected ConvexConnect to Convex ready to transactprotected voidensureKeyPair(Convex convex) protected longGets user address, prompting of not provided.Methods inherited from class convex.cli.ATopCommand
cliMethods inherited from class convex.cli.ACommand
commandLine, execute, inform, inform, informError, informSuccess, informWarning, isColoured, isInteractive, isParanoid, paranoia, println, println, printRecord, printResult, prompt, readPassword, run, showUsage, verbose
-
Field Details
-
storeMixin
-
keyMixin
-
peerMixin
-
addressMixin
-
-
Constructor Details
-
AClientCommand
public AClientCommand()
-
-
Method Details
-
getClientTimeout
protected long getClientTimeout() -
clientConnect
Connect as a client to the convex network- Returns:
-
connectQuery
Connect to Convex ready to query- Returns:
-
connectTransact
Connect to Convex ready to transact- Returns:
- Throws:
InterruptedException
-
getUserAddress
Gets user address, prompting of not provided.- Returns:
- Valid Address or null if Address not valid
-
ensureKeyPair
- Throws:
InterruptedException
-