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 AddressMixin
protected KeyMixin
protected RemotePeerMixin
protected KeyStoreMixin
Fields inherited from class convex.cli.ATopCommand
mainParent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Convex
Connect as a client to the convex networkprotected Convex
Connect to Convex ready to queryprotected Convex
Connect to Convex ready to transactprotected void
ensureKeyPair
(Convex convex) protected long
Gets user address, prompting of not provided.Methods inherited from class convex.cli.ATopCommand
cli
Methods 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, 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
-