MonAPI

Example

Summary
MonAPI
(monapi)MonAPI Library
Functions
monapi-message-sendWrapper of Message::send API.
monapi-name-whereisWrapper of monapi_name_whereis API.
Constants
MSG_OKMSG_OK
MSG_STARTEDMSG_STARTED
MSG_INTERRUPTEDMSG_INTERRUPTED
MSG_TIMERMSG_TIMER
MSG_READ_READYMSG_READ_READY
MSG_WRITE_READYMSG_WRITE_READY
MSG_TEXTMSG_TEXT
MSG_STOPMSG_STOP

(monapi)

MonAPI Library

Summary
Functions
monapi-message-sendWrapper of Message::send API.
monapi-name-whereisWrapper of monapi_name_whereis API.
Constants
MSG_OKMSG_OK
MSG_STARTEDMSG_STARTED
MSG_INTERRUPTEDMSG_INTERRUPTED
MSG_TIMERMSG_TIMER
MSG_READ_READYMSG_READ_READY
MSG_WRITE_READYMSG_WRITE_READY
MSG_TEXTMSG_TEXT
MSG_STOPMSG_STOP

Functions

monapi-message-send

Wrapper of Message::send API.

Prototype

(monapi-message-send dest header arg1 arg2 arg3 bv)

Parameters

destdestination thread id as exact integer.
headermessage header as exact integer.
arg1message arg1 as exact integer.
arg2message arg2 as exact integer.
arg3message arg3 as exact integer.
bvmessage str as bytevector, should be less than equal 128 byte.

monapi-name-whereis

Wrapper of monapi_name_whereis API.

Prototype

(monapi-name-whereis name)

Parameters

namename of server

Constants

MSG_OK

MSG_OK

MSG_STARTED

MSG_STARTED

MSG_INTERRUPTED

MSG_INTERRUPTED

MSG_TIMER

MSG_TIMER

MSG_READ_READY

MSG_READ_READY

MSG_WRITE_READY

MSG_WRITE_READY

MSG_TEXT

MSG_TEXT

MSG_STOP

MSG_STOP

Close