

Public Member Functions | |
| LLVivoxProtocolParser () | |
| virtual | ~LLVivoxProtocolParser () |
Protected Member Functions | |
| void | reset () |
| void | processResponse (std::string tag) |
| void | StartTag (const char *tag, const char **attr) |
| void | EndTag (const char *tag) |
| void | CharData (const char *buffer, int length) |
| virtual EStatus | process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump) |
| Process the data in buffer. | |
Static Protected Member Functions | |
| static void XMLCALL | ExpatStartTag (void *data, const char *el, const char **attr) |
| static void XMLCALL | ExpatEndTag (void *data, const char *el) |
| static void XMLCALL | ExpatCharHandler (void *data, const XML_Char *s, int len) |
Protected Attributes | |
| std::string | mInput |
| XML_Parser | parser |
| int | responseDepth |
| bool | ignoringTags |
| bool | isEvent |
| int | ignoreDepth |
| int | returnCode |
| int | statusCode |
| std::string | statusString |
| std::string | uuidString |
| std::string | actionString |
| std::string | connectorHandle |
| std::string | accountHandle |
| std::string | sessionHandle |
| std::string | eventSessionHandle |
| std::string | eventTypeString |
| int | state |
| std::string | uriString |
| bool | isChannel |
| std::string | nameString |
| std::string | audioMediaString |
| std::string | displayNameString |
| int | participantType |
| bool | isLocallyMuted |
| bool | isModeratorMuted |
| bool | isSpeaking |
| int | volume |
| F32 | energy |
| std::string | textBuffer |
| bool | accumulateText |
Private Member Functions | |
| LOG_CLASS (LLVivoxProtocolParser) | |
Definition at line 132 of file llvoiceclient.cpp.
| LLVivoxProtocolParser::LLVivoxProtocolParser | ( | ) |
Definition at line 207 of file llvoiceclient.cpp.
References NULL, parser, and reset().

| LLVivoxProtocolParser::~LLVivoxProtocolParser | ( | ) | [virtual] |
| LLVivoxProtocolParser::LOG_CLASS | ( | LLVivoxProtocolParser | ) | [private] |
| LLIOPipe::EStatus LLVivoxProtocolParser::process_impl | ( | const LLChannelDescriptors & | channels, | |
| buffer_ptr_t & | buffer, | |||
| bool & | eos, | |||
| LLSD & | context, | |||
| LLPumpIO * | pump | |||
| ) | [protected, virtual] |
Process the data in buffer.
Definition at line 231 of file llvoiceclient.cpp.
References ExpatCharHandler(), ExpatEndTag(), ExpatStartTag(), LL_DEBUGS, LL_ENDL, LL_INFOS, LLVoiceClient::mConnected, mInput, NULL, parser, reset(), LLIOPipe::STATUS_OK, and LLIOPipe::STATUS_STOP.

| void LLVivoxProtocolParser::reset | ( | ) | [protected] |
Definition at line 215 of file llvoiceclient.cpp.
References accumulateText, ignoringTags, responseDepth, and textBuffer.
Referenced by LLVivoxProtocolParser(), and process_impl().

| void LLVivoxProtocolParser::processResponse | ( | std::string | tag | ) | [protected] |
Definition at line 532 of file llvoiceclient.cpp.
References accountHandle, actionString, LLVoiceClient::auxAudioPropertiesEvent(), LLVoiceClient::channelGetListResponse(), LLVoiceClient::connectorCreateResponse(), connectorHandle, LLVoiceClient::connectorShutdownResponse(), displayNameString, energy, eventSessionHandle, eventTypeString, isChannel, isEvent, isLocallyMuted, isModeratorMuted, isSpeaking, LL_DEBUGS, LL_ENDL, LLVoiceClient::loginResponse(), LLVoiceClient::loginStateChangeEvent(), LLVoiceClient::logoutResponse(), nameString, LLVoiceClient::participantPropertiesEvent(), LLVoiceClient::participantStateChangeEvent(), participantType, LLVoiceClient::sessionConnectResponse(), LLVoiceClient::sessionCreateResponse(), sessionHandle, LLVoiceClient::sessionNewEvent(), LLVoiceClient::sessionStateChangeEvent(), LLVoiceClient::sessionTerminateResponse(), state, statusCode, statusString, uriString, and volume.
Referenced by EndTag().


| void XMLCALL LLVivoxProtocolParser::ExpatStartTag | ( | void * | data, | |
| const char * | el, | |||
| const char ** | attr | |||
| ) | [static, protected] |
Definition at line 302 of file llvoiceclient.cpp.
Referenced by process_impl().

| void XMLCALL LLVivoxProtocolParser::ExpatEndTag | ( | void * | data, | |
| const char * | el | |||
| ) | [static, protected] |
Definition at line 313 of file llvoiceclient.cpp.
Referenced by process_impl().

| void XMLCALL LLVivoxProtocolParser::ExpatCharHandler | ( | void * | data, | |
| const XML_Char * | s, | |||
| int | len | |||
| ) | [static, protected] |
Definition at line 324 of file llvoiceclient.cpp.
Referenced by process_impl().

| void LLVivoxProtocolParser::StartTag | ( | const char * | tag, | |
| const char ** | attr | |||
| ) | [protected] |
Definition at line 336 of file llvoiceclient.cpp.
References accumulateText, actionString, LLVoiceClient::clearCaptureDevices(), LLVoiceClient::clearRenderDevices(), eventTypeString, ignoreDepth, ignoringTags, isEvent, LL_DEBUGS, LL_ENDL, responseDepth, textBuffer, and uuidString.

| void LLVivoxProtocolParser::EndTag | ( | const char * | tag | ) | [protected] |
Definition at line 405 of file llvoiceclient.cpp.
References accountHandle, accumulateText, LLVoiceClient::addCaptureDevice(), LLVoiceClient::addChannelMapEntry(), LLVoiceClient::addRenderDevice(), audioMediaString, connectorHandle, displayNameString, energy, eventSessionHandle, ignoreDepth, ignoringTags, isChannel, isEvent, isLocallyMuted, isModeratorMuted, isSpeaking, LL_DEBUGS, LL_ENDL, nameString, NULL, participantType, processResponse(), responseDepth, returnCode, sessionHandle, state, statusCode, statusString, textBuffer, uriString, and volume.

| void LLVivoxProtocolParser::CharData | ( | const char * | buffer, | |
| int | length | |||
| ) | [protected] |
std::string LLVivoxProtocolParser::mInput [protected] |
XML_Parser LLVivoxProtocolParser::parser [protected] |
Definition at line 157 of file llvoiceclient.cpp.
Referenced by LLVivoxProtocolParser(), process_impl(), and ~LLVivoxProtocolParser().
int LLVivoxProtocolParser::responseDepth [protected] |
bool LLVivoxProtocolParser::ignoringTags [protected] |
bool LLVivoxProtocolParser::isEvent [protected] |
Definition at line 160 of file llvoiceclient.cpp.
Referenced by EndTag(), processResponse(), and StartTag().
int LLVivoxProtocolParser::ignoreDepth [protected] |
int LLVivoxProtocolParser::returnCode [protected] |
int LLVivoxProtocolParser::statusCode [protected] |
std::string LLVivoxProtocolParser::statusString [protected] |
std::string LLVivoxProtocolParser::uuidString [protected] |
std::string LLVivoxProtocolParser::actionString [protected] |
std::string LLVivoxProtocolParser::connectorHandle [protected] |
std::string LLVivoxProtocolParser::accountHandle [protected] |
std::string LLVivoxProtocolParser::sessionHandle [protected] |
std::string LLVivoxProtocolParser::eventSessionHandle [protected] |
std::string LLVivoxProtocolParser::eventTypeString [protected] |
int LLVivoxProtocolParser::state [protected] |
std::string LLVivoxProtocolParser::uriString [protected] |
bool LLVivoxProtocolParser::isChannel [protected] |
std::string LLVivoxProtocolParser::nameString [protected] |
std::string LLVivoxProtocolParser::audioMediaString [protected] |
std::string LLVivoxProtocolParser::displayNameString [protected] |
int LLVivoxProtocolParser::participantType [protected] |
bool LLVivoxProtocolParser::isLocallyMuted [protected] |
bool LLVivoxProtocolParser::isModeratorMuted [protected] |
bool LLVivoxProtocolParser::isSpeaking [protected] |
int LLVivoxProtocolParser::volume [protected] |
F32 LLVivoxProtocolParser::energy [protected] |
std::string LLVivoxProtocolParser::textBuffer [protected] |
Definition at line 190 of file llvoiceclient.cpp.
Referenced by CharData(), EndTag(), reset(), and StartTag().
bool LLVivoxProtocolParser::accumulateText [protected] |
Definition at line 191 of file llvoiceclient.cpp.
Referenced by CharData(), EndTag(), reset(), and StartTag().
1.5.5