serverino.daemon

Types 2

Fields
Socket listener
CoarseTime statusChangedAt
State status
Socket unixSocket
socket_t unixSocketHandle
Communicator communicator
size_t responseExpected
size_t responseReceived
Communicator[] backlog
size_t backlogHead
size_t backlogCount
size_t[] backlogSizes
size_t backlogBytes
DataBuffer!ubyte backlogPartial
size_t backlogDepth
SOCKET_BUFFER_SIZE
MAX_BACKLOG_BYTES
bool reloadRequested
bool isDynamic
WorkerInfo[] instances
string exePath
Methods
string toString()
void reinit(Type workerType)
void clear()
void enqueue(Communicator c, size_t size)
bool canQueue(size_t size)
static auto ref alive()
static auto ref dead()
Constructors
Nested Templates
State
Type
structDaemon
Methods
bool bootCompleted() static @safe @nogc nothrowIs serverino ready to accept requests?
bool bootFailed() static @safe @nogc nothrowDid serverino give up starting? (invalid configuration, or a return code set from `@onServerInit`)
string bootError() static @trusted nothrowWhy the boot failed. Empty if it didn't.
void setBootFailure(string message) static @trusted nothrow
void reload() static @safe @nogc nothrowReload all workers
void shutdown() staticShutdown the serverino daemon.
void suspend() static @safe @nogc nothrowSuspend the daemon.
void resume() static @safe @nogc nothrowResume the daemon.
bool isRunning() static @nogc nothrowCheck if the daemon is running.
bool isSuspended() static @safe @nogc nothrow
bool isExiting() static @safe @nogc nothrow
string buildId() static
void wake(Modules...)(DaemonConfigPtr config, WorkerConfigPtr workerConfig) static

Functions 2

fnvoid tryInit(Modules...)()
fnvoid tryUninit(Modules...)()

Variables 1

varCoarseTime now