#include <llviewercommunication.h>
Collaboration diagram for LLViewerCommunication:
Public Member Functions | |
LLViewerCommunication () | |
bool | parse (const LLString &text, const LLUUID &speaker) |
Parses a chat message and extracts protocol data from it if present. | |
bool | parse (char *text, const LLUUID &speaker) |
void | registerExtension (LLViewerExtension ext) |
Protected Attributes | |
std::map< LLString, LLViewerExtension > | mExtensions |
std::map< LLUUID, LLViewerCircuit > | mCircuits |
Definition at line 117 of file llviewercommunication.h.
LLViewerCommunication::LLViewerCommunication | ( | ) |
Definition at line 128 of file llviewercommunication.cpp.
References NULL, protocol_handler(), registerExtension(), and VIEWER_EXTENSION.
bool LLViewerCommunication::parse | ( | char * | text, | |
const LLUUID & | speaker | |||
) | [inline] |
Parses a chat message and extracts protocol data from it if present.
text | Chat message | |
speaker | Speaker's key |
Definition at line 133 of file llviewercommunication.cpp.
References llendl, llinfos, llwarns, MAGIC_WORD, MAX_TOKENS, mCircuits, mExtensions, LLViewerExtension::notify(), OFF_DATA, OFF_EXTENSION, OFF_MAGIC, OFF_VERSION, S32, tokenize(), VERSION, and VIEWER_EXTENSION.
Referenced by parse(), process_chat_from_simulator(), and process_improved_im().
void LLViewerCommunication::registerExtension | ( | LLViewerExtension | ext | ) | [inline] |
Definition at line 131 of file llviewercommunication.h.
References LLViewerExtension::getName(), and mExtensions.
Referenced by LLFloaterNetwork2080::LLFloaterNetwork2080(), LLTrustNet::LLTrustNet(), and LLViewerCommunication().
std::map<LLUUID, LLViewerCircuit> LLViewerCommunication::mCircuits [protected] |
std::map<LLString, LLViewerExtension> LLViewerCommunication::mExtensions [protected] |
Definition at line 135 of file llviewercommunication.h.
Referenced by parse(), and registerExtension().