message.h File Reference

point to point message. More...

#include "abacus/messagebase.h"
#include <ace/SOCK_Stream.h>

Go to the source code of this file.

Classes

class  ABA_MESSAGE
 ABA_MESSAGE class implements a message buffer for sending arbitrary objects over a communication stream. It fully encapsulates the underlaying XDR stream which provides machine independant data representation. More...


Detailed Description

point to point message.

Author:
Matthias Elf
The ABA_MESSAGE class implements a message buffer for sending arbitrary objects over a communication stream. It fully encapsulates the underlaying XDR stream which provides machine independant data representation. The information needed to recreate an object has to be packed in the message buffer by pack() functions. Afterwards the message has to be sent by send(). The receiver calls receive() and then unpack() to obtain the data. We have chosen message buffers to provide a mechanism for sending objects of derived subclasses and sending data of variable size. Large objects are sent in message chunks. The user has to provide the member functions pack() and unpack() in derived classes as well as a constructor which constructs an object of that class from a message buffer.

License:
This file is part of ABACUS - A Branch And CUt System Copyright (C) 1995 - 2003 University of Cologne, Germany
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
See also:
http://www.gnu.org/copyleft/gpl.html

Definition in file message.h.


Generated on Tue Aug 14 18:09:55 2007 for ABACUS by  doxygen 1.5.1