simB0.getHandles
Description
|
Return a list of active handles |
Lua synopsis |
table[] handles=simB0.getHandles()
|
Lua parameters |
- |
Lua return values |
handles (table of string): list of handles. |
See also
|
|
simB0.nodeCleanup
simB0.nodeCreate
simB0.nodeDestroy
simB0.nodeInit
simB0.nodeSetAnnounceTimeout
simB0.nodeSpin
Description
|
Call nodeSpinOnce() continuously |
Lua synopsis |
simB0.nodeSpin(string handle)
|
Lua parameters |
handle (string): the node handle |
Lua return values |
- |
See also
|
|
simB0.nodeSpinOnce
simB0.pingResolver
Description
|
Check if resolver node is reachable |
Lua synopsis |
bool running=simB0.pingResolver()
|
Lua parameters |
- |
Lua return values |
running (bool): true if the resolver node is running and reachable |
See also
|
|
simB0.publisherCreate
simB0.publisherDestroy
simB0.publisherPublish
simB0.serviceClientCall
simB0.serviceClientCallJSON
Description
|
wrap serviceClientCall with JSON encoding/decoding |
Lua synopsis |
table[] response=simB0.serviceClientCallJSON(string serviceClientHandle, table[] request)
|
Lua parameters |
serviceClientHandle (string): the service client handle
request (table): a Lua table to be serialized with JSON
|
Lua return values |
response (table): a Lua table with the deserialized JSON payload |
See also
|
|
simB0.serviceClientCreate
simB0.serviceClientDestroy
simB0.serviceServerCreate
simB0.serviceServerDestroy
simB0.socketCleanup
simB0.socketInit
simB0.socketPoll
simB0.socketRead
simB0.socketSetCompression
simB0.socketSetOption
Description
|
Set a low-level socket option. Available options:
- lingerPeriod
- backlog
- readTimeout
- writeTimeout
- immediate
- conflate
- readHWM
- writeHWM
|
Lua synopsis |
simB0.socketSetOption(string handle, string option, int value)
|
Lua parameters |
handle (string): socket handle
option (string): option key.
value (int): option value.
|
Lua return values |
- |
See also
|
|
simB0.socketSpinOnce
simB0.socketWrite
simB0.subscriberCreate
simB0.subscriberDestroy
|