const classcamAxonPlugin::AxonSyncActor
sys::Obj concurrent::Actor camAxonPlugin::AxonSyncActor
AxonSyncActor Actor to intercat with Axon / Skyspark backend
- connect
Void connect(Str password, AxonActorData data)Connects the client (if not already connected)
- dataFile
const File dataFile- doReceive
Obj? doReceive(AxonActorData data)- evalStack
AxonEvalStack evalStack()- log
Void log(Obj obj, AxonActorData data)Log to a file in the project for debugging / tracing Obj would typically be an Err or string
- logFile
const File logFile- make
new make(File folder)- projectFolder
const File projectFolder- receive
virtual override Obj? receive(Obj? obj)Sync from/to server
- reconnect
Void reconnect(AxonActorData? data)Reconnect ... useful in case we got an IoErr, such as if we got logged out
- relPath
File path relative to project using this so that if project is relocated AxonSycItem serialization stays valid
- sync
AxonSyncInfo sync(AxonConn conn, AxonActorData data)Runs project synchronization with the server