#include <Message.h>
Public Member Functions | |
virtual Message * | sendReceiveMsgTo (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 |
Definition at line 317 of file Message.h.
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.
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 TCPLocation cmlabs::MessageSender::resolve | ( | const JString & | name, | |
bool | forceCNSLookup = false | |||
) | [pure virtual] |