cmlabs::MessageSender Class Reference

#include <Message.h>

List of all members.

Public Member Functions

virtual MessagesendReceiveMsgTo (const JString &name, Message *msg, int timeout=MSGTIMEOUT)=0
 Send Message to name, get Message back -- WILL DESTROY Message.
virtual bool sendMsgTo (const JString &name, Message *msg, int timeout=MSGTIMEOUT)=0
 Send Message to name, confirm delivery -- WILL DESTROY Message.
virtual bool log (int level, char *format,...)=0
 Send text to Logger.
virtual bool setStatus (const JString &name, const JString &value)=0
virtual JString getStatus (const JString &name)=0
virtual TCPLocation resolve (const JString &name, bool forceCNSLookup=false)=0


Detailed Description

Definition at line 317 of file Message.h.


Member Function Documentation

virtual Message* cmlabs::MessageSender::sendReceiveMsgTo ( const JString name,
Message msg,
int  timeout = MSGTIMEOUT 
) [pure virtual]

Send Message to name, get Message back -- WILL DESTROY Message.

virtual bool cmlabs::MessageSender::sendMsgTo ( const JString name,
Message msg,
int  timeout = MSGTIMEOUT 
) [pure virtual]

Send Message to name, confirm delivery -- WILL DESTROY Message.

virtual bool cmlabs::MessageSender::log ( int  level,
char *  format,
  ... 
) [pure virtual]

Send text to Logger.

Adds a log entry to Logger. It will log compName, the text str and the type, which can be used to filter when looking at the Logger later.

Parameters:
str the text to be added to logger.
type a text to filter by in the Logger

virtual bool cmlabs::MessageSender::setStatus ( const JString name,
const JString value 
) [pure virtual]

virtual JString cmlabs::MessageSender::getStatus ( const JString name  )  [pure virtual]

virtual TCPLocation cmlabs::MessageSender::resolve ( const JString name,
bool  forceCNSLookup = false 
) [pure virtual]


The documentation for this class was generated from the following file:

Generated on Tue Jul 7 16:23:23 2009 for CoreLibrary by  doxygen 1.5.6