Class ClientCore
java.lang.Object
net.vincent.communidirect.client.core.ClientCore
Shared client workflows used by both GUI and terminal client modes.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomposeAndStage(SettingsManager settings) static StringderiveLocalId(byte[] pubKeyRaw) voidreadReceivedFile(Path file) sendAllStaged(KeyStoreManager keyStore) sendStagedFile(Path stagedFile, KeyStoreManager keyStore)
-
Field Details
-
ROOT_DIR
-
STAGED_DIR
-
SENT_DIR
-
MSG_DIR
-
-
Constructor Details
-
ClientCore
public ClientCore()
-
-
Method Details
-
ensureDirectories
- Throws:
IOException
-
listStagedFiles
- Throws:
IOException
-
listReceivedFiles
- Throws:
IOException
-
composeAndStage
-
stageMessage
-
sendStagedFile
-
sendAllStaged
-
readReceivedFile
- Throws:
IOException
-
deriveLocalId
-