The list of messages has the same syntax as the list of messages in a header file for a class. For example:
- aMethod : (int) i returnResult : (int *) i;
Input parameter types are (int), (double), (char *), (port_t_send), (port_t_rcv), (byte *).
The corresponding return parameter types are (int *), (double *), (char **), (port_t_send *), (port_t_rcv *), (byte **).
Each (byte *) parameter must be followed by an (int) parameter, which gives the number of bytes. For example:
- sendByteArray : (byte *) bytes length : (int) len;
Each (byte **) parameter must be followed by an (int *) parameter, which returns the number of bytes.
- returnByteArray : (byte **) bytes length : (int *) len;
Port_t_send corresponds to port send rights. Port_t_rcv corresponds to port receive rights.