const classcamAxonPlugin::AxonSyncActor

sys::Obj
  concurrent::Actor
    camAxonPlugin::AxonSyncActor

AxonSyncActor Actor to intercat with Axon / Skyspark backend

connect

Source

Void connect(Str password, AxonActorData data)

Connects the client (if not already connected)

dataFile

Source

const File dataFile

doReceive

Source

Obj? doReceive(AxonActorData data)

evalStack

Source

AxonEvalStack evalStack()

log

Source

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

Source

const File logFile

make

Source

new make(File folder)

projectFolder

Source

const File projectFolder

receive

Source

virtual override Obj? receive(Obj? obj)

Sync from/to server

reconnect

Source

Void reconnect(AxonActorData? data)

Reconnect ... useful in case we got an IoErr, such as if we got logged out

relPath

Source

Str relPath(File f)

File path relative to project using this so that if project is relocated AxonSycItem serialization stays valid

sync

Source

AxonSyncInfo sync(AxonConn conn, AxonActorData data)

Runs project synchronization with the server