MSGWRAP

Section: Maintenance Commands (8)
Updated: Nov 1, 1988
Index Return to Main Contents
 

NAME

msgwrap - generate remote message classes  

SYNOPSIS

msgwrap file.msg
 

DESCRIPTION

Msgwrap reads file.msg and produces fileSpeaker.m fileSpeaker.h fileListener.m fileListener.h, which define Speaker and Listener subclasses for the list of messages in file.msg.

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.

 

SEE ALSO

Appkit documentation for Listener and Speaker classes.  

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 13:51:41 GMT, September 25, 2024