MsgQMUXMapping Class Reference

#include <msgqmuxmapping.h>

Inheritance diagram for MsgQMUXMapping:

Inheritance graph
[legend]
Collaboration diagram for MsgQMUXMapping:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MsgQMUXMapping (const char *filename, side_t side)
virtual ~MsgQMUXMapping ()
bool open (key_t key)
key_t getKey ()
bool open ()
void close ()

Constructor & Destructor Documentation

MsgQMUXMapping::MsgQMUXMapping const char *  filename,
side_t  side
 

Construct a new message queue mux implentation of a Mapping.

Parameters:
filename The path to the YML mapping file.
side Our mapping side either SOURCE_SIDE or DEST_SIDE.

MsgQMUXMapping::~MsgQMUXMapping  )  [virtual]
 


Member Function Documentation

bool MsgQMUXMapping::open key_t  _key  ) 
 

Open the message queue mux with the provided key. If side is SOURCE_SIDE and key = 0 a random key will be choosen.

Parameters:
_key The message queue id.
Returns:
true on success, false otherwise.

key_t MsgQMUXMapping::getKey  )  [inline]
 

bool MsgQMUXMapping::open  )  [virtual]
 

Message queue mux implementation of open. This function should not be called. Use open(key_t key) instead.

Returns:
false.

Reimplemented from Mapping.

void MsgQMUXMapping::close  )  [virtual]
 

Message queue mux implementation of close. Calls Mapping::close() to close all the channels. Then closes the message queue mux.

Reimplemented from Mapping.


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:04:36 2006 for Sesame by  doxygen 1.4.6