up | Inhaltsverzeichniss | Kommentar

Manual page for MSGWRAP(8)

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 | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97