#include <message.h>
Public Types | |
typedef std::map< const char *, LLMessageTemplate * > | message_template_name_map_t |
typedef std::map< U32, LLMessageTemplate * > | message_template_number_map_t |
typedef void(* | msg_timing_callback )(const char *hashed_name, F32 time, void *data) |
Public Member Functions | |
LLMessageSystem (const char *filename, U32 port, S32 version_major, S32 version_minor, S32 version_patch) | |
~LLMessageSystem () | |
BOOL | isOK () const |
S32 | getErrorCode () const |
void | loadTemplateFile (const char *filename) |
void | setHandlerFuncFast (const char *name, void(*handler_func)(LLMessageSystem *msgsystem, void **user_data), void **user_data=NULL) |
void | setHandlerFunc (const char *name, void(*handler_func)(LLMessageSystem *msgsystem, void **user_data), void **user_data=NULL) |
void | setExceptionFunc (EMessageException exception, msg_exception_callback func, void *data=NULL) |
BOOL | callExceptionFunc (EMessageException exception) |
void | setTimingFunc (msg_timing_callback func, void *data=NULL) |
msg_timing_callback | getTimingCallback () |
void * | getTimingCallbackData () |
BOOL | isCircuitCodeKnown (U32 code) const |
bool | addCircuitCode (U32 code, const LLUUID &session_id) |
BOOL | poll (F32 seconds) |
BOOL | checkMessages (S64 frame_count=0) |
void | processAcks () |
BOOL | isMessageFast (const char *msg) |
BOOL | isMessage (const char *msg) |
void | dumpPacketToLog () |
char * | getMessageName () |
const LLHost & | getSender () const |
U32 | getSenderIP () const |
U32 | getSenderPort () const |
const LLUUID & | getSenderID () const |
const LLUUID & | getSenderSessionID () const |
void | setMySessionID (const LLUUID &session_id) |
const LLUUID & | getMySessionID () |
void | newMessageFast (const char *name) |
void | newMessage (const char *name) |
void | copyMessageRtoS () |
void | clearMessage () |
void | nextBlockFast (const char *blockname) |
void | nextBlock (const char *blockname) |
void | addBinaryDataFast (const char *varname, const void *data, S32 size) |
void | addBinaryData (const char *varname, const void *data, S32 size) |
void | addBOOLFast (const char *varname, BOOL b) |
void | addBOOL (const char *varname, BOOL b) |
void | addS8Fast (const char *varname, S8 s) |
void | addS8 (const char *varname, S8 s) |
void | addU8Fast (const char *varname, U8 u) |
void | addU8 (const char *varname, U8 u) |
void | addS16Fast (const char *varname, S16 i) |
void | addS16 (const char *varname, S16 i) |
void | addU16Fast (const char *varname, U16 i) |
void | addU16 (const char *varname, U16 i) |
void | addF32Fast (const char *varname, F32 f) |
void | addF32 (const char *varname, F32 f) |
void | addS32Fast (const char *varname, S32 s) |
void | addS32 (const char *varname, S32 s) |
void | addU32Fast (const char *varname, U32 u) |
void | addU32 (const char *varname, U32 u) |
void | addU64Fast (const char *varname, U64 lu) |
void | addU64 (const char *varname, U64 lu) |
void | addF64Fast (const char *varname, F64 d) |
void | addF64 (const char *varname, F64 d) |
void | addVector3Fast (const char *varname, const LLVector3 &vec) |
void | addVector3 (const char *varname, const LLVector3 &vec) |
void | addVector4Fast (const char *varname, const LLVector4 &vec) |
void | addVector4 (const char *varname, const LLVector4 &vec) |
void | addVector3dFast (const char *varname, const LLVector3d &vec) |
void | addVector3d (const char *varname, const LLVector3d &vec) |
void | addQuatFast (const char *varname, const LLQuaternion &quat) |
void | addQuat (const char *varname, const LLQuaternion &quat) |
void | addUUIDFast (const char *varname, const LLUUID &uuid) |
void | addUUID (const char *varname, const LLUUID &uuid) |
void | addIPAddrFast (const char *varname, const U32 ip) |
void | addIPAddr (const char *varname, const U32 ip) |
void | addIPPortFast (const char *varname, const U16 port) |
void | addIPPort (const char *varname, const U16 port) |
void | addStringFast (const char *varname, const char *s) |
void | addString (const char *varname, const char *s) |
void | addStringFast (const char *varname, const std::string &s) |
void | addString (const char *varname, const std::string &s) |
S32 | getCurrentSendTotal () const |
TPACKETID | getCurrentRecvPacketID () |
BOOL | isSendFull (const char *blockname=NULL) |
BOOL | isSendFullFast (const char *blockname=NULL) |
BOOL | removeLastBlock () |
S32 | zeroCode (U8 **data, S32 *data_size) |
S32 | zeroCodeExpand (U8 **data, S32 *data_size) |
S32 | zeroCodeAdjustCurrentSendTotal () |
S32 | sendReliable (const LLHost &host) |
S32 | sendReliable (const U32 circuit) |
S32 | sendReliable (const LLHost &host, S32 retries, BOOL ping_based_retries, F32 timeout, void(*callback)(void **, S32), void **callback_data) |
S32 | sendSemiReliable (const LLHost &host, void(*callback)(void **, S32), void **callback_data) |
S32 | flushSemiReliable (const LLHost &host, void(*callback)(void **, S32), void **callback_data) |
S32 | flushReliable (const LLHost &host) |
void | forwardMessage (const LLHost &host) |
void | forwardReliable (const LLHost &host) |
void | forwardReliable (const U32 circuit_code) |
S32 | forwardReliable (const LLHost &host, S32 retries, BOOL ping_based_timeout, F32 timeout, void(*callback)(void **, S32), void **callback_data) |
LLHTTPClient::ResponderPtr | createResponder (const std::string &name) |
S32 | sendMessage (const LLHost &host) |
S32 | sendMessage (const U32 circuit) |
S32 | sendMessage (const LLHost &host, const char *name, const LLSD &message) |
void | getBinaryDataFast (const char *blockname, const char *varname, void *datap, S32 size, S32 blocknum=0, S32 max_size=S32_MAX) |
void | getBinaryData (const char *blockname, const char *varname, void *datap, S32 size, S32 blocknum=0, S32 max_size=S32_MAX) |
void | getBOOLFast (const char *block, const char *var, BOOL &data, S32 blocknum=0) |
void | getBOOL (const char *block, const char *var, BOOL &data, S32 blocknum=0) |
void | getS8Fast (const char *block, const char *var, S8 &data, S32 blocknum=0) |
void | getS8 (const char *block, const char *var, S8 &data, S32 blocknum=0) |
void | getU8Fast (const char *block, const char *var, U8 &data, S32 blocknum=0) |
void | getU8 (const char *block, const char *var, U8 &data, S32 blocknum=0) |
void | getS16Fast (const char *block, const char *var, S16 &data, S32 blocknum=0) |
void | getS16 (const char *block, const char *var, S16 &data, S32 blocknum=0) |
void | getU16Fast (const char *block, const char *var, U16 &data, S32 blocknum=0) |
void | getU16 (const char *block, const char *var, U16 &data, S32 blocknum=0) |
void | getS32Fast (const char *block, const char *var, S32 &data, S32 blocknum=0) |
void | getS32 (const char *block, const char *var, S32 &data, S32 blocknum=0) |
void | getF32Fast (const char *block, const char *var, F32 &data, S32 blocknum=0) |
void | getF32 (const char *block, const char *var, F32 &data, S32 blocknum=0) |
void | getU32Fast (const char *block, const char *var, U32 &data, S32 blocknum=0) |
void | getU32 (const char *block, const char *var, U32 &data, S32 blocknum=0) |
void | getU64Fast (const char *block, const char *var, U64 &data, S32 blocknum=0) |
void | getU64 (const char *block, const char *var, U64 &data, S32 blocknum=0) |
void | getF64Fast (const char *block, const char *var, F64 &data, S32 blocknum=0) |
void | getF64 (const char *block, const char *var, F64 &data, S32 blocknum=0) |
void | getVector3Fast (const char *block, const char *var, LLVector3 &vec, S32 blocknum=0) |
void | getVector3 (const char *block, const char *var, LLVector3 &vec, S32 blocknum=0) |
void | getVector4Fast (const char *block, const char *var, LLVector4 &vec, S32 blocknum=0) |
void | getVector4 (const char *block, const char *var, LLVector4 &vec, S32 blocknum=0) |
void | getVector3dFast (const char *block, const char *var, LLVector3d &vec, S32 blocknum=0) |
void | getVector3d (const char *block, const char *var, LLVector3d &vec, S32 blocknum=0) |
void | getQuatFast (const char *block, const char *var, LLQuaternion &q, S32 blocknum=0) |
void | getQuat (const char *block, const char *var, LLQuaternion &q, S32 blocknum=0) |
void | getUUIDFast (const char *block, const char *var, LLUUID &uuid, S32 blocknum=0) |
void | getUUID (const char *block, const char *var, LLUUID &uuid, S32 blocknum=0) |
void | getIPAddrFast (const char *block, const char *var, U32 &ip, S32 blocknum=0) |
void | getIPAddr (const char *block, const char *var, U32 &ip, S32 blocknum=0) |
void | getIPPortFast (const char *block, const char *var, U16 &port, S32 blocknum=0) |
void | getIPPort (const char *block, const char *var, U16 &port, S32 blocknum=0) |
void | getStringFast (const char *block, const char *var, S32 buffer_size, char *buffer, S32 blocknum=0) |
void | getString (const char *block, const char *var, S32 buffer_size, char *buffer, S32 blocknum=0) |
bool | generateDigestForNumberAndUUIDs (char *digest, const U32 number, const LLUUID &id1, const LLUUID &id2) const |
bool | generateDigestForWindowAndUUIDs (char *digest, const S32 window, const LLUUID &id1, const LLUUID &id2) const |
bool | isMatchingDigestForWindowAndUUIDs (const char *digest, const S32 window, const LLUUID &id1, const LLUUID &id2) const |
bool | generateDigestForNumber (char *digest, const U32 number) const |
bool | generateDigestForWindow (char *digest, const S32 window) const |
bool | isMatchingDigestForWindow (const char *digest, const S32 window) const |
void | showCircuitInfo () |
void | getCircuitInfo (LLSD &info) const |
U32 | getOurCircuitCode () |
void | enableCircuit (const LLHost &host, BOOL trusted) |
void | disableCircuit (const LLHost &host) |
void | sendCreateTrustedCircuit (const LLHost &host, const LLUUID &id1, const LLUUID &id2) |
void | sendDenyTrustedCircuit (const LLHost &host) |
bool | isTrustedSender (const LLHost &host) const |
bool | isTrustedMessage (const std::string &name) const |
bool | isUntrustedMessage (const std::string &name) const |
void | establishBidirectionalTrust (const LLHost &host, S64 frame_count=0) |
BOOL | getCircuitTrust (const LLHost &host) |
void | setCircuitAllowTimeout (const LLHost &host, BOOL allow) |
void | setCircuitTimeoutCallback (const LLHost &host, void(*callback_func)(const LLHost &host, void *user_data), void *user_data) |
BOOL | checkCircuitBlocked (const U32 circuit) |
BOOL | checkCircuitAlive (const U32 circuit) |
BOOL | checkCircuitAlive (const LLHost &host) |
void | setCircuitProtection (BOOL b_protect) |
U32 | findCircuitCode (const LLHost &host) |
LLHost | findHost (const U32 circuit_code) |
void | sanityCheck () |
S32 | getNumberOfBlocksFast (const char *blockname) |
S32 | getNumberOfBlocks (const char *blockname) |
S32 | getSizeFast (const char *blockname, const char *varname) |
S32 | getSize (const char *blockname, const char *varname) |
S32 | getSizeFast (const char *blockname, S32 blocknum, const char *varname) |
S32 | getSize (const char *blockname, S32 blocknum, const char *varname) |
void | resetReceiveCounts () |
void | dumpReceiveCounts () |
void | dumpCircuitInfo () |
BOOL | isClear () const |
S32 | flush (const LLHost &host) |
U32 | getListenPort (void) const |
void | startLogging () |
void | stopLogging () |
void | summarizeLogs (std::ostream &str) |
S32 | getReceiveSize () const |
S32 | getReceiveCompressedSize () const |
S32 | getReceiveBytes () const |
S32 | getUnackedListSize () const |
void | setMaxMessageTime (const F32 seconds) |
void | setMaxMessageCounts (const S32 num) |
void | setMessageBans (const LLSD &trusted, const LLSD &untrusted) |
S32 | sendError (const LLHost &host, const LLUUID &agent_id, S32 code, const std::string &token, const LLUUID &id, const std::string &system, const std::string &message, const LLSD &data) |
send an error message to the host. This is a helper method. | |
bool | checkAllMessages (S64 frame_count, LLPumpIO *http_pump) |
Static Public Member Functions | |
static U64 | getMessageTimeUsecs (const BOOL update=FALSE) |
static F64 | getMessageTimeSeconds (const BOOL update=FALSE) |
static void | setTimeDecodes (BOOL b) |
static void | setTimeDecodesSpamThreshold (F32 seconds) |
static void | processAddCircuitCode (LLMessageSystem *msg, void **) |
static void | processUseCircuitCode (LLMessageSystem *msg, void **) |
static void | processError (LLMessageSystem *msg, void **) |
static void | dispatch (const std::string &msg_name, const LLSD &message) |
static void | dispatch (const std::string &msg_name, const LLSD &message, LLHTTPNode::ResponsePtr responsep) |
Public Attributes | |
LLPacketRing | mPacketRing |
LLReliablePacketParams | mReliablePacketParams |
BOOL | mVerboseLog |
F32 | mMessageFileVersionNumber |
S32 | mSystemVersionMajor |
S32 | mSystemVersionMinor |
S32 | mSystemVersionPatch |
S32 | mSystemVersionServer |
U32 | mVersionFlags |
BOOL | mbProtected |
U32 | mNumberHighFreqMessages |
U32 | mNumberMediumFreqMessages |
U32 | mNumberLowFreqMessages |
S32 | mPort |
S32 | mSocket |
U32 | mPacketsIn |
U32 | mPacketsOut |
U64 | mBytesIn |
U64 | mBytesOut |
U32 | mCompressedPacketsIn |
U32 | mCompressedPacketsOut |
U32 | mReliablePacketsIn |
U32 | mReliablePacketsOut |
U32 | mDroppedPackets |
U32 | mResentPackets |
U32 | mFailedResendPackets |
U32 | mOffCircuitPackets |
U32 | mInvalidOnCircuitPackets |
S64 | mUncompressedBytesIn |
S64 | mUncompressedBytesOut |
S64 | mCompressedBytesIn |
S64 | mCompressedBytesOut |
S64 | mTotalBytesIn |
S64 | mTotalBytesOut |
BOOL | mSendReliable |
LLCircuit | mCircuitInfo |
F64 | mCircuitPrintTime |
F32 | mCircuitPrintFreq |
std::map< U64, U32 > | mIPPortToCircuitCode |
std::map< U32, U64 > | mCircuitCodeToIPPort |
U32 | mOurCircuitCode |
S32 | mSendPacketFailureCount |
S32 | mUnackedListDepth |
S32 | mUnackedListSize |
S32 | mDSMaxListDepth |
Private Types | |
typedef std::set< LLHost > | host_set_t |
typedef std::map< U32, LLUUID > | code_session_map_t |
typedef std::pair < msg_exception_callback, void * > | exception_t |
typedef std::map < EMessageException, exception_t > | callbacks_t |
Private Member Functions | |
void | reallySendDenyTrustedCircuit (const LLHost &host) |
void | addTemplate (LLMessageTemplate *templatep) |
void | clearReceiveState () |
BOOL | decodeTemplate (const U8 *buffer, S32 buffer_size, LLMessageTemplate **msg_template) |
void | logMsgFromInvalidCircuit (const LLHost &sender, BOOL recv_reliable) |
void | logTrustedMsgFromUntrustedCircuit (const LLHost &sender) |
void | logValidMsg (LLCircuitData *cdp, const LLHost &sender, BOOL recv_reliable, BOOL recv_resent, BOOL recv_acks) |
void | logRanOffEndOfPacket (const LLHost &sender) |
void | init () |
bool | callHandler (const char *name, bool trustedSource, LLMessageSystem *msg) |
LLCircuitData * | findCircuit (const LLHost &host, bool resetPacketId) |
Private Attributes | |
U8 | mSendBuffer [MAX_BUFFER_SIZE] |
S32 | mSendSize |
message_template_name_map_t | mMessageTemplates |
message_template_number_map_t | mMessageNumbers |
host_set_t | mDenyTrustedCircuitSet |
code_session_map_t | mCircuitCodes |
LLUUID | mSessionID |
LLMessagePollInfo * | mPollInfop |
U8 | mEncodedRecvBuffer [MAX_BUFFER_SIZE] |
U8 | mTrueReceiveBuffer [MAX_BUFFER_SIZE] |
S32 | mTrueReceiveSize |
BOOL | mbError |
S32 | mErrorCode |
F64 | mResendDumpTime |
LLMessageCountInfo | mMessageCountList [MAX_MESSAGE_COUNT_NUM] |
S32 | mNumMessageCounts |
F32 | mReceiveTime |
F32 | mMaxMessageTime |
S32 | mMaxMessageCounts |
F64 | mMessageCountTime |
F64 | mCurrentMessageTimeSeconds |
callbacks_t | mExceptionCallbacks |
LLTimer | mMessageSystemTimer |
msg_timing_callback | mTimingCallback |
void * | mTimingCallbackData |
LLHost | mLastSender |
S32 | mIncomingCompressedSize |
TPACKETID | mCurrentRecvPacketID |
LLMessageBuilder * | mMessageBuilder |
LLTemplateMessageBuilder * | mTemplateMessageBuilder |
LLSDMessageBuilder * | mLLSDMessageBuilder |
LLMessageReader * | mMessageReader |
LLTemplateMessageReader * | mTemplateMessageReader |
LLSDMessageReader * | mLLSDMessageReader |
Static Private Attributes | |
static F32 | mTimeDecodesSpamThreshold |
static BOOL | mTimeDecodes |
Friends | |
class | LLMessageHandlerBridge |
std::ostream & | operator<< (std::ostream &s, LLMessageSystem &msg) |
Classes | |
class | LLMessageCountInfo |
Definition at line 208 of file message.h.
typedef std::map<const char *, LLMessageTemplate*> LLMessageSystem::message_template_name_map_t |
typedef std::map<U32, LLMessageTemplate*> LLMessageSystem::message_template_number_map_t |
typedef void(* LLMessageSystem::msg_timing_callback)(const char *hashed_name, F32 time, void *data) |
typedef std::set<LLHost> LLMessageSystem::host_set_t [private] |
typedef std::map<U32, LLUUID> LLMessageSystem::code_session_map_t [private] |
typedef std::pair<msg_exception_callback, void*> LLMessageSystem::exception_t [private] |
typedef std::map<EMessageException, exception_t> LLMessageSystem::callbacks_t [private] |
LLMessageSystem::LLMessageSystem | ( | const char * | filename, | |
U32 | port, | |||
S32 | version_major, | |||
S32 | version_minor, | |||
S32 | version_patch | |||
) |
Definition at line 289 of file message.cpp.
References gAPRPoolp, getMessageTimeSeconds(), init(), LL_ERRS, ll_init_apr(), llendl, loadTemplateFile(), LLMessagePollInfo::mAPRSocketp, mbError, mbProtected, mCircuitPrintFreq, mCircuitPrintTime, mCurrentMessageTimeSeconds, mErrorCode, mLLSDMessageBuilder, mLLSDMessageReader, mMaxMessageCounts, mMaxMessageTime, mMessageBuilder, mMessageCountTime, mMessageNumbers, mMessageReader, mMessageTemplates, mNumMessageCounts, LLMessagePollInfo::mPollFD, mPollInfop, mPort, mResendDumpTime, mSendPacketFailureCount, mSocket, mSystemVersionMajor, mSystemVersionMinor, mSystemVersionPatch, mSystemVersionServer, mTemplateMessageBuilder, mTemplateMessageReader, mTrueReceiveSize, mVersionFlags, NULL, S32, start_net(), and TRUE.
Referenced by start_messaging_system().
LLMessageSystem::~LLMessageSystem | ( | ) |
Definition at line 397 of file message.cpp.
References end_net(), mbError, mCurrentRecvPacketID, mIncomingCompressedSize, mLLSDMessageBuilder, mLLSDMessageReader, mMessageBuilder, mMessageNumbers, mMessageReader, mMessageTemplates, mPollInfop, mSocket, mTemplateMessageBuilder, mTemplateMessageReader, and NULL.
BOOL LLMessageSystem::isOK | ( | ) | const [inline] |
Definition at line 291 of file message.h.
References mbError.
Referenced by idle_startup(), and start_messaging_system().
S32 LLMessageSystem::getErrorCode | ( | ) | const [inline] |
Definition at line 292 of file message.h.
References mErrorCode.
Referenced by idle_startup().
void LLMessageSystem::loadTemplateFile | ( | const char * | filename | ) |
Definition at line 368 of file message.cpp.
References _read_file_into_string(), addTemplate(), LLTemplateParser::getMessagesBegin(), LLTemplateParser::getMessagesEnd(), LLTemplateParser::getVersion(), LL_ERRS, LL_WARNS, llendl, mbError, mMessageFileVersionNumber, and TRUE.
Referenced by LLMessageSystem().
void LLMessageSystem::setHandlerFuncFast | ( | const char * | name, | |
void(*)(LLMessageSystem *msgsystem, void **user_data) | handler_func, | |||
void ** | user_data = NULL | |||
) |
Definition at line 2961 of file message.cpp.
References get_ptr_in_map(), LL_ERRS, llendl, mMessageTemplates, and LLMessageTemplate::setHandlerFunc().
Referenced by LLAssetStorage::_init(), establishBidirectionalTrust(), LLMuteList::getInstance(), idle_startup(), LLCacheName::Impl::Impl(), LLFloaterPay::payViaObject(), LLPanelGroupVoting::postBuild(), register_viewer_callbacks(), LLInventoryModel::registerCallbacks(), LLAvatarTracker::registerCallbacks(), LLXferManager::registerCallbacks(), setHandlerFunc(), start_messaging_system(), and LLAssetStorage::~LLAssetStorage().
void LLMessageSystem::setHandlerFunc | ( | const char * | name, | |
void(*)(LLMessageSystem *msgsystem, void **user_data) | handler_func, | |||
void ** | user_data = NULL | |||
) | [inline] |
Definition at line 302 of file message.h.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and setHandlerFuncFast().
Referenced by LLTransferManager::init(), LLViewerParcelMedia::initClass(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterRegionInfo::postBuild(), LLFloaterPay::processPayPriceReply(), register_viewer_callbacks(), LLInventoryModel::registerCallbacks(), LLAvatarTracker::registerCallbacks(), LLLandmark::registerCallbacks(), start_messaging_system(), and LLFloaterTelehub::~LLFloaterTelehub().
void LLMessageSystem::setExceptionFunc | ( | EMessageException | exception, | |
msg_exception_callback | func, | |||
void * | data = NULL | |||
) |
Definition at line 3002 of file message.cpp.
References mExceptionCallbacks.
Referenced by idle_startup().
BOOL LLMessageSystem::callExceptionFunc | ( | EMessageException | exception | ) |
Definition at line 3017 of file message.cpp.
References FALSE, mExceptionCallbacks, and TRUE.
Referenced by checkMessages(), LLTemplateMessageReader::decodeTemplate(), LLTemplateMessageReader::logRanOffEndOfPacket(), and zeroCodeExpand().
void LLMessageSystem::setTimingFunc | ( | msg_timing_callback | func, | |
void * | data = NULL | |||
) |
msg_timing_callback LLMessageSystem::getTimingCallback | ( | ) | [inline] |
Definition at line 318 of file message.h.
References mTimingCallback.
Referenced by LLTemplateMessageReader::decodeData().
void* LLMessageSystem::getTimingCallbackData | ( | ) | [inline] |
Definition at line 322 of file message.h.
References mTimingCallbackData.
Referenced by LLTemplateMessageReader::decodeData().
Definition at line 1923 of file message.cpp.
References LL_INFOS, LL_WARNS, llendl, and mCircuitCodes.
Referenced by processAddCircuitCode().
Definition at line 439 of file message.cpp.
References FALSE, ll_apr_warn_status(), LLMessagePollInfo::mPollFD, mPollInfop, S32, indra::ipc::saranwrap::status(), and TRUE.
Definition at line 548 of file message.cpp.
References _PREHASH_UseCircuitCode, LLCircuitData::ackReliablePacket(), callExceptionFunc(), clearReceiveState(), LLCircuitData::collectRAck(), dumpCircuitInfo(), FALSE, LLCircuit::findCircuit(), findCircuit(), LLPacketRing::getLastSender(), LLTemplateMessageReader::getMessageName(), getMessageTimeSeconds(), getMessageTimeUsecs(), getSender(), LLCircuitData::getTrusted(), LLCircuitData::getUnackedPacketCount(), i, LLTemplateMessageReader::isBanned(), LLCircuitData::isDuplicateResend(), LLTemplateMessageReader::isTrusted(), LL_ACK_FLAG, LL_DEBUGS, LL_INFOS, LL_MINIMUM_VALID_PACKET_SIZE, LL_RELIABLE_FLAG, LL_RESENT_FLAG, LL_WARNS, llendl, logMsgFromInvalidCircuit(), logTrustedMsgFromUntrustedCircuit(), logValidMsg(), MAX_STRING, mbProtected, mBytesIn, mCircuitInfo, mCircuitPrintFreq, mCircuitPrintTime, mCurrentMessageTimeSeconds, mCurrentRecvPacketID, LLCircuitData::mHost, mIncomingCompressedSize, mInvalidOnCircuitPackets, mLastSender, mMessageCountTime, mMessageReader, mNumMessageCounts, mOffCircuitPackets, mPacketRing, mPacketsIn, LLCircuitData::mRecentlyReceivedReliablePackets, mReliablePacketsIn, mSocket, mTemplateMessageReader, mTrueReceiveBuffer, mTrueReceiveSize, LLCircuit::mUnackedCircuitMap, mVerboseLog, MX_PACKET_TOO_SHORT, LLTemplateMessageReader::readMessage(), LLPacketRing::receivePacket(), S32, SEC_PER_USEC, sendDenyTrustedCircuit(), totalTime(), TRUE, LLTransferTargetVFile::updateQueue(), LLTemplateMessageReader::validateMessage(), and zeroCodeExpand().
Referenced by checkAllMessages(), and establishBidirectionalTrust().
void LLMessageSystem::processAcks | ( | ) |
Definition at line 917 of file message.cpp.
References LLAssetStorage::checkForTimeouts(), CIRCUIT_DUMP_TIMEOUT, indra::base::config::dump(), dumpReceiveCounts(), LLCircuit::dumpResends(), FALSE, gAssetStorage, getMessageTimeSeconds(), gTransferManager, gXferManager, LL_INFOS, llendl, mCircuitInfo, mDenyTrustedCircuitSet, mMaxMessageCounts, mMaxMessageTime, mMessageCountTime, mNumMessageCounts, mReceiveTime, mResendDumpTime, mUnackedListDepth, mUnackedListSize, reallySendDenyTrustedCircuit(), LLCircuit::resendUnackedPackets(), resetReceiveCounts(), LLXferManager::retransmitUnackedPackets(), LLCircuit::sendAcks(), TRUE, LLTransferManager::updateTransfers(), and LLCircuit::updateWatchDogTimers().
Referenced by establishBidirectionalTrust(), idle_startup(), and LLAppViewer::idleNetwork().
BOOL LLMessageSystem::isMessageFast | ( | const char * | msg | ) |
Definition at line 3041 of file message.cpp.
References LLMessageReader::getMessageName(), and mMessageReader.
Referenced by establishBidirectionalTrust(), and isMessage().
BOOL LLMessageSystem::isMessage | ( | const char * | msg | ) | [inline] |
Definition at line 339 of file message.h.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and isMessageFast().
void LLMessageSystem::dumpPacketToLog | ( | ) |
Definition at line 3350 of file message.cpp.
References LLPacketRing::getLastSender(), i, LL_WARNS, llendl, mPacketRing, mTrueReceiveBuffer, mTrueReceiveSize, and S32.
Referenced by LLAppViewer::badNetworkHandler().
char * LLMessageSystem::getMessageName | ( | ) |
Definition at line 3047 of file message.cpp.
References LLMessageReader::getMessageName(), and mMessageReader.
Referenced by LLInventoryTransactionObserver::changed(), LLInventoryAddedObserver::changed(), and idle_startup().
const LLHost & LLMessageSystem::getSender | ( | ) | const [inline] |
Definition at line 956 of file message.h.
References mLastSender.
Referenced by checkMessages(), close_circuit(), establishBidirectionalTrust(), process_agent_movement_complete(), process_complete_ping_check(), process_create_trusted_circuit(), process_deny_trusted_circuit(), process_disable_simulator(), process_improved_im(), process_initiate_download(), process_layer_data(), process_offer_callingcard(), process_packet_ack(), process_region_handshake(), process_script_dialog(), process_script_question(), process_start_ping_check(), LLWorld::processCoarseUpdate(), LLRegionEconomy::processEconomyDataRequest(), processError(), LLXferManager::processFileRequest(), LLMuteList::processMuteListUpdate(), LLViewerObjectList::processObjectUpdate(), LLViewerParcelMgr::processParcelOverlay(), LLViewerParcelMgr::processParcelProperties(), LLXferManager::processReceiveData(), LLFloaterGodTools::processRegionInfo(), LLTransferManager::processTransferAbort(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), LLViewerObject::processUpdateMessage(), processUseCircuitCode(), LLCacheName::Impl::processUUIDRequest(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), and LLViewerRegion::unpackRegionHandshake().
U32 LLMessageSystem::getSenderIP | ( | ) | const [inline] |
Definition at line 958 of file message.h.
References LLHost::getAddress(), and mLastSender.
Referenced by LLViewerObjectList::createObject(), process_kill_object(), LLSelectMgr::processForceObjectSelect(), LLViewerObjectList::processObjectUpdate(), LLViewerObjectList::processUpdateCore(), LLViewerObject::processUpdateMessage(), processUseCircuitCode(), LLViewerImageList::receiveImageHeader(), and LLViewerImageList::receiveImagePacket().
U32 LLMessageSystem::getSenderPort | ( | ) | const [inline] |
Definition at line 963 of file message.h.
References LLHost::getPort(), and mLastSender.
Referenced by LLViewerObjectList::createObject(), process_kill_object(), LLSelectMgr::processForceObjectSelect(), LLViewerObjectList::processObjectUpdate(), LLViewerObjectList::processUpdateCore(), LLViewerObject::processUpdateMessage(), and processUseCircuitCode().
const LLUUID & LLMessageSystem::getSenderID | ( | ) | const |
Definition at line 3052 of file message.cpp.
References LLCircuit::findCircuit(), mCircuitInfo, mLastSender, LLCircuitData::mRemoteID, and LLUUID::null.
const LLUUID & LLMessageSystem::getSenderSessionID | ( | ) | const |
Definition at line 3063 of file message.cpp.
References LLCircuit::findCircuit(), mCircuitInfo, mLastSender, LLCircuitData::mRemoteSessionID, and LLUUID::null.
void LLMessageSystem::setMySessionID | ( | const LLUUID & | session_id | ) | [inline] |
const LLUUID& LLMessageSystem::getMySessionID | ( | ) | [inline] |
void LLMessageSystem::newMessageFast | ( | const char * | name | ) |
Definition at line 3426 of file message.cpp.
References FALSE, LLMessageConfig::getMessageFlavor(), LLMessageConfig::getServerDefaultFlavor(), LLMessageConfig::LLSD_FLAVOR, mLLSDMessageBuilder, mMessageBuilder, mSendReliable, mTemplateMessageBuilder, LLMessageBuilder::newMessage(), and LLMessageConfig::TEMPLATE_FLAVOR.
Referenced by LLXfer::abort(), LLPanelGroups::activate(), LLToolPlacer::addObject(), LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), LLViewerParcelMgr::buyPass(), callback_leave_group(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), confirm_replace_attachment_rez(), container_inventory_arrived(), copy_inventory_item(), create_inventory_item(), LLInventoryModel::deleteFromServer(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), establishBidirectionalTrust(), LLInventoryFetchComboObserver::fetch(), LLViewerObject::fetchInventoryFromServer(), LLInventoryFetchObserver::fetchItems(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), give_money(), handle_export_selected(), handle_lure_callback(), handle_sit_or_stand(), LLViewZoomDefault::handleEvent(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), idle_startup(), LLFloaterPostcard::init(), inventory_offer_callback(), LLLiveLSLEditor::loadAsset(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), move_inventory_item(), LLViewerObject::moveInventory(), near_sit_object(), newMessage(), LLPanelDirClassified::onClickDelete(), LLPanelLandObjects::onClickRefresh(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPanelRegionTools::onSaveState(), pack_instant_message(), LLIMInfo::packInstantMessage(), LLViewerObject::parameterChanged(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_enable_simulator(), process_start_ping_check(), process_teleport_finish(), LLRegionEconomy::processEconomyDataRequest(), LLXferManager::processFileRequest(), LLAgent::queryWearableCache(), reallySendDenyTrustedCircuit(), remove_inventory_category_from_avatar_step2(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), LLViewerObject::removeInventory(), request_initial_instant_messages(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLViewerParcelMgr::requestHoverParcelProperties(), LLAgent::requestLeaveGodMode(), LLSelectMgr::requestObjectPropertiesFamily(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), ReplySender::send(), send_agent_pause(), send_agent_resume(), send_agent_update(), send_chat_from_viewer(), send_complete_agent_movement(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), send_sim_wide_deletes(), send_sound_trigger(), LLCircuit::sendAcks(), LLAgent::sendAgentDataUpdateRequest(), LLAgent::sendAgentSetAppearance(), LLAgent::sendAgentWearablesRequest(), LLAgent::sendAgentWearablesUpdate(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLXferManager::sendConfirmPacket(), sendCreateTrustedCircuit(), LLHUDManager::sendEffects(), LLPanelEvent::sendEventInfoRequest(), LLGroupMgr::sendGroupMemberJoin(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLAppViewer::sendLogoutRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLXfer::sendPacket(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLFloaterReporter::sendReportViaLegacy(), LLCacheName::Impl::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLPanelFriends::sendRightsGrant(), LLViewerObject::sendRotationUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLGroupMgr::sendUpdateGroupInfo(), LLAgent::sendWalkRun(), session_starter_helper(), LLAgent::setStartPosition(), LLFloaterPreference::show(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), LLViewerAssetStorage::storeAssetData(), LLAgent::teleportViaLandmark(), LLAgent::teleportViaLocation(), LLAgent::teleportViaLure(), LLAvatarTracker::track(), LLToolBrushLand::undo(), LLAvatarTracker::untrack(), update_fov(), LLMuteList::updateAdd(), LLViewerObject::updateInventory(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), LLViewerInventoryCategory::updateServer(), LLViewerInventoryItem::updateServer(), LLCircuitData::updateWatchDogTimers(), upload_done_callback(), LLNewAgentInventoryResponder::uploadComplete(), LLAssetStorage::uploadCompleteCallback(), velocity_interpolate(), and wear_inventory_category_on_avatar_step2().
void LLMessageSystem::newMessage | ( | const char * | name | ) |
Definition at line 3458 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and newMessageFast().
Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLGestureManager::activateGestures(), LLEventNotifier::add(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelEstateInfo::commitEstateInfoDataserver(), LLInventoryModel::createNewCategory(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), establishBidirectionalTrust(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLFloaterAvatarPicker::find(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), LLAgent::forceReleaseControls(), handle_claim_public_land(), handle_detach_from_avatar(), LLAvatarGiveCard::handleEvent(), LLFloaterReporter::LLFloaterReporter(), LLAgent::makeNewOutfit(), LLFloaterAuction::onClickOK(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLGestureManager::onLoadComplete(), LLPanelGroupNotices::onSelectNotice(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLInventoryModel::purgeDescendentsOf(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLEventNotifier::remove(), LLLandmark::requestRegionHandle(), LLFloaterRegionInfo::requestRegionInfo(), send_generic_message(), send_places_query(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLSelectMgr::sendGodlikeRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLGroupMgr::sendGroupTitleUpdate(), LLSelectMgr::sendListToRegions(), sendMessage(), LLViewerParcelMgr::sendParcelBuy(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLPanelRequestTools::sendRequest(), LLSelectMgr::sendSelectionMove(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLTracker::setLandmarkVisited(), LLAgent::setUserGroupFlags(), LLAgent::teleportCancel(), LLAgent::teleportRequest(), LLAvatarTracker::terminateBuddy(), LLViewerRegion::unpackRegionHandshake(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLTransferSourceChannel::updateTransfers(), LLFloaterPostcard::uploadCallback(), and LLAgent::userRemoveAllAttachments().
void LLMessageSystem::copyMessageRtoS | ( | ) |
Definition at line 987 of file message.cpp.
References LLMessageReader::copyToBuilder(), FALSE, LLMessageReader::getMessageName(), mLLSDMessageBuilder, mMessageBuilder, mMessageReader, mSendReliable, mTemplateMessageBuilder, mTemplateMessageReader, and LLMessageBuilder::newMessage().
Referenced by forwardMessage(), and forwardReliable().
void LLMessageSystem::clearMessage | ( | ) |
Definition at line 1004 of file message.cpp.
References LLMessageBuilder::clearMessage(), FALSE, mMessageBuilder, and mSendReliable.
Referenced by flush(), flushReliable(), flushSemiReliable(), LLSelectMgr::sendListToRegions(), and LLSelectMgr::sendSelectionMove().
void LLMessageSystem::nextBlockFast | ( | const char * | blockname | ) |
Definition at line 1011 of file message.cpp.
References mMessageBuilder, and LLMessageBuilder::nextBlock().
Referenced by LLXfer::abort(), LLPanelGroups::activate(), LLEventNotifier::add(), LLToolPlacer::addObject(), LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), LLViewerParcelMgr::buyPass(), callback_leave_group(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfoDataserver(), confirm_replace_attachment_rez(), container_inventory_arrived(), copy_inventory_item(), LLInventoryModel::deleteFromServer(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), establishBidirectionalTrust(), LLInventoryFetchComboObserver::fetch(), LLViewerObject::fetchInventoryFromServer(), LLInventoryFetchObserver::fetchItems(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), give_money(), handle_detach_from_avatar(), handle_export_selected(), handle_lure_callback(), handle_sit_or_stand(), LLViewZoomDefault::handleEvent(), LLAvatarGiveCard::handleEvent(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), idle_startup(), LLFloaterPostcard::init(), inventory_offer_callback(), LLLiveLSLEditor::loadAsset(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), move_inventory_item(), LLViewerObject::moveInventory(), near_sit_object(), nextBlock(), LLPanelDirClassified::onClickDelete(), LLPanelLandObjects::onClickRefresh(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPanelRegionTools::onSaveState(), pack_instant_message_block(), LLParcel::packAccessEntries(), LLSelectMgr::packAgentAndGroupID(), LLSelectMgr::packAgentAndSessionAndGroupID(), LLSelectMgr::packAgentAndSessionID(), LLSelectMgr::packAgentGroupAndCatID(), LLSelectMgr::packAgentID(), LLSelectMgr::packAgentIDAndSessionAndAttachment(), LLSelectMgr::packBuyObjectIDs(), LLSelectMgr::packDeleteHeader(), LLSelectMgr::packDeRezHeader(), LLSelectMgr::packDuplicate(), LLSelectMgr::packDuplicateHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packHingeHead(), LLSelectMgr::packMultipleUpdate(), LLSelectMgr::packObjectCategory(), LLSelectMgr::packObjectClickAction(), LLSelectMgr::packObjectDescription(), LLSelectMgr::packObjectID(), LLSelectMgr::packObjectIDAndRotation(), LLSelectMgr::packObjectIncludeInSearch(), LLSelectMgr::packObjectLocalID(), LLSelectMgr::packObjectName(), LLSelectMgr::packObjectSaleInfo(), LLSelectMgr::packOwnerHead(), LLSelectMgr::packPermissions(), LLSelectMgr::packPermissionsHead(), LLViewerObject::parameterChanged(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_enable_simulator(), process_start_ping_check(), process_teleport_finish(), LLRegionEconomy::processEconomyDataRequest(), LLXferManager::processFileRequest(), LLAgent::queryWearableCache(), reallySendDenyTrustedCircuit(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLEventNotifier::remove(), remove_inventory_category_from_avatar_step2(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), LLViewerObject::removeInventory(), request_initial_instant_messages(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLViewerParcelMgr::requestHoverParcelProperties(), LLAgent::requestLeaveGodMode(), LLSelectMgr::requestObjectPropertiesFamily(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), ReplySender::send(), send_agent_pause(), send_agent_resume(), send_agent_update(), send_chat_from_viewer(), send_complete_agent_movement(), send_generic_message(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), send_sim_wide_deletes(), send_sound_trigger(), LLCircuit::sendAcks(), LLAgent::sendAgentDataUpdateRequest(), LLAgent::sendAgentSetAppearance(), LLAgent::sendAgentWearablesRequest(), LLAgent::sendAgentWearablesUpdate(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLXferManager::sendConfirmPacket(), sendCreateTrustedCircuit(), LLHUDManager::sendEffects(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelEvent::sendEventInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLGroupMgr::sendGroupMemberJoin(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLAppViewer::sendLogoutRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLXfer::sendPacket(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLCacheName::Impl::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLPanelFriends::sendRightsGrant(), LLViewerObject::sendRotationUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLGroupMgr::sendUpdateGroupInfo(), LLAgent::sendWalkRun(), session_starter_helper(), LLFloaterPreference::show(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), LLViewerAssetStorage::storeAssetData(), LLAgent::teleportCancel(), LLAgent::teleportRequest(), LLAgent::teleportViaLandmark(), LLAgent::teleportViaLocation(), LLAgent::teleportViaLure(), LLAvatarTracker::track(), LLToolBrushLand::undo(), LLAvatarTracker::untrack(), update_fov(), LLMuteList::updateAdd(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), LLViewerInventoryCategory::updateServer(), LLViewerInventoryItem::updateServer(), upload_done_callback(), LLNewAgentInventoryResponder::uploadComplete(), LLAssetStorage::uploadCompleteCallback(), LLAgent::userRemoveAllAttachments(), velocity_interpolate(), and wear_inventory_category_on_avatar_step2().
void LLMessageSystem::nextBlock | ( | const char * | blockname | ) | [inline] |
Definition at line 372 of file message.h.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and nextBlockFast().
Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLGestureManager::activateGestures(), LLEventNotifier::add(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelEstateInfo::commitEstateInfoDataserver(), create_inventory_item(), LLInventoryModel::createNewCategory(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLToolDragAndDrop::dropObject(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLFloaterAvatarPicker::find(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), LLAgent::forceReleaseControls(), handle_claim_public_land(), LLFloaterReporter::LLFloaterReporter(), LLAgent::makeNewOutfit(), LLFloaterAuction::onClickOK(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLGestureManager::onLoadComplete(), LLPanelGroupNotices::onSelectNotice(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packObjectIDAsParam(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLInventoryModel::purgeDescendentsOf(), LLViewerParcelMgr::reclaimParcel(), LLEventNotifier::remove(), LLLandmark::requestRegionHandle(), LLFloaterRegionInfo::requestRegionInfo(), send_generic_message(), send_places_query(), send_return_objects_message(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLGroupMgr::sendGroupTitleUpdate(), LLViewerParcelMgr::sendParcelBuy(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLPanelRequestTools::sendRequest(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLTracker::setLandmarkVisited(), LLAgent::setUserGroupFlags(), LLAvatarTracker::terminateBuddy(), LLViewerRegion::unpackRegionHandshake(), LLTransferSourceChannel::updateTransfers(), LLCircuitData::updateWatchDogTimers(), and LLFloaterPostcard::uploadCallback().
void LLMessageSystem::addBinaryDataFast | ( | const char * | varname, | |
const void * | data, | |||
S32 | size | |||
) |
Definition at line 3463 of file message.cpp.
References LLMessageBuilder::addBinaryData(), and mMessageBuilder.
Referenced by inventory_offer_callback(), pack_instant_message_block(), LLVoiceVisualizer::packData(), LLHUDEffectSpiral::packData(), LLHUDEffectPointAt::packData(), LLHUDEffectLookAt::packData(), LLHUDEffectBeam::packData(), LLSelectMgr::packMultipleUpdate(), LLTextureAnim::packTAMessage(), LLPrimitive::packTEMessage(), LLViewerObject::parameterChanged(), send_start_session_messages(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), sendCreateTrustedCircuit(), LLXfer::sendPacket(), LLViewerThrottleGroup::sendToSim(), start_deprecated_conference_chat(), and LLViewerAssetStorage::storeAssetData().
void LLMessageSystem::addBinaryData | ( | const char * | varname, | |
const void * | data, | |||
S32 | size | |||
) |
Definition at line 3468 of file message.cpp.
References LLMessageBuilder::addBinaryData(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLPartSysData::packBlock(), LLHUDEffect::packData(), LLPartSysData::packNull(), sendError(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), and LLTransferSourceChannel::updateTransfers().
void LLMessageSystem::addBOOLFast | ( | const char * | varname, | |
BOOL | b | |||
) |
Definition at line 3583 of file message.cpp.
References LLMessageBuilder::addBOOL(), and mMessageBuilder.
Referenced by LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), LLToolDragAndDrop::dropObject(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), inventory_offer_callback(), move_inventory_item(), LLLiveLSLEditor::onRunningCheckboxClicked(), pack_instant_message_block(), LLSelectMgr::packDeleteHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLPermissions::packMessage(), LLSelectMgr::packOwnerHead(), LLSelectMgr::packPermissions(), LLSelectMgr::packPermissionsHead(), LLViewerObject::parameterChanged(), LLInvFVBridge::removeBatchNoCheck(), LLAgent::requestEnterGodMode(), LLAgent::requestLeaveGodMode(), LLViewerObject::saveScript(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLWorldMap::sendNamedRegionRequest(), LLGroupMgr::sendUpdateGroupInfo(), LLAgent::sendWalkRun(), session_starter_helper(), LLViewerAssetStorage::storeAssetData(), LLViewerObject::updateFlags(), LLViewerInventoryItem::updateParentOnServer(), LLAssetStorage::uploadCompleteCallback(), and wear_inventory_category_on_avatar_step2().
void LLMessageSystem::addBOOL | ( | const char * | varname, | |
BOOL | b | |||
) |
Definition at line 3588 of file message.cpp.
References LLMessageBuilder::addBOOL(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLViewerInventoryCategory::fetchDescendents(), LLSelectMgr::packObjectIncludeInSearch(), LLInvFVBridge::removeBatchNoCheck(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerParcelMgr::selectLand(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLGroupMgr::sendCreateGroupRequest(), LLViewerParcelMgr::sendParcelBuy(), LLPanelPick::sendPickInfoUpdate(), LLAgent::setUserGroupFlags(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLViewerObject::updateFlags(), LLViewerInventoryCategory::updateParentOnServer(), and LLFloaterPostcard::uploadCallback().
void LLMessageSystem::addS8Fast | ( | const char * | varname, | |
S8 | s | |||
) |
Definition at line 3473 of file message.cpp.
References LLMessageBuilder::addS8(), and mMessageBuilder.
Referenced by create_inventory_item(), LLViewerInventoryItem::packMessage(), LLInventoryCategory::packMessage(), LLInventoryItem::packMessage(), LLVolumeMessage::packPathParams(), LLTextureFetch::sendRequestListToSimulators(), LLViewerAssetStorage::storeAssetData(), and LLAssetStorage::uploadCompleteCallback().
void LLMessageSystem::addS8 | ( | const char * | varname, | |
S8 | s | |||
) |
Definition at line 3478 of file message.cpp.
References LLMessageBuilder::addS8(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by send_places_query().
void LLMessageSystem::addU8Fast | ( | const char * | varname, | |
U8 | u | |||
) |
Definition at line 3483 of file message.cpp.
References LLMessageBuilder::addU8(), and mMessageBuilder.
Referenced by LLToolPlacer::addObject(), confirm_replace_attachment_rez(), container_inventory_arrived(), create_inventory_item(), derez_objects(), LLToolDragAndDrop::dropObject(), establishBidirectionalTrust(), give_money(), handle_lure_callback(), inventory_offer_callback(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), pack_instant_message_block(), LLSelectMgr::packAgentIDAndSessionAndAttachment(), LLSelectMgr::packBuyObjectIDs(), LLHUDEffect::packData(), LLSelectMgr::packDeRezHeader(), LLSelectMgr::packHingeHead(), LLSaleInfo::packMessage(), LLAggregatePermissions::packMessage(), LLParcel::packMessage(), LLSelectMgr::packMultipleUpdate(), LLVolumeMessage::packPathParams(), LLSelectMgr::packPermissions(), LLVolumeMessage::packProfileParams(), LLAgent::queryWearableCache(), LLViewerRegion::requestCacheMisses(), send_agent_update(), send_chat_from_viewer(), LLAgent::sendAgentSetAppearance(), LLAgent::sendAgentWearablesUpdate(), LLPanelClassified::sendClassifiedInfoUpdate(), LLViewerObject::sendMaterialUpdate(), LLFloaterReporter::sendReportViaLegacy(), LLTextureFetch::sendRequestListToSimulators(), session_starter_helper(), LLViewerObject::updateInventory(), LLCircuitData::updateWatchDogTimers(), upload_done_callback(), and wear_inventory_category_on_avatar_step2().
void LLMessageSystem::addU8 | ( | const char * | varname, | |
U8 | u | |||
) |
Definition at line 3488 of file message.cpp.
References LLMessageBuilder::addU8(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLParcel::packMessage(), LLSelectMgr::packObjectClickAction(), packRoleUpdateMessageBlock(), process_start_ping_check(), LLFloaterReporter::sendReportViaLegacy(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), and upload_done_callback().
void LLMessageSystem::addS16Fast | ( | const char * | varname, | |
S16 | i | |||
) |
Definition at line 3493 of file message.cpp.
References LLMessageBuilder::addS16(), and mMessageBuilder.
Referenced by handle_export_selected(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), and LLXfer_File::startDownload().
void LLMessageSystem::addS16 | ( | const char * | varname, | |
S16 | i | |||
) |
Definition at line 3498 of file message.cpp.
References LLMessageBuilder::addS16(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addU16Fast | ( | const char * | varname, | |
U16 | i | |||
) |
Definition at line 3503 of file message.cpp.
References LLMessageBuilder::addU16(), and mMessageBuilder.
Referenced by LLVolumeMessage::packPathParams(), LLVolumeMessage::packProfileParams(), LLViewerObject::parameterChanged(), LLWorldMap::sendMapBlockRequest(), and LLViewerWindow::sendShapeToSim().
void LLMessageSystem::addU16 | ( | const char * | varname, | |
U16 | i | |||
) |
Definition at line 3508 of file message.cpp.
References LLMessageBuilder::addU16(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addF32Fast | ( | const char * | varname, | |
F32 | f | |||
) |
Definition at line 3513 of file message.cpp.
References LLMessageBuilder::addF32(), and mMessageBuilder.
Referenced by LLViewZoomDefault::handleEvent(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLHUDEffect::packData(), LLParcel::packMessage(), LLRegionEconomy::processEconomyDataRequest(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerParcelMgr::selectLand(), send_agent_update(), send_sound_trigger(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLTextureFetch::sendRequestListToSimulators(), LLPanelGroupVoting::impl::sendStartGroupProposal(), and update_fov().
void LLMessageSystem::addF32 | ( | const char * | varname, | |
F32 | f | |||
) |
Definition at line 3518 of file message.cpp.
References LLMessageBuilder::addF32(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLViewerParcelMgr::sendParcelBuy(), and LLTransferTargetChannel::sendTransferRequest().
void LLMessageSystem::addS32Fast | ( | const char * | varname, | |
S32 | s | |||
) |
Definition at line 3523 of file message.cpp.
References LLMessageBuilder::addS32(), and mMessageBuilder.
Referenced by LLXfer::abort(), LLViewerParcelMgr::buyPass(), LLFloaterTopObjects::doToObjects(), give_money(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLPanelLandObjects::onClickRefresh(), LLFloaterTopObjects::onRefresh(), LLParcel::packAccessEntries(), LLSelectMgr::packBuyObjectIDs(), LLViewerInventoryItem::packMessage(), LLSaleInfo::packMessage(), LLParcel::packMessage(), LLInventoryItem::packMessage(), LLPanelDirLand::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLRegionEconomy::processEconomyDataRequest(), LLXferManager::processFileRequest(), LLAgent::queryWearableCache(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), LLViewerParcelMgr::requestHoverParcelProperties(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLGroupMgr::sendUpdateGroupInfo(), and upload_done_callback().
void LLMessageSystem::addS32 | ( | const char * | varname, | |
S32 | s | |||
) |
Definition at line 3528 of file message.cpp.
References LLMessageBuilder::addS32(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), callback_god_force_owner(), callback_script_dialog(), LLViewerInventoryCategory::fetchDescendents(), LLFloaterAuction::onClickOK(), LLPanelDirLand::performQuery(), LLViewerParcelMgr::reclaimParcel(), send_chat_from_viewer(), LLPanelClassified::sendClassifiedInfoUpdate(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), sendError(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelBuy(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLPanelFriends::sendRightsGrant(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLMuteList::updateAdd(), and LLTransferSourceChannel::updateTransfers().
void LLMessageSystem::addU32Fast | ( | const char * | varname, | |
U32 | u | |||
) |
Definition at line 3533 of file message.cpp.
References LLMessageBuilder::addU32(), and mMessageBuilder.
Referenced by LLToolPlacer::addObject(), container_inventory_arrived(), copy_inventory_item(), create_inventory_item(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), establishBidirectionalTrust(), LLViewerObject::fetchInventoryFromServer(), LLAvatarTracker::findAgent(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), handle_detach_from_avatar(), LLViewZoomDefault::handleEvent(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), idle_startup(), inventory_offer_callback(), LLViewerObject::moveInventory(), LLFloaterTopObjects::onRefresh(), pack_instant_message_block(), pack_permissions_slam(), LLParcel::packAccessEntries(), LLSelectMgr::packBuyObjectIDs(), LLSelectMgr::packDuplicate(), LLSelectMgr::packDuplicateHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLViewerInventoryItem::packMessage(), LLPermissions::packMessage(), LLParcel::packMessage(), LLInventoryItem::packMessage(), LLCategory::packMessage(), LLSelectMgr::packMultipleUpdate(), LLSelectMgr::packObjectCategory(), LLSelectMgr::packObjectClickAction(), LLSelectMgr::packObjectDescription(), LLSelectMgr::packObjectIDAndRotation(), LLSelectMgr::packObjectIncludeInSearch(), LLSelectMgr::packObjectLocalID(), LLSelectMgr::packObjectName(), LLSelectMgr::packObjectSaleInfo(), LLSelectMgr::packPermissions(), LLViewerObject::parameterChanged(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_enable_simulator(), process_teleport_finish(), LLViewerObject::removeInventory(), LLViewerRegion::requestCacheMisses(), LLMuteList::requestFromServer(), LLSelectMgr::requestObjectPropertiesFamily(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), LLSelectMgr::selectObjectOnly(), send_agent_pause(), send_agent_resume(), send_agent_update(), send_complete_agent_movement(), send_return_objects_message(), send_sim_wide_deletes(), LLCircuit::sendAcks(), LLAgent::sendAgentSetAppearance(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelClassified::sendClassifiedInfoUpdate(), LLXferManager::sendConfirmPacket(), LLPanelEvent::sendEventInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLXfer::sendPacket(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), session_starter_helper(), LLToolGrab::startGrab(), LLToolGrab::stopGrab(), update_fov(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLViewerInventoryItem::updateServer(), LLCircuitData::updateWatchDogTimers(), and LLAgent::userRemoveAllAttachments().
void LLMessageSystem::addU32 | ( | const char * | varname, | |
U32 | u | |||
) |
Definition at line 3538 of file message.cpp.
References LLMessageBuilder::addU32(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLGestureManager::activateGestures(), LLEventNotifier::add(), callback_eject(), callback_freeze(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLGestureManager::onLoadComplete(), LLPanelDirLand::performQuery(), LLEventNotifier::remove(), send_places_query(), LLPanelDirBrowser::sendDirFindQuery(), LLGroupMgr::sendGroupRoleMemberChanges(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLTracker::setLandmarkVisited(), LLAgent::teleportViaLure(), LLViewerRegion::unpackRegionHandshake(), and LLMuteList::updateAdd().
void LLMessageSystem::addU64Fast | ( | const char * | varname, | |
U64 | lu | |||
) |
Definition at line 3543 of file message.cpp.
References LLMessageBuilder::addU64(), and mMessageBuilder.
Referenced by LLXfer::abort(), LLXferManager::processFileRequest(), send_sound_trigger(), LLXferManager::sendConfirmPacket(), LLWorldMap::sendItemRequest(), LLXfer::sendPacket(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), and LLAgent::teleportViaLocation().
void LLMessageSystem::addU64 | ( | const char * | varname, | |
U64 | lu | |||
) |
Definition at line 3548 of file message.cpp.
References LLMessageBuilder::addU64(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by packRoleUpdateMessageBlock(), and LLAgent::teleportRequest().
void LLMessageSystem::addF64Fast | ( | const char * | varname, | |
F64 | d | |||
) |
Definition at line 3553 of file message.cpp.
References LLMessageBuilder::addF64(), and mMessageBuilder.
Referenced by LLAvatarTracker::findAgent().
void LLMessageSystem::addF64 | ( | const char * | varname, | |
F64 | d | |||
) |
Definition at line 3558 of file message.cpp.
References LLMessageBuilder::addF64(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addVector3Fast | ( | const char * | varname, | |
const LLVector3 & | vec | |||
) |
Definition at line 3613 of file message.cpp.
References LLMessageBuilder::addVector3(), and mMessageBuilder.
Referenced by LLToolPlacer::addObject(), LLToolDragAndDrop::dropObject(), handle_sit_or_stand(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), inventory_offer_callback(), pack_instant_message_block(), LLSelectMgr::packDuplicateHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLParcel::packMessage(), send_agent_update(), send_sound_trigger(), LLAgent::sendAgentSetAppearance(), LLFloaterReporter::sendReportViaLegacy(), session_starter_helper(), LLToolGrab::startGrab(), and LLAgent::teleportViaLocation().
void LLMessageSystem::addVector3 | ( | const char * | varname, | |
const LLVector3 & | vec | |||
) |
Definition at line 3618 of file message.cpp.
References LLMessageBuilder::addVector3(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLAgent::teleportRequest().
void LLMessageSystem::addVector4Fast | ( | const char * | varname, | |
const LLVector4 & | vec | |||
) |
Definition at line 3623 of file message.cpp.
References LLMessageBuilder::addVector4(), and mMessageBuilder.
void LLMessageSystem::addVector4 | ( | const char * | varname, | |
const LLVector4 & | vec | |||
) |
Definition at line 3628 of file message.cpp.
References LLMessageBuilder::addVector4(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addVector3dFast | ( | const char * | varname, | |
const LLVector3d & | vec | |||
) |
Definition at line 3633 of file message.cpp.
References LLMessageBuilder::addVector3d(), and mMessageBuilder.
Referenced by LLPanelClassified::sendClassifiedInfoUpdate().
void LLMessageSystem::addVector3d | ( | const char * | varname, | |
const LLVector3d & | vec | |||
) |
Definition at line 3638 of file message.cpp.
References LLMessageBuilder::addVector3d(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLPanelPick::sendPickInfoUpdate(), and LLFloaterPostcard::uploadCallback().
void LLMessageSystem::addQuatFast | ( | const char * | varname, | |
const LLQuaternion & | quat | |||
) |
Definition at line 3643 of file message.cpp.
References LLMessageBuilder::addQuat(), and mMessageBuilder.
Referenced by LLToolPlacer::addObject(), LLToolGrab::handleHoverActive(), LLSelectMgr::packObjectIDAndRotation(), send_agent_update(), and LLViewerObject::sendRotationUpdate().
void LLMessageSystem::addQuat | ( | const char * | varname, | |
const LLQuaternion & | quat | |||
) |
Definition at line 3648 of file message.cpp.
References LLMessageBuilder::addQuat(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addUUIDFast | ( | const char * | varname, | |
const LLUUID & | uuid | |||
) |
Definition at line 3654 of file message.cpp.
References LLMessageBuilder::addUUID(), and mMessageBuilder.
Referenced by LLPanelGroups::activate(), LLEventNotifier::add(), LLToolPlacer::addObject(), LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), callback_leave_group(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfoDataserver(), confirm_replace_attachment_rez(), container_inventory_arrived(), copy_inventory_item(), create_inventory_item(), LLInventoryModel::deleteFromServer(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), LLInventoryFetchComboObserver::fetch(), LLViewerObject::fetchInventoryFromServer(), LLInventoryFetchObserver::fetchItems(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), give_money(), handle_claim_public_land(), handle_detach_from_avatar(), handle_export_selected(), handle_lure_callback(), handle_sit_or_stand(), LLViewZoomDefault::handleEvent(), LLAvatarGiveCard::handleEvent(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), idle_startup(), LLFloaterPostcard::init(), inventory_offer_callback(), LLLiveLSLEditor::loadAsset(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), move_inventory_item(), LLViewerObject::moveInventory(), near_sit_object(), LLPanelDirClassified::onClickDelete(), LLPanelLandObjects::onClickRefresh(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPanelRegionTools::onSaveState(), pack_instant_message_block(), LLParcel::packAccessEntries(), LLSelectMgr::packAgentAndGroupID(), LLSelectMgr::packAgentAndSessionAndGroupID(), LLSelectMgr::packAgentAndSessionID(), LLSelectMgr::packAgentGroupAndCatID(), LLSelectMgr::packAgentID(), LLSelectMgr::packAgentIDAndSessionAndAttachment(), LLHUDEffect::packData(), LLSelectMgr::packDeleteHeader(), LLSelectMgr::packDeRezHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packHingeHead(), LLViewerInventoryItem::packMessage(), LLPermissions::packMessage(), LLParcel::packMessage(), LLInventoryCategory::packMessage(), LLInventoryItem::packMessage(), LLSelectMgr::packObjectID(), LLSelectMgr::packOwnerHead(), LLSelectMgr::packPermissionsHead(), LLViewerObject::parameterChanged(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_enable_simulator(), process_teleport_finish(), LLAgent::queryWearableCache(), reallySendDenyTrustedCircuit(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLEventNotifier::remove(), remove_inventory_category_from_avatar_step2(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), LLViewerObject::removeInventory(), request_initial_instant_messages(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLViewerParcelMgr::requestHoverParcelProperties(), LLAgent::requestLeaveGodMode(), LLSelectMgr::requestObjectPropertiesFamily(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), ReplySender::send(), send_agent_pause(), send_agent_resume(), send_agent_update(), send_chat_from_viewer(), send_complete_agent_movement(), send_generic_message(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), send_sim_wide_deletes(), send_sound_trigger(), LLAgent::sendAgentDataUpdateRequest(), LLAgent::sendAgentSetAppearance(), LLAgent::sendAgentWearablesRequest(), LLAgent::sendAgentWearablesUpdate(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), sendCreateTrustedCircuit(), LLHUDManager::sendEffects(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelEvent::sendEventInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLGroupMgr::sendGroupMemberJoin(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLAppViewer::sendLogoutRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLCacheName::Impl::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLGroupMgr::sendUpdateGroupInfo(), LLAgent::sendWalkRun(), session_starter_helper(), LLFloaterPreference::show(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), LLViewerAssetStorage::storeAssetData(), LLAgent::teleportCancel(), LLAgent::teleportRequest(), LLAgent::teleportViaLandmark(), LLAgent::teleportViaLocation(), LLAgent::teleportViaLure(), LLAvatarTracker::track(), LLToolBrushLand::undo(), LLAvatarTracker::untrack(), update_fov(), LLMuteList::updateAdd(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), LLViewerInventoryCategory::updateServer(), LLViewerInventoryItem::updateServer(), upload_done_callback(), LLNewAgentInventoryResponder::uploadComplete(), LLAssetStorage::uploadCompleteCallback(), LLAgent::userRemoveAllAttachments(), velocity_interpolate(), and wear_inventory_category_on_avatar_step2().
void LLMessageSystem::addUUID | ( | const char * | varname, | |
const LLUUID & | uuid | |||
) |
Definition at line 3659 of file message.cpp.
References LLMessageBuilder::addUUID(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLGestureManager::activateGestures(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelEstateInfo::commitEstateInfoDataserver(), LLInventoryModel::createNewCategory(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLFloaterAvatarPicker::find(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), LLAgent::forceReleaseControls(), handle_claim_public_land(), LLFloaterReporter::LLFloaterReporter(), LLAgent::makeNewOutfit(), LLFloaterAuction::onClickOK(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLGestureManager::onLoadComplete(), LLPanelGroupNotices::onSelectNotice(), LLSelectMgr::packGodlikeHead(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLInventoryModel::purgeDescendentsOf(), LLViewerParcelMgr::reclaimParcel(), LLLandmark::requestRegionHandle(), LLFloaterRegionInfo::requestRegionInfo(), send_generic_message(), send_places_query(), send_return_objects_message(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLGroupMgr::sendGroupTitleUpdate(), LLViewerParcelMgr::sendParcelBuy(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLPanelFriends::sendRightsGrant(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLTracker::setLandmarkVisited(), LLAgent::setUserGroupFlags(), LLAvatarTracker::terminateBuddy(), LLViewerRegion::unpackRegionHandshake(), LLTransferSourceChannel::updateTransfers(), and LLFloaterPostcard::uploadCallback().
void LLMessageSystem::addIPAddrFast | ( | const char * | varname, | |
const U32 | ip | |||
) |
Definition at line 3563 of file message.cpp.
References LLMessageBuilder::addIPAddr(), and mMessageBuilder.
void LLMessageSystem::addIPAddr | ( | const char * | varname, | |
const U32 | ip | |||
) |
Definition at line 3568 of file message.cpp.
References LLMessageBuilder::addIPAddr(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addIPPortFast | ( | const char * | varname, | |
const U16 | port | |||
) |
Definition at line 3573 of file message.cpp.
References LLMessageBuilder::addIPPort(), and mMessageBuilder.
void LLMessageSystem::addIPPort | ( | const char * | varname, | |
const U16 | port | |||
) |
Definition at line 3578 of file message.cpp.
References LLMessageBuilder::addIPPort(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
void LLMessageSystem::addStringFast | ( | const char * | varname, | |
const char * | s | |||
) |
Definition at line 3593 of file message.cpp.
References LLMessageBuilder::addString(), and mMessageBuilder.
Referenced by confirm_replace_attachment_rez(), copy_inventory_item(), create_inventory_item(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), give_money(), handle_lure_callback(), inventory_offer_callback(), move_inventory_item(), LLFloaterTopObjects::onRefresh(), LLPanelRegionTools::onSaveState(), pack_instant_message_block(), LLViewerInventoryItem::packMessage(), LLParcel::packMessage(), LLInventoryCategory::packMessage(), LLInventoryItem::packMessage(), LLSelectMgr::packObjectDescription(), LLSelectMgr::packObjectName(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), ReplySender::send(), send_chat_from_viewer(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelClassified::sendClassifiedInfoUpdate(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLWorldMap::sendNamedRegionRequest(), LLFloaterReporter::sendReportViaLegacy(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLMuteList::updateAdd(), upload_done_callback(), and wear_inventory_category_on_avatar_step2().
void LLMessageSystem::addString | ( | const char * | varname, | |
const char * | s | |||
) |
Definition at line 3598 of file message.cpp.
References LLMessageBuilder::addString(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
Referenced by LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), callback_script_dialog(), LLPanelEstateInfo::commitEstateInfoDataserver(), LLFloaterAvatarPicker::find(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), handle_claim_public_land(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packObjectIDAsParam(), packRoleUpdateMessageBlock(), LLInvFVBridge::removeBatchNoCheck(), send_generic_message(), send_places_query(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelPick::sendPickInfoUpdate(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLViewerObject::sendTEUpdate(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), and LLFloaterPostcard::uploadCallback().
void LLMessageSystem::addStringFast | ( | const char * | varname, | |
const std::string & | s | |||
) |
Definition at line 3603 of file message.cpp.
References LLMessageBuilder::addString(), and mMessageBuilder.
void LLMessageSystem::addString | ( | const char * | varname, | |
const std::string & | s | |||
) |
Definition at line 3608 of file message.cpp.
References LLMessageBuilder::addString(), LLSingleton< LLMessageStringTable >::getInstance(), getString(), and mMessageBuilder.
S32 LLMessageSystem::getCurrentSendTotal | ( | ) | const |
Definition at line 3664 of file message.cpp.
References LLMessageBuilder::getMessageSize(), and mMessageBuilder.
Referenced by LLGestureManager::activateGestures(), LLGestureManager::deactivateSimilarGestures(), LLSelectMgr::sendListToRegions(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLSelectMgr::sendSelectionMove(), and LLTransferSourceChannel::updateTransfers().
TPACKETID LLMessageSystem::getCurrentRecvPacketID | ( | ) | [inline] |
Definition at line 421 of file message.h.
References mCurrentRecvPacketID.
Referenced by LLViewerObject::processUpdateMessage().
BOOL LLMessageSystem::isSendFull | ( | const char * | blockname = NULL |
) |
Definition at line 1016 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), LLMessageStringTable::getString(), isSendFullFast(), and NULL.
Referenced by LLInventoryModel::buildParentChildMap(), LLSelectMgr::deselectObjectAndFamily(), LLInventoryFetchObserver::fetchItems(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLSelectMgr::sendListToRegions(), and LLSelectMgr::sendSelectionMove().
BOOL LLMessageSystem::isSendFullFast | ( | const char * | blockname = NULL |
) |
Definition at line 1026 of file message.cpp.
References LLMessageBuilder::isMessageFull(), and mMessageBuilder.
Referenced by LLInventoryModel::deleteFromServer(), LLFloaterTopObjects::doToObjects(), LLInventoryFetchComboObserver::fetch(), isSendFull(), packRoleUpdateMessageBlock(), LLInvFVBridge::removeBatchNoCheck(), ReplySender::send(), LLGroupMgr::sendGroupRoleMemberChanges(), and LLCacheName::Impl::sendRequest().
BOOL LLMessageSystem::removeLastBlock | ( | ) |
Definition at line 1034 of file message.cpp.
References mMessageBuilder, and LLMessageBuilder::removeLastBlock().
Definition at line 2855 of file message.cpp.
References callExceptionFunc(), LL_MINIMUM_VALID_PACKET_SIZE, LL_PACKET_ID_SIZE, LL_WARNS, LL_ZERO_CODE_FLAG, llendl, MAX_BUFFER_SIZE, mCompressedBytesIn, mCompressedPacketsIn, mEncodedRecvBuffer, mTotalBytesIn, mUncompressedBytesIn, MX_WROTE_PAST_BUFFER_SIZE, and S32.
Referenced by checkMessages().
S32 LLMessageSystem::zeroCodeAdjustCurrentSendTotal | ( | ) |
Definition at line 2777 of file message.cpp.
References LLMessageBuilder::buildMessage(), FALSE, LLMessageBuilder::isBuilt(), LL_PACKET_ID_SIZE, MAX_BUFFER_SIZE, mLLSDMessageBuilder, mMessageBuilder, mSendBuffer, mSendSize, S32, and LLMessageBuilder::setBuilt().
Definition at line 1039 of file message.cpp.
References LL_DEFAULT_RELIABLE_RETRIES, LL_PING_BASED_TIMEOUT_DUMMY, NULL, and TRUE.
Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLToolPlacer::addObject(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), confirm_replace_attachment_rez(), container_inventory_arrived(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), LLViewerObject::fetchInventoryFromServer(), ReplySender::flush(), flushReliable(), forwardReliable(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), give_money(), handle_detach_from_avatar(), handle_export_selected(), LLAvatarGiveCard::handleEvent(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), idle_startup(), inventory_offer_callback(), LLLiveLSLEditor::loadAsset(), LLViewerObject::moveInventory(), LLFloaterAuction::onClickOK(), LLPanelLandObjects::onClickRefresh(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLViewerObject::parameterChanged(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), process_enable_simulator(), process_teleport_finish(), LLRegionEconomy::processEconomyDataRequest(), LLAgent::queryWearableCache(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), remove_inventory_category_from_avatar_step2(), LLViewerObject::removeInventory(), LLViewerParcelMgr::requestHoverParcelProperties(), LLSelectMgr::requestObjectPropertiesFamily(), LLLandmark::requestRegionHandle(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), send_agent_pause(), send_agent_resume(), send_complete_agent_movement(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), sendError(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLSelectMgr::sendListToRegions(), LLViewerObject::sendMaterialUpdate(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelBuy(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerParcelMgr::sendParcelRelease(), sendReliable(), LLViewerRegion::sendReliableMessage(), LLAgent::sendReliableMessage(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLCacheName::Impl::sendRequest(), LLViewerObject::sendRotationUpdate(), LLSelectMgr::sendSelectionMove(), sendSemiReliable(), LLViewerObject::sendShapeUpdate(), LLViewerObject::sendTEUpdate(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLViewerAssetStorage::storeAssetData(), LLViewerRegion::unpackRegionHandshake(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLTransferSourceChannel::updateTransfers(), upload_done_callback(), LLAssetStorage::uploadCompleteCallback(), LLAgent::userRemoveAllAttachments(), and wear_inventory_category_on_avatar_step2().
Definition at line 442 of file message.h.
References findHost(), and sendReliable().
S32 LLMessageSystem::sendReliable | ( | const LLHost & | host, | |
S32 | retries, | |||
BOOL | ping_based_retries, | |||
F32 | timeout, | |||
void(*)(void **, S32) | callback, | |||
void ** | callback_data | |||
) |
Definition at line 1066 of file message.cpp.
References LLCircuit::findCircuit(), LLMessageBuilder::getMessageName(), LLCircuitData::getPingDelayAveraged(), LL_AVERAGED_PING_MAX, LL_MINIMUM_RELIABLE_TIMEOUT_SECONDS, LL_RELIABLE_TIMEOUT_FACTOR, llmax(), mCircuitInfo, mMessageBuilder, mReliablePacketParams, mSendReliable, sendMessage(), LLReliablePacketParams::set(), and TRUE.
S32 LLMessageSystem::sendSemiReliable | ( | const LLHost & | host, | |
void(*)(void **, S32) | callback, | |||
void ** | callback_data | |||
) |
Definition at line 1045 of file message.cpp.
References FALSE, LLCircuit::findCircuit(), LLCircuitData::getPingDelayAveraged(), LL_AVERAGED_PING_MAX, LL_MINIMUM_SEMIRELIABLE_TIMEOUT_SECONDS, LL_SEMIRELIABLE_TIMEOUT_FACTOR, llmax(), mCircuitInfo, S32, and sendReliable().
Referenced by LLTextureFetch::sendRequestListToSimulators().
S32 LLMessageSystem::flushSemiReliable | ( | const LLHost & | host, | |
void(*)(void **, S32) | callback, | |||
void ** | callback_data | |||
) |
Definition at line 1122 of file message.cpp.
References clearMessage(), FALSE, LLCircuit::findCircuit(), LLMessageBuilder::getMessageName(), LLMessageBuilder::getMessageSize(), LLCircuitData::getPingDelayAveraged(), LL_AVERAGED_PING_MAX, LL_MINIMUM_SEMIRELIABLE_TIMEOUT_SECONDS, LL_SEMIRELIABLE_TIMEOUT_FACTOR, llmax(), mCircuitInfo, mMessageBuilder, mReliablePacketParams, mSendReliable, S32, sendMessage(), LLReliablePacketParams::set(), and TRUE.
Definition at line 1155 of file message.cpp.
References clearMessage(), LLMessageBuilder::getMessageSize(), mMessageBuilder, S32, and sendReliable().
void LLMessageSystem::forwardMessage | ( | const LLHost & | host | ) |
Definition at line 1093 of file message.cpp.
References copyMessageRtoS(), and sendMessage().
void LLMessageSystem::forwardReliable | ( | const LLHost & | host | ) |
Definition at line 1099 of file message.cpp.
References copyMessageRtoS(), and sendReliable().
void LLMessageSystem::forwardReliable | ( | const U32 | circuit_code | ) |
Definition at line 1105 of file message.cpp.
References copyMessageRtoS(), findHost(), and sendReliable().
S32 LLMessageSystem::forwardReliable | ( | const LLHost & | host, | |
S32 | retries, | |||
BOOL | ping_based_timeout, | |||
F32 | timeout, | |||
void(*)(void **, S32) | callback, | |||
void ** | callback_data | |||
) |
Definition at line 1111 of file message.cpp.
References copyMessageRtoS(), and sendReliable().
LLHTTPClient::ResponderPtr LLMessageSystem::createResponder | ( | const std::string & | name | ) |
Definition at line 1166 of file message.cpp.
References LLMessageBuilder::getMessageName(), LLReliablePacketParams::mCallback, LLReliablePacketParams::mCallbackData, mMessageBuilder, mReliablePacketParams, mSendReliable, and NULL.
Referenced by sendMessage().
Definition at line 1191 of file message.cpp.
References _PREHASH_ChildAgentUpdate, _PREHASH_PacketAck, _PREHASH_SendXferPacket, LLCircuitData::addBytesOut(), LLCircuit::addCircuitData(), LLCircuitData::addReliablePacket(), LLMessageBuilder::buildMessage(), LLReliablePacketParams::clear(), LLMessageBuilder::compressMessage(), createResponder(), FALSE, LLCircuit::findCircuit(), LLSDMessageBuilder::getMessage(), LLSDMessageBuilder::getMessageName(), LLMessageBuilder::getMessageName(), LLCircuitData::getPacketOutID(), LLHTTPSender::getSender(), LLCircuitData::getUnackedPacketCount(), LLCircuitData::isAlive(), LLMessageBuilder::isBuilt(), LLHost::isOk(), LL_ACK_FLAG, LL_ERRS, LL_INFOS, LL_INFOS_ONCE, LL_PACKET_ID_SIZE, LL_RELIABLE_FLAG, LL_WARNS, LL_WARNS_ONCE, llendl, llmin(), LLCircuitData::mAcks, MAX_BUFFER_SIZE, MAX_STRING, mbProtected, mBytesOut, mCircuitInfo, LLCircuitData::mHost, mLLSDMessageBuilder, mMessageBuilder, mPacketRing, mPacketsOut, mReliablePacketParams, mReliablePacketsOut, mSendBuffer, mSendPacketFailureCount, mSendReliable, mSendSize, mSocket, MTUBYTES, LLCircuit::mUnackedCircuitMap, mVerboseLog, LLCircuitData::nextPacketOutID(), PHL_PACKET_ID, S32, LLHTTPSender::send(), LLPacketRing::sendPacket(), and TRUE.
Referenced by LLXfer::abort(), LLWorld::disconnectRegions(), establishBidirectionalTrust(), flush(), flushSemiReliable(), forwardMessage(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), process_start_ping_check(), LLXferManager::processFileRequest(), reallySendDenyTrustedCircuit(), LLCircuit::sendAcks(), LLXferManager::sendConfirmPacket(), sendCreateTrustedCircuit(), LLViewerRegion::sendMessage(), LLAgent::sendMessage(), sendMessage(), LLXfer::sendPacket(), sendReliable(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), LLToolBrushLand::undo(), and LLCircuitData::updateWatchDogTimers().
Definition at line 972 of file message.h.
References findHost(), and sendMessage().
Definition at line 1436 of file message.cpp.
References createResponder(), LLHTTPSender::getSender(), LLHost::isOk(), LL_WARNS, llendl, mLLSDMessageBuilder, mMessageBuilder, newMessage(), and LLHTTPSender::send().
void LLMessageSystem::getBinaryDataFast | ( | const char * | blockname, | |
const char * | varname, | |||
void * | datap, | |||
S32 | size, | |||
S32 | blocknum = 0 , |
|||
S32 | max_size = S32_MAX | |||
) |
Definition at line 3774 of file message.cpp.
References LLMessageReader::getBinaryData(), and mMessageReader.
Referenced by getBinaryData(), process_create_trusted_circuit(), process_improved_im(), process_layer_data(), LLSelectMgr::processObjectProperties(), LLViewerObjectList::processObjectUpdate(), LLViewerParcelMgr::processParcelOverlay(), LLViewerParcelMgr::processParcelProperties(), LLXferManager::processReceiveData(), LLVOVolume::processUpdateMessage(), LLViewerObject::processUpdateMessage(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), LLHUDEffectSpiral::unpackData(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLHUDEffectBeam::unpackData(), LLHUDEffect::unpackData(), LLDispatcher::unpackMessage(), LLIMInfo::unpackMessageBlock(), LLTextureAnim::unpackTAMessage(), and LLPrimitive::unpackTEMessage().
void LLMessageSystem::getBinaryData | ( | const char * | blockname, | |
const char * | varname, | |||
void * | datap, | |||
S32 | size, | |||
S32 | blocknum = 0 , |
|||
S32 | max_size = S32_MAX | |||
) |
Definition at line 3783 of file message.cpp.
References getBinaryDataFast(), LLSingleton< LLMessageStringTable >::getInstance(), and getString().
Referenced by LLPartSysData::isNullPS(), LLPanelAvatar::processAvatarPropertiesReply(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), and LLPartSysData::unpackBlock().
void LLMessageSystem::getBOOLFast | ( | const char * | block, | |
const char * | var, | |||
BOOL & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3695 of file message.cpp.
References LLMessageReader::getBOOL(), and mMessageReader.
Referenced by getBOOL(), process_avatar_sit_response(), process_improved_im(), process_user_info_reply(), LLGroupMgr::processCreateGroupReply(), LLGroupMgr::processEjectGroupMemberReply(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processJoinGroupReply(), LLGroupMgr::processLeaveGroupReply(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLViewerParcelMgr::processParcelProperties(), LLLiveLSLEditor::processScriptRunningReply(), LLAssetStorage::processUploadComplete(), LLPermissions::unpackMessage(), and LLIMInfo::unpackMessageBlock().
void LLMessageSystem::getBOOL | ( | const char * | block, | |
const char * | var, | |||
BOOL & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3701 of file message.cpp.
References getBOOLFast(), LLSingleton< LLMessageStringTable >::getInstance(), and getString().
Referenced by process_agent_alert_message(), process_frozen_message(), process_load_url(), LLAgent::processAgentGroupDataUpdate(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPlacesReply(), LLXferManager::processFileRequest(), LLSelectMgr::processForceObjectSelect(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupTitlesReply(), LLPanelGroupNotices::processNotices(), LLViewerParcelMgr::processParcelProperties(), LLPanelPick::processPickInfoReply(), LLFloaterRegionInfo::processRegionInfo(), LLAgent::processScriptControlChange(), and LLViewerRegion::unpackRegionHandshake().
void LLMessageSystem::getS8Fast | ( | const char * | block, | |
const char * | var, | |||
S8 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3669 of file message.cpp.
References LLMessageReader::getS8(), and mMessageReader.
Referenced by getS8(), process_layer_data(), LLAssetStorage::processUploadComplete(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), and LLVolumeMessage::unpackPathParams().
Definition at line 3675 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getS8Fast(), and getString().
Referenced by LLInventoryItem::unpackMessage().
void LLMessageSystem::getU8Fast | ( | const char * | block, | |
const char * | var, | |||
U8 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3682 of file message.cpp.
References LLMessageReader::getU8(), and mMessageReader.
Referenced by LLHUDEffect::getIDType(), getU8(), process_attached_sound(), process_chat_from_simulator(), process_complete_ping_check(), process_grant_godlike_powers(), process_improved_im(), process_mean_collision_alert_message(), process_start_ping_check(), LLAgent::processAgentCachedTextureResponse(), LLAgent::processAgentInitialWearablesUpdate(), LLVOAvatar::processAvatarAppearance(), LLPanelClassified::processClassifiedInfoReply(), LLWorldMap::processMapBlockReply(), LLViewerObjectList::processObjectUpdate(), LLFloaterGodTools::processRegionInfo(), LLViewerObject::processUpdateMessage(), LLViewerImageList::receiveImageHeader(), LLHUDEffect::unpackData(), LLSaleInfo::unpackMessage(), LLAggregatePermissions::unpackMessage(), LLParcel::unpackMessage(), LLIMInfo::unpackMessageBlock(), LLSaleInfo::unpackMultiMessage(), LLVolumeMessage::unpackPathParams(), LLVolumeMessage::unpackProfileParams(), and LLViewerRegion::updateCoarseLocations().
Definition at line 3688 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getU8Fast().
Referenced by process_chat_from_simulator(), LLXferManager::processFileRequest(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelGroupNotices::processNotices(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMedia::processParcelMediaUpdate(), LLViewerParcelMgr::processParcelProperties(), LLFloaterLandHoldings::processPlacesReply(), LLFloaterRegionInfo::processRegionInfo(), LLParcel::unpackMessage(), and LLViewerRegion::unpackRegionHandshake().
void LLMessageSystem::getS16Fast | ( | const char * | block, | |
const char * | var, | |||
S16 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3708 of file message.cpp.
References LLMessageReader::getS16(), and mMessageReader.
Referenced by getS16(), LLXferManager::processFileRequest(), LLSelectMgr::processObjectProperties(), LLViewerObject::processTaskInv(), and LLViewerRegion::updateCoarseLocations().
Definition at line 3714 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getS16Fast(), and getString().
void LLMessageSystem::getU16Fast | ( | const char * | block, | |
const char * | var, | |||
U16 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3721 of file message.cpp.
References LLMessageReader::getU16(), and mMessageReader.
Referenced by getU16(), LLWorldMap::processMapBlockReply(), LLViewerObject::processUpdateMessage(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), LLVolumeMessage::unpackPathParams(), and LLVolumeMessage::unpackProfileParams().
Definition at line 3727 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getU16Fast().
void LLMessageSystem::getS32Fast | ( | const char * | block, | |
const char * | var, | |||
S32 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3734 of file message.cpp.
References LLMessageReader::getS32(), and mMessageReader.
Referenced by getS32(), process_avatar_animation(), process_script_question(), LLXferManager::processAbort(), LLAgent::processAgentCachedTextureResponse(), LLAvatarTracker::processChange(), LLXferManager::processConfirmation(), LLPanelDirBrowser::processDirGroupsReply(), LLRegionEconomy::processEconomyData(), LLGlobalEconomy::processEconomyData(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupPropertiesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLWorldMap::processMapItemReply(), LLViewerParcelMgr::processParcelAccessListReply(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLViewerParcelMgr::processParcelOverlay(), LLViewerParcelMgr::processParcelProperties(), LLFloaterPay::processPayPriceReply(), LLXferManager::processReceiveData(), LLFloaterGodTools::processRegionInfo(), LLGroupMoneyPlanningTabEventHandler::processReply(), LLGroupMoneySalesTabEventHandler::processReply(), LLGroupMoneyDetailsTabEventHandler::processReply(), LLParcel::unpackAccessEntries(), LLSaleInfo::unpackMessage(), LLParcel::unpackMessage(), and LLSaleInfo::unpackMultiMessage().
Definition at line 3740 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getS32Fast(), and getString().
Referenced by process_money_balance_reply(), process_script_dialog(), process_set_follow_cam_properties(), LLAgent::processAgentGroupDataUpdate(), LLPanelClassified::processClassifiedInfoReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirLandReply(), processError(), LLSelectMgr::processForceObjectSelect(), LLPanelGroupLandMoney::impl::processGroupLand(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLInventoryModel::processInventoryDescendents(), LLViewerParcelMgr::processParcelDwellReply(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMedia::processParcelMediaUpdate(), LLViewerParcelMgr::processParcelProperties(), LLPanelPick::processPickInfoReply(), LLFloaterLandHoldings::processPlacesReply(), LLTransferManager::processTransferAbort(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), LLParcel::unpackMessage(), and LLInventoryItem::unpackMessage().
void LLMessageSystem::getF32Fast | ( | const char * | block, | |
const char * | var, | |||
F32 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3793 of file message.cpp.
References LLMessageReader::getF32(), and mMessageReader.
Referenced by getF32(), LLFloaterTopObjects::handleReply(), process_attached_sound(), process_attached_sound_gain_change(), process_health_message(), process_mean_collision_alert_message(), process_sound_trigger(), process_time_synch(), LLPanelDirBrowser::processDirGroupsReply(), LLRegionEconomy::processEconomyData(), LLGlobalEconomy::processEconomyData(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLViewerParcelMgr::processParcelProperties(), LLFloaterRegionInfo::processRegionInfo(), LLFloaterGodTools::processRegionInfo(), LLViewerObject::processUpdateMessage(), LLHUDEffect::unpackData(), and LLParcel::unpackMessage().
Definition at line 3799 of file message.cpp.
References getF32Fast(), LLSingleton< LLMessageStringTable >::getInstance(), and getString().
Referenced by process_set_follow_cam_properties(), process_sim_stats(), LLPanelDirBrowser::processDirPlacesReply(), LLRegionEconomy::processEconomyData(), LLPanelGroupLandMoney::impl::processGroupLand(), LLViewerParcelMgr::processParcelDwellReply(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMedia::processParcelMediaCommandMessage(), LLFloaterLandHoldings::processPlacesReply(), LLFloaterRegionInfo::processRegionInfo(), LLTransferManager::processTransferRequest(), and LLViewerRegion::unpackRegionHandshake().
void LLMessageSystem::getU32Fast | ( | const char * | block, | |
const char * | var, | |||
U32 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3747 of file message.cpp.
References LLMessageReader::getU32(), and mMessageReader.
Referenced by getU32(), LLFloaterTopObjects::handleReply(), process_improved_im(), process_kill_object(), process_mean_collision_alert_message(), process_packet_ack(), process_start_ping_check(), process_teleport_finish(), process_teleport_local(), process_time_synch(), processAddCircuitCode(), LLAgent::processAgentInitialWearablesUpdate(), LLPanelAvatar::processAvatarInterestsReply(), LLPanelAvatar::processAvatarPropertiesReply(), LLInventoryModel::processBulkUpdateInventory(), LLPanelClassified::processClassifiedInfoReply(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupPropertiesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapItemReply(), LLWorldMap::processMapLayerReply(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLViewerObjectList::processObjectUpdate(), LLViewerParcelMgr::processParcelAccessListReply(), LLViewerParcelMgr::processParcelProperties(), LLFloaterGodTools::processRegionInfo(), LLInventoryModel::processUpdateCreateInventoryItem(), LLViewerObject::processUpdateMessage(), processUseCircuitCode(), LLViewerImageList::receiveImageHeader(), LLParcel::unpackAccessEntries(), LLPermissions::unpackMessage(), LLParcel::unpackMessage(), LLInventoryItem::unpackMessage(), LLCategory::unpackMessage(), LLIMInfo::unpackMessageBlock(), and LLCategory::unpackMultiMessage().
Definition at line 3753 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getU32Fast().
Referenced by process_covenant_reply(), process_sim_stats(), process_teleport_progress(), process_teleport_start(), LLPanelClassified::processClassifiedInfoReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelEvent::processEventInfoReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLPanelGroupNotices::processNotices(), LLViewerParcelMedia::processParcelMediaCommandMessage(), LLFloaterReporter::processRegionInfo(), LLFloaterRegionInfo::processRegionInfo(), LLAgent::processScriptControlChange(), LLEventInfo::unpack(), LLInventoryItem::unpackMessage(), and LLViewerRegion::unpackRegionHandshake().
void LLMessageSystem::getU64Fast | ( | const char * | block, | |
const char * | var, | |||
U64 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3760 of file message.cpp.
References LLMessageReader::getU64(), and mMessageReader.
Referenced by getU64(), process_agent_movement_complete(), process_crossed_region(), process_enable_simulator(), process_sound_trigger(), process_teleport_finish(), process_time_synch(), LLXferManager::processAbort(), LLXferManager::processConfirmation(), LLXferManager::processFileRequest(), LLGroupMgr::processGroupPropertiesReply(), LLSelectMgr::processObjectProperties(), LLViewerObjectList::processObjectUpdate(), LLXferManager::processReceiveData(), and LLViewerObject::processUpdateMessage().
Definition at line 3766 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getU64Fast().
Referenced by LLAgent::processAgentDataUpdate(), LLAgent::processAgentGroupDataUpdate(), LLPanelAvatar::processAvatarGroupsReply(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupRoleDataReply(), and LLLandmark::processRegionIDAndHandle().
void LLMessageSystem::getF64Fast | ( | const char * | block, | |
const char * | var, | |||
F64 & | data, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3806 of file message.cpp.
References LLMessageReader::getF64(), and mMessageReader.
Referenced by getF64(), and LLAvatarTracker::processAgentFound().
Definition at line 3812 of file message.cpp.
References getF64Fast(), LLSingleton< LLMessageStringTable >::getInstance(), and getString().
void LLMessageSystem::getVector3Fast | ( | const char * | block, | |
const char * | var, | |||
LLVector3 & | vec, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3820 of file message.cpp.
References LLMessageReader::getVector3(), and mMessageReader.
Referenced by getVector3(), process_agent_movement_complete(), process_avatar_sit_response(), process_improved_im(), process_sound_trigger(), process_teleport_local(), process_time_synch(), LLViewerParcelMgr::processParcelProperties(), LLViewerObject::processUpdateMessage(), LLParcel::unpackMessage(), and LLIMInfo::unpackMessageBlock().
void LLMessageSystem::getVector3 | ( | const char * | block, | |
const char * | var, | |||
LLVector3 & | vec, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3826 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getVector3Fast().
Referenced by process_script_teleport_request(), and LLFloaterTelehub::unpackTelehubInfo().
void LLMessageSystem::getVector4Fast | ( | const char * | block, | |
const char * | var, | |||
LLVector4 & | vec, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3833 of file message.cpp.
References LLMessageReader::getVector4(), and mMessageReader.
Referenced by getVector4(), and process_camera_constraint().
void LLMessageSystem::getVector4 | ( | const char * | block, | |
const char * | var, | |||
LLVector4 & | vec, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3839 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getVector4Fast().
void LLMessageSystem::getVector3dFast | ( | const char * | block, | |
const char * | var, | |||
LLVector3d & | vec, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3846 of file message.cpp.
References LLMessageReader::getVector3d(), and mMessageReader.
Referenced by getVector3d(), and LLPanelClassified::processClassifiedInfoReply().
void LLMessageSystem::getVector3d | ( | const char * | block, | |
const char * | var, | |||
LLVector3d & | vec, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3852 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getVector3dFast().
Referenced by LLPanelPick::processPickInfoReply(), and LLEventInfo::unpack().
void LLMessageSystem::getQuatFast | ( | const char * | block, | |
const char * | var, | |||
LLQuaternion & | q, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3859 of file message.cpp.
References LLMessageReader::getQuat(), and mMessageReader.
Referenced by getQuat(), and process_avatar_sit_response().
void LLMessageSystem::getQuat | ( | const char * | block, | |
const char * | var, | |||
LLQuaternion & | q, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3865 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getQuatFast(), and getString().
Referenced by LLFloaterTelehub::unpackTelehubInfo().
void LLMessageSystem::getUUIDFast | ( | const char * | block, | |
const char * | var, | |||
LLUUID & | uuid, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3872 of file message.cpp.
References LLMessageReader::getUUID(), and mMessageReader.
Referenced by LLInventoryTransactionObserver::changed(), LLHUDEffect::getIDType(), getUUID(), LLFloaterTopObjects::handleReply(), LLInventoryModel::messageUpdateCore(), process_agent_movement_complete(), process_attached_sound(), process_attached_sound_gain_change(), process_avatar_animation(), process_avatar_appearance(), process_avatar_sit_response(), process_clear_follow_cam_properties(), process_create_trusted_circuit(), process_crossed_region(), process_deny_trusted_circuit(), process_feature_disabled_message(), process_grant_godlike_powers(), process_improved_im(), process_logout_reply(), process_mean_collision_alert_message(), process_name_value(), process_offer_callingcard(), process_preload_sound(), process_remove_name_value(), process_script_question(), process_set_follow_cam_properties(), process_sound_trigger(), process_teleport_finish(), process_teleport_local(), process_user_info_reply(), processAddCircuitCode(), LLAgent::processAgentCachedTextureResponse(), LLAgent::processAgentDataUpdate(), LLAgent::processAgentDropGroup(), LLAvatarTracker::processAgentFound(), LLAgent::processAgentGroupDataUpdate(), LLAgent::processAgentInitialWearablesUpdate(), LLPanelAvatar::processAvatarClassifiedReply(), LLPanelAvatarClassified::processAvatarClassifiedReply(), LLPanelAvatar::processAvatarGroupsReply(), LLPanelAvatar::processAvatarInterestsReply(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLPanelAvatar::processAvatarPropertiesReply(), LLInventoryModel::processBulkUpdateInventory(), LLAvatarTracker::processChange(), LLPanelClassified::processClassifiedInfoReply(), LLGroupMgr::processCreateGroupReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirPeopleReply(), LLGroupMgr::processEjectGroupMemberReply(), LLPanelEvent::processEventInfoReply(), LLXferManager::processFileRequest(), LLPanelGroupLandMoney::processGroupAccountDetailsReply(), LLPanelGroupLandMoney::processGroupAccountSummaryReply(), LLPanelGroupLandMoney::processGroupAccountTransactionsReply(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLViewerImageList::processImageNotInDatabase(), LLInventoryModel::processInventoryDescendents(), LLGroupMgr::processJoinGroupReply(), LLGroupMgr::processLeaveGroupReply(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapItemReply(), LLWorldMap::processMapLayerReply(), LLInventoryModel::processMoveInventoryItem(), LLMuteList::processMuteListUpdate(), LLAvatarTracker::processNotify(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLViewerObjectList::processObjectUpdate(), LLViewerParcelMgr::processParcelAccessListReply(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLViewerParcelMgr::processParcelProperties(), LLFloaterPay::processPayPriceReply(), LLInventoryModel::processRemoveInventoryFolder(), LLInventoryModel::processRemoveInventoryItem(), LLGroupMoneyPlanningTabEventHandler::processReply(), LLGroupMoneySalesTabEventHandler::processReply(), LLGroupMoneyDetailsTabEventHandler::processReply(), LLInventoryModel::processSaveAssetIntoInventory(), LLLiveLSLEditor::processScriptRunningReply(), LLViewerObject::processTaskInv(), LLInventoryModel::processUpdateCreateInventoryItem(), LLInventoryModel::processUpdateInventoryFolder(), LLViewerObject::processUpdateMessage(), LLAssetStorage::processUploadComplete(), processUseCircuitCode(), LLCacheName::Impl::processUUIDReply(), LLCacheName::Impl::processUUIDRequest(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), LLParcel::unpackAccessEntries(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLHUDEffect::unpackData(), LLDispatcher::unpackMessage(), LLPermissions::unpackMessage(), LLParcel::unpackMessage(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), and LLIMInfo::unpackMessageBlock().
void LLMessageSystem::getUUID | ( | const char * | block, | |
const char * | var, | |||
LLUUID & | uuid, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3878 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getString(), and getUUIDFast().
Referenced by process_chat_from_simulator(), process_covenant_reply(), process_generic_message(), process_initiate_download(), process_load_url(), process_logout_reply(), process_money_balance_reply(), process_places_reply(), process_script_dialog(), process_teleport_progress(), LLPanelAvatar::processAvatarNotesReply(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLPanelAvatar::processAvatarPicksReply(), LLPanelAvatarPicks::processAvatarPicksReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPlacesReply(), processError(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelGroupNotices::processGroupNoticesListReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLInventoryModel::processInventoryDescendents(), LLPanelGroupNotices::processNotices(), LLViewerParcelMgr::processParcelDwellReply(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMedia::processParcelMediaUpdate(), LLPanelPick::processPickInfoReply(), LLPanelGroupLandMoney::processPlacesReply(), LLFloaterLandHoldings::processPlacesReply(), LLVOAvatar::processRebakeAvatarTextures(), LLLandmark::processRegionIDAndHandle(), LLAvatarTracker::processTerminateFriendship(), LLTransferManager::processTransferAbort(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), LLViewerRegion::unpackRegionHandshake(), and LLFloaterTelehub::unpackTelehubInfo().
void LLMessageSystem::getIPAddrFast | ( | const char * | block, | |
const char * | var, | |||
U32 & | ip, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3885 of file message.cpp.
References LLMessageReader::getIPAddr(), and mMessageReader.
Referenced by getIPAddr(), open_circuit(), process_crossed_region(), process_enable_simulator(), and process_teleport_finish().
void LLMessageSystem::getIPAddr | ( | const char * | block, | |
const char * | var, | |||
U32 & | ip, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3891 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getIPAddrFast(), and getString().
void LLMessageSystem::getIPPortFast | ( | const char * | block, | |
const char * | var, | |||
U16 & | port, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3898 of file message.cpp.
References LLMessageReader::getIPPort(), and mMessageReader.
Referenced by getIPPort(), open_circuit(), process_crossed_region(), process_enable_simulator(), and process_teleport_finish().
void LLMessageSystem::getIPPort | ( | const char * | block, | |
const char * | var, | |||
U16 & | port, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3904 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getIPPortFast(), and getString().
void LLMessageSystem::getStringFast | ( | const char * | block, | |
const char * | var, | |||
S32 | buffer_size, | |||
char * | buffer, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3913 of file message.cpp.
References LLMessageReader::getString(), LL_WARNS, llendl, and mMessageReader.
Referenced by getString(), LLFloaterTopObjects::handleReply(), process_agent_alert_message(), process_alert_message(), process_chat_from_simulator(), process_crossed_region(), process_feature_disabled_message(), process_improved_im(), process_kick_user(), process_money_balance_reply(), process_name_value(), process_remove_name_value(), process_script_question(), process_teleport_failed(), process_teleport_finish(), process_user_info_reply(), LLAgent::processAgentDataUpdate(), LLAgent::processAgentGroupDataUpdate(), LLPanelAvatarClassified::processAvatarClassifiedReply(), LLPanelAvatar::processAvatarGroupsReply(), LLPanelAvatar::processAvatarInterestsReply(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLPanelAvatar::processAvatarPropertiesReply(), LLPanelClassified::processClassifiedInfoReply(), LLGroupMgr::processCreateGroupReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirPeopleReply(), LLXferManager::processFileRequest(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupPropertiesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapItemReply(), LLMuteList::processMuteListUpdate(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterGodTools::processRegionInfo(), LLGroupMoneyPlanningTabEventHandler::processReply(), LLGroupMoneySalesTabEventHandler::processReply(), LLGroupMoneyDetailsTabEventHandler::processReply(), LLViewerObject::processTaskInv(), LLViewerObject::processUpdateMessage(), LLCacheName::Impl::processUUIDReply(), LLDispatcher::unpackMessage(), LLParcel::unpackMessage(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), and LLIMInfo::unpackMessageBlock().
void LLMessageSystem::getString | ( | const char * | block, | |
const char * | var, | |||
S32 | buffer_size, | |||
char * | buffer, | |||
S32 | blocknum = 0 | |||
) |
Definition at line 3923 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), and getStringFast().
Referenced by addBinaryData(), addBOOL(), addF32(), addF64(), addIPAddr(), addIPPort(), addQuat(), addS16(), addS32(), addS8(), addString(), addU16(), addU32(), addU64(), addU8(), addUUID(), addVector3(), addVector3d(), addVector4(), getBinaryData(), getBOOL(), getF32(), getF64(), getIPAddr(), getIPPort(), getNumberOfBlocks(), getQuat(), getS16(), getS32(), getS8(), getSize(), getU16(), getU32(), getU64(), getU8(), getUUID(), getVector3(), getVector3d(), getVector4(), isMessage(), newMessage(), nextBlock(), process_agent_movement_complete(), process_chat_from_simulator(), process_covenant_reply(), process_initiate_download(), process_load_url(), process_script_dialog(), process_script_teleport_request(), process_teleport_progress(), process_user_info_reply(), LLAgent::processAgentDataUpdate(), LLPanelAvatar::processAvatarInterestsReply(), LLPanelAvatar::processAvatarNotesReply(), LLPanelAvatarPicks::processAvatarPicksReply(), LLPanelAvatar::processAvatarPropertiesReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPlacesReply(), processError(), LLPanelGroupLandMoney::impl::processGroupLand(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupTitlesReply(), LLInventoryModel::processMoveInventoryItem(), LLPanelGroupNotices::processNotices(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMedia::processParcelMediaUpdate(), LLPanelPick::processPickInfoReply(), LLFloaterLandHoldings::processPlacesReply(), LLFloaterRegionInfo::processRegionInfo(), setHandlerFunc(), LLEventInfo::unpack(), LLParcel::unpackMessage(), LLViewerRegion::unpackRegionHandshake(), and LLFloaterTelehub::unpackTelehubInfo().
bool LLMessageSystem::generateDigestForNumberAndUUIDs | ( | char * | digest, | |
const U32 | number, | |||
const LLUUID & | id1, | |||
const LLUUID & | id2 | |||
) | const |
Definition at line 3073 of file message.cpp.
References LLUUID::asString(), d, LLMD5::finalize(), get_shared_secret(), LLMD5::hex_digest(), MD5HEX_STR_SIZE, NULL, and LLMD5::update().
Referenced by generateDigestForWindowAndUUIDs(), and isMatchingDigestForWindowAndUUIDs().
bool LLMessageSystem::generateDigestForWindowAndUUIDs | ( | char * | digest, | |
const S32 | window, | |||
const LLUUID & | id1, | |||
const LLUUID & | id2 | |||
) | const |
Definition at line 3124 of file message.cpp.
References generateDigestForNumberAndUUIDs(), get_shared_secret(), LL_ERRS, llendl, and NULL.
Referenced by sendCreateTrustedCircuit().
bool LLMessageSystem::isMatchingDigestForWindowAndUUIDs | ( | const char * | digest, | |
const S32 | window, | |||
const LLUUID & | id1, | |||
const LLUUID & | id2 | |||
) | const |
Definition at line 3142 of file message.cpp.
References generateDigestForNumberAndUUIDs(), get_shared_secret(), i, LL_ERRS, llendl, MD5HEX_STR_BYTES, MD5HEX_STR_SIZE, NULL, and S32.
Referenced by process_create_trusted_circuit().
bool LLMessageSystem::generateDigestForNumber | ( | char * | digest, | |
const U32 | number | |||
) | const |
Definition at line 3176 of file message.cpp.
References d, get_shared_secret(), LLMD5::hex_digest(), and MD5HEX_STR_SIZE.
Referenced by generateDigestForWindow(), and isMatchingDigestForWindow().
bool LLMessageSystem::generateDigestForWindow | ( | char * | digest, | |
const S32 | window | |||
) | const |
Definition at line 3189 of file message.cpp.
References generateDigestForNumber(), get_shared_secret(), LL_ERRS, llendl, and NULL.
bool LLMessageSystem::isMatchingDigestForWindow | ( | const char * | digest, | |
const S32 | window | |||
) | const |
Definition at line 3208 of file message.cpp.
References generateDigestForNumber(), get_shared_secret(), i, LL_ERRS, llendl, MD5HEX_STR_BYTES, MD5HEX_STR_SIZE, NULL, and S32.
void LLMessageSystem::showCircuitInfo | ( | ) |
void LLMessageSystem::getCircuitInfo | ( | LLSD & | info | ) | const |
Definition at line 1588 of file message.cpp.
References LLCircuit::getInfo(), and mCircuitInfo.
Referenced by LLAppViewer::handleViewerCrash().
U32 LLMessageSystem::getOurCircuitCode | ( | ) |
Definition at line 1583 of file message.cpp.
References mOurCircuitCode.
Referenced by process_enable_simulator(), and process_teleport_finish().
Definition at line 1607 of file message.cpp.
References LLCircuit::addCircuitData(), LLCircuit::findCircuit(), mCircuitInfo, LLCircuitData::setAlive(), LLCircuitData::setTrusted(), and TRUE.
Referenced by idle_startup(), open_circuit(), process_enable_simulator(), process_teleport_finish(), and processUseCircuitCode().
void LLMessageSystem::disableCircuit | ( | const LLHost & | host | ) |
Definition at line 1621 of file message.cpp.
References findCircuitCode(), gMessageSystem, LL_INFOS, LL_WARNS, llendl, mCircuitCodes, mCircuitCodeToIPPort, mCircuitInfo, mIPPortToCircuitCode, and LLCircuit::removeCircuitData().
Referenced by close_circuit(), process_disable_simulator(), and processUseCircuitCode().
void LLMessageSystem::sendCreateTrustedCircuit | ( | const LLHost & | host, | |
const LLUUID & | id1, | |||
const LLUUID & | id2 | |||
) |
Definition at line 3242 of file message.cpp.
References _PREHASH_CreateTrustedCircuit, _PREHASH_DataBlock, _PREHASH_Digest, _PREHASH_EndPointID, addBinaryDataFast(), addUUIDFast(), generateDigestForWindowAndUUIDs(), get_shared_secret(), LLUUID::isNull(), LL_INFOS, LL_WARNS, llendl, MD5HEX_STR_BYTES, MD5HEX_STR_SIZE, newMessageFast(), nextBlockFast(), sendMessage(), and TRUST_TIME_WINDOW.
Referenced by process_deny_trusted_circuit().
void LLMessageSystem::sendDenyTrustedCircuit | ( | const LLHost & | host | ) |
Definition at line 3266 of file message.cpp.
References mDenyTrustedCircuitSet.
Referenced by checkMessages(), and process_create_trusted_circuit().
bool LLMessageSystem::isTrustedSender | ( | const LLHost & | host | ) | const |
Return false if host is unknown or untrusted
Definition at line 458 of file message.cpp.
References LLCircuit::findCircuit(), LLCircuitData::getTrusted(), mCircuitInfo, and NULL.
Referenced by LLTrustedMessageService::post().
bool LLMessageSystem::isTrustedMessage | ( | const std::string & | name | ) | const |
Return false true if name is unknown or untrusted
Definition at line 477 of file message.cpp.
References findTemplate(), mMessageTemplates, and MT_TRUST.
Referenced by LLTrustedMessageService::post().
bool LLMessageSystem::isUntrustedMessage | ( | const std::string & | name | ) | const |
Return false true if name is unknown or trusted
Definition at line 485 of file message.cpp.
References findTemplate(), mMessageTemplates, and MT_NOTRUST.
void LLMessageSystem::reallySendDenyTrustedCircuit | ( | const LLHost & | host | ) | [private] |
Definition at line 3271 of file message.cpp.
References _PREHASH_DataBlock, _PREHASH_DenyTrustedCircuit, _PREHASH_EndPointID, addUUIDFast(), LLCircuit::findCircuit(), LLCircuitData::getLocalEndPointID(), LL_INFOS, LL_WARNS, llendl, mCircuitInfo, newMessageFast(), nextBlockFast(), and sendMessage().
Referenced by establishBidirectionalTrust(), and processAcks().
Definition at line 3295 of file message.cpp.
References _PREHASH_CompletePingCheck, _PREHASH_OldestUnacked, _PREHASH_PingID, _PREHASH_StartPingCheck, addU32Fast(), addU8Fast(), checkMessages(), LLCircuit::findCircuit(), get_shared_secret(), getSender(), LLCircuitData::getTrusted(), LLTimer::hasExpired(), isMessageFast(), LL_ERRS, llendl, mCircuitInfo, ms_sleep(), newMessage(), newMessageFast(), nextBlockFast(), NULL, null_message_callback(), process_complete_ping_check(), process_start_ping_check(), processAcks(), reallySendDenyTrustedCircuit(), sendMessage(), setHandlerFuncFast(), and LLTimer::setTimerExpirySec().
Definition at line 1594 of file message.cpp.
References FALSE, LLCircuit::findCircuit(), LLCircuitData::getTrusted(), and mCircuitInfo.
Definition at line 1668 of file message.cpp.
References LLCircuit::findCircuit(), mCircuitInfo, and LLCircuitData::setAllowTimeout().
void LLMessageSystem::setCircuitTimeoutCallback | ( | const LLHost & | host, | |
void(*)(const LLHost &host, void *user_data) | callback_func, | |||
void * | user_data | |||
) |
Definition at line 1677 of file message.cpp.
References LLCircuit::findCircuit(), mCircuitInfo, and LLCircuitData::setTimeoutCallback().
Definition at line 1687 of file message.cpp.
References FALSE, LLCircuit::findCircuit(), findHost(), LLCircuitData::isBlocked(), LLHost::isOk(), LL_DEBUGS, LL_INFOS, llendl, mCircuitInfo, and TRUE.
Definition at line 1709 of file message.cpp.
References FALSE, LLCircuit::findCircuit(), findHost(), LLCircuitData::isAlive(), LLHost::isOk(), LL_DEBUGS, LL_INFOS, llendl, and mCircuitInfo.
Definition at line 1731 of file message.cpp.
References FALSE, LLCircuit::findCircuit(), LLCircuitData::isAlive(), LL_DEBUGS, llendl, and mCircuitInfo.
void LLMessageSystem::setCircuitProtection | ( | BOOL | b_protect | ) |
Definition at line 1752 of file message.cpp.
References get_if_there(), LLHost::getAddress(), LLHost::getPort(), and mIPPortToCircuitCode.
Referenced by disableCircuit().
Definition at line 1761 of file message.cpp.
References LLHost::invalid, and mCircuitCodeToIPPort.
Referenced by checkCircuitAlive(), checkCircuitBlocked(), forwardReliable(), sendMessage(), and sendReliable().
void LLMessageSystem::sanityCheck | ( | ) |
Definition at line 1526 of file message.cpp.
S32 LLMessageSystem::getNumberOfBlocksFast | ( | const char * | blockname | ) |
Definition at line 3931 of file message.cpp.
References LLMessageReader::getNumberOfBlocks(), and mMessageReader.
Referenced by LLInventoryTransactionObserver::changed(), LLInventoryAddedObserver::changed(), getNumberOfBlocks(), LLInventoryModel::messageUpdateCore(), process_avatar_animation(), process_kill_object(), process_logout_reply(), process_name_value(), process_packet_ack(), process_remove_name_value(), LLAgent::processAgentCachedTextureResponse(), LLAgent::processAgentGroupDataUpdate(), LLAgent::processAgentInitialWearablesUpdate(), LLVOAvatar::processAvatarAppearance(), LLPanelAvatarClassified::processAvatarClassifiedReply(), LLPanelAvatar::processAvatarGroupsReply(), LLInventoryModel::processBulkUpdateInventory(), LLAvatarTracker::processChange(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLInventoryModel::processInventoryDescendents(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapLayerReply(), LLInventoryModel::processMoveInventoryItem(), LLAvatarTracker::processNotify(), LLSelectMgr::processObjectProperties(), LLViewerObjectList::processObjectUpdate(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLViewerParcelMgr::processParcelProperties(), LLFloaterPay::processPayPriceReply(), LLInventoryModel::processRemoveInventoryFolder(), LLInventoryModel::processRemoveInventoryItem(), LLGroupMoneySalesTabEventHandler::processReply(), LLGroupMoneyDetailsTabEventHandler::processReply(), LLInventoryModel::processUpdateInventoryFolder(), LLCacheName::Impl::processUUIDReply(), LLCacheName::Impl::processUUIDRequest(), LLHUDManager::processViewerEffect(), LLParcel::unpackAccessEntries(), LLDispatcher::unpackMessage(), and LLViewerRegion::updateCoarseLocations().
S32 LLMessageSystem::getNumberOfBlocks | ( | const char * | blockname | ) |
Definition at line 3936 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getNumberOfBlocksFast(), and getString().
Referenced by LLFloaterTopObjects::handleReply(), process_mean_collision_alert_message(), process_script_dialog(), process_set_follow_cam_properties(), process_sim_stats(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLPanelAvatarPicks::processAvatarPicksReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPlacesReply(), LLSelectMgr::processForceObjectSelect(), LLPanelGroupLandMoney::impl::processGroupLand(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLWorldMap::processMapItemReply(), LLPanelGroupNotices::processNotices(), LLViewerParcelMedia::processParcelMediaUpdate(), LLFloaterLandHoldings::processPlacesReply(), LLAgent::processScriptControlChange(), LLParcel::unpackMessage(), and LLFloaterTelehub::unpackTelehubInfo().
S32 LLMessageSystem::getSizeFast | ( | const char * | blockname, | |
const char * | varname | |||
) |
Definition at line 3941 of file message.cpp.
References LLMessageReader::getSize(), and mMessageReader.
Referenced by getSize(), process_create_trusted_circuit(), process_improved_im(), process_layer_data(), LLSelectMgr::processObjectProperties(), LLViewerObjectList::processObjectUpdate(), LLViewerParcelMgr::processParcelOverlay(), LLXferManager::processReceiveData(), LLVOVolume::processUpdateMessage(), LLViewerObject::processUpdateMessage(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), LLHUDEffectSpiral::unpackData(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLHUDEffectBeam::unpackData(), LLDispatcher::unpackMessage(), LLIMInfo::unpackMessageBlock(), LLTextureAnim::unpackTAMessage(), and LLPrimitive::unpackTEMessage().
S32 LLMessageSystem::getSize | ( | const char * | blockname, | |
const char * | varname | |||
) |
Definition at line 3946 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getSizeFast(), and getString().
Referenced by LLPartSysData::isNullPS(), LLPanelAvatar::processAvatarPropertiesReply(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), and LLPartSysData::unpackBlock().
Definition at line 3953 of file message.cpp.
References LLMessageReader::getSize(), and mMessageReader.
Definition at line 3959 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), getSizeFast(), and getString().
void LLMessageSystem::resetReceiveCounts | ( | ) |
Definition at line 2689 of file message.cpp.
References LLMessageTemplate::mDecodeTimeThisFrame, mMessageTemplates, and mNumMessageCounts.
Referenced by processAcks().
void LLMessageSystem::dumpReceiveCounts | ( | ) |
Definition at line 2703 of file message.cpp.
References get_ptr_in_map(), i, LL_DEBUGS, LL_INFOS, llendl, llround(), LLMessageTemplate::mDecodeTimeThisFrame, LLMessageSystem::LLMessageCountInfo::mMessageBytes, mMessageCountList, mMessageNumbers, mMessageTemplates, LLMessageTemplate::mName, mNumMessageCounts, LLMessageTemplate::mReceiveBytes, LLMessageTemplate::mReceiveCount, LLMessageTemplate::mReceiveInvalid, mReceiveTime, and S32.
Referenced by processAcks().
void LLMessageSystem::dumpCircuitInfo | ( | ) |
Definition at line 1577 of file message.cpp.
References lldebugst, llendl, and mCircuitInfo.
Referenced by checkMessages().
BOOL LLMessageSystem::isClear | ( | ) | const |
Definition at line 2751 of file message.cpp.
References LLMessageBuilder::isClear(), and mMessageBuilder.
Definition at line 2757 of file message.cpp.
References clearMessage(), LLMessageBuilder::getMessageSize(), mMessageBuilder, S32, and sendMessage().
U32 LLMessageSystem::getListenPort | ( | void | ) | const |
void LLMessageSystem::startLogging | ( | ) |
Definition at line 2559 of file message.cpp.
References LL_INFOS, llendl, mVerboseLog, and TRUE.
Referenced by handle_viewer_enable_message_log(), and idle_startup().
void LLMessageSystem::stopLogging | ( | ) |
Definition at line 2571 of file message.cpp.
References FALSE, LL_INFOS, llendl, and mVerboseLog.
Referenced by end_messaging_system(), handle_viewer_disable_message_log(), and LLAppViewer::handleViewerCrash().
void LLMessageSystem::summarizeLogs | ( | std::ostream & | str | ) |
Definition at line 2580 of file message.cpp.
References LLTimer::getElapsedTimeF32(), MAX_STRING, mCompressedBytesIn, mCompressedBytesOut, mCompressedPacketsIn, mCompressedPacketsOut, mDroppedPackets, mFailedResendPackets, mInvalidOnCircuitPackets, LLMessageTemplate::mMaxDecodeTimePerMsg, mMessageSystemTimer, mMessageTemplates, LLMessageTemplate::mName, mOffCircuitPackets, mPacketsIn, mPacketsOut, mReliablePacketsIn, mReliablePacketsOut, mResentPackets, mSendPacketFailureCount, mTotalBytesIn, mTotalBytesOut, LLMessageTemplate::mTotalDecoded, LLMessageTemplate::mTotalDecodeTime, mUncompressedBytesIn, mUncompressedBytesOut, and U64_to_str().
Referenced by end_messaging_system(), and LLAppViewer::handleViewerCrash().
S32 LLMessageSystem::getReceiveSize | ( | ) | const |
Definition at line 3966 of file message.cpp.
References LLMessageReader::getMessageSize(), and mMessageReader.
Referenced by getReceiveBytes(), process_cached_object_update(), process_compressed_object_update(), process_layer_data(), process_object_update(), process_terse_object_update_improved(), LLPanelAvatar::processAvatarGroupsReply(), LLViewerObjectList::processObjectUpdate(), LLTransferManager::processTransferPacket(), LLViewerImageList::receiveImageHeader(), and LLViewerImageList::receiveImagePacket().
S32 LLMessageSystem::getReceiveCompressedSize | ( | ) | const [inline] |
Definition at line 613 of file message.h.
References mIncomingCompressedSize.
Referenced by getReceiveBytes(), process_cached_object_update(), process_compressed_object_update(), process_layer_data(), process_object_update(), process_terse_object_update_improved(), LLViewerObjectList::processObjectUpdate(), LLTransferManager::processTransferPacket(), LLViewerImageList::receiveImageHeader(), and LLViewerImageList::receiveImagePacket().
S32 LLMessageSystem::getReceiveBytes | ( | ) | const |
Definition at line 904 of file message.cpp.
References getReceiveCompressedSize(), and getReceiveSize().
S32 LLMessageSystem::getUnackedListSize | ( | ) | const [inline] |
void LLMessageSystem::setMaxMessageTime | ( | const F32 | seconds | ) |
Definition at line 1773 of file message.cpp.
References mMaxMessageTime.
Referenced by idle_startup().
void LLMessageSystem::setMaxMessageCounts | ( | const S32 | num | ) |
Definition at line 3380 of file message.cpp.
References mCurrentMessageTimeSeconds, SEC_PER_USEC, totalTime(), and USEC_PER_SEC.
Referenced by checkMessages(), LLCircuitData::checkPacketInID(), LLCircuitData::clearDuplicateList(), and LLCircuitData::updateWatchDogTimers().
Definition at line 3397 of file message.cpp.
References mCurrentMessageTimeSeconds, SEC_PER_USEC, and totalTime().
Referenced by LLAssetStorage::_cleanupRequests(), LLHTTPAssetStorage::bumpTimedOutUploads(), LLCircuitData::checkCircuitTimeout(), checkMessages(), LLThrottleGroup::checkOverflow(), LLThrottle::checkOverflow(), LLCircuitData::checkPeriodTime(), LLThrottleGroup::dynamicAdjust(), LLThrottle::getAvailable(), LLCircuitData::getPingInTransitTime(), LLAssetRequest::LLAssetRequest(), LLCircuitData::LLCircuitData(), LLEstateAssetRequest::LLEstateAssetRequest(), LLInvItemRequest::LLInvItemRequest(), LLMessageSystem(), LLThrottle::LLThrottle(), LLCircuitData::pingTimerStart(), LLCircuitData::pingTimerStop(), processAcks(), LLCircuit::resendUnackedPackets(), LLThrottleGroup::resetDynamicAdjust(), LLCircuitData::setAlive(), LLThrottle::setRate(), LLThrottleGroup::throttleOverflow(), LLThrottle::throttleOverflow(), LLCircuitData::updateWatchDogTimers(), and LLCircuit::updateWatchDogTimers().
void LLMessageSystem::setTimeDecodes | ( | BOOL | b | ) | [static] |
Definition at line 3972 of file message.cpp.
References LLMessageReader::setTimeDecodes().
Referenced by idle_startup().
void LLMessageSystem::setTimeDecodesSpamThreshold | ( | F32 | seconds | ) | [static] |
Definition at line 3978 of file message.cpp.
References LLMessageReader::setTimeDecodesSpamThreshold().
Referenced by idle_startup().
void LLMessageSystem::processAddCircuitCode | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 1908 of file message.cpp.
References _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_SessionID, addCircuitCode(), getU32Fast(), and getUUIDFast().
Referenced by start_messaging_system().
void LLMessageSystem::processUseCircuitCode | ( | LLMessageSystem * | msg, | |
void ** | user | |||
) | [static] |
Definition at line 1951 of file message.cpp.
References _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_ID, _PREHASH_SessionID, LLCircuitData::checkPacketInID(), LLUseCircuitCodeResponder::complete(), disableCircuit(), enableCircuit(), FALSE, LLCircuit::findCircuit(), get_if_there(), getSender(), getSenderIP(), getSenderPort(), getU32Fast(), getUUIDFast(), LL_INFOS, LL_WARNS, llendl, mCircuitCodes, mCircuitCodeToIPPort, mCircuitInfo, mCurrentRecvPacketID, mIPPortToCircuitCode, LLCircuitData::setRemoteID(), LLCircuitData::setRemoteSessionID(), and TRUE.
Referenced by start_messaging_system().
void LLMessageSystem::processError | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 2087 of file message.cpp.
References getS32(), getSender(), getString(), getUUID(), LL_WARNS, llendl, MTUBYTES, and S32.
Referenced by start_messaging_system().
void LLMessageSystem::dispatch | ( | const std::string & | msg_name, | |
const LLSD & | message | |||
) | [static] |
Definition at line 2123 of file message.cpp.
References LLSimpleResponse::create().
Referenced by LLTrustedMessageService::post().
void LLMessageSystem::dispatch | ( | const std::string & | msg_name, | |
const LLSD & | message, | |||
LLHTTPNode::ResponsePtr | responsep | |||
) | [static] |
Definition at line 2132 of file message.cpp.
References LLSingleton< LLMessageStringTable >::getInstance(), LLMessageStringTable::getString(), LLMessageConfig::isValidMessage(), LL_WARNS, llendl, messageRootNode(), mMessageTemplates, LLHTTPNode::post(), and LLHTTPNode::traverse().
Definition at line 2183 of file message.cpp.
References LLSD::asBoolean(), check_for_unrecognized_messages(), LLSD::get(), LLSD::has(), LL_DEBUGS, LL_ENDL, LL_INFOS, LLMessageTemplate::mBanFromTrusted, LLMessageTemplate::mBanFromUntrusted, mMessageTemplates, and LLMessageTemplate::mName.
Referenced by LLMessageConfigFile::loadMessageBans().
S32 LLMessageSystem::sendError | ( | const LLHost & | host, | |
const LLUUID & | agent_id, | |||
S32 | code, | |||
const std::string & | token, | |||
const LLUUID & | id, | |||
const std::string & | system, | |||
const std::string & | message, | |||
const LLSD & | data | |||
) |
send an error message to the host. This is a helper method.
host | Destination host. | |
agent_id | Destination agent id (may be null) | |
code | An HTTP status compatible error code. | |
token | A specific short string based message | |
id | The transactionid/uniqueid/sessionid whatever. | |
system | The hierarchical path to the system (255 bytes) | |
message | Human readable message (1200 bytes) | |
data | Extra info. |
Definition at line 2223 of file message.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, addBinaryData(), addS32(), addString(), addUUID(), addUUIDFast(), ETHERNET_MTU_BYTES, LLMessageConfig::getMessageFlavor(), LLMessageBuilder::getMessageSize(), LL_WARNS, llendl, mMessageBuilder, MTUBYTES, newMessage(), nextBlockFast(), NULL, S32, sendReliable(), and LLMessageConfig::TEMPLATE_FLAVOR.
Definition at line 3985 of file message.cpp.
References LLPumpIO::callback(), checkMessages(), mPacketsIn, and LLPumpIO::pump().
Referenced by idle_startup(), and LLAppViewer::idleNetwork().
void LLMessageSystem::addTemplate | ( | LLMessageTemplate * | templatep | ) | [private] |
Definition at line 2949 of file message.cpp.
References LL_ERRS, llendl, LLMessageTemplate::mMessageNumber, mMessageNumbers, mMessageTemplates, and LLMessageTemplate::mName.
Referenced by loadTemplateFile().
void LLMessageSystem::clearReceiveState | ( | ) | [private] |
Definition at line 430 of file message.cpp.
References LLMessageReader::clearMessage(), LLHost::invalidate(), mCurrentRecvPacketID, mIncomingCompressedSize, mLastSender, and mMessageReader.
Referenced by checkMessages().
BOOL LLMessageSystem::decodeTemplate | ( | const U8 * | buffer, | |
S32 | buffer_size, | |||
LLMessageTemplate ** | msg_template | |||
) | [private] |
void LLMessageSystem::logMsgFromInvalidCircuit | ( | const LLHost & | sender, | |
BOOL | recv_reliable | |||
) | [private] |
Definition at line 1404 of file message.cpp.
References LLMessageReader::getMessageName(), LLMessageReader::getMessageSize(), LL_INFOS, LL_WARNS, llendl, MAX_MESSAGE_COUNT_NUM, MAX_STRING, mCurrentRecvPacketID, mIncomingCompressedSize, LLMessageSystem::LLMessageCountInfo::mInvalid, LLMessageSystem::LLMessageCountInfo::mMessageBytes, mMessageCountList, mMessageReader, mNumMessageCounts, mVerboseLog, nullToEmpty(), and TRUE.
Referenced by checkMessages().
void LLMessageSystem::logTrustedMsgFromUntrustedCircuit | ( | const LLHost & | sender | ) | [private] |
Definition at line 1459 of file message.cpp.
References LLMessageReader::getMessageName(), LLMessageReader::getMessageSize(), LL_WARNS, llendl, MAX_MESSAGE_COUNT_NUM, LLMessageSystem::LLMessageCountInfo::mInvalid, LLMessageSystem::LLMessageCountInfo::mMessageBytes, mMessageCountList, mMessageReader, mNumMessageCounts, nullToEmpty(), and TRUE.
Referenced by checkMessages().
void LLMessageSystem::logValidMsg | ( | LLCircuitData * | cdp, | |
const LLHost & | sender, | |||
BOOL | recv_reliable, | |||
BOOL | recv_resent, | |||
BOOL | recv_acks | |||
) | [private] |
Definition at line 1489 of file message.cpp.
References LLCircuitData::addBytesIn(), LLCircuitData::checkPacketInID(), FALSE, LLMessageReader::getMessageName(), LLMessageReader::getMessageSize(), LL_INFOS, LL_WARNS, llendl, MAX_MESSAGE_COUNT_NUM, MAX_STRING, mCurrentRecvPacketID, mIncomingCompressedSize, LLMessageSystem::LLMessageCountInfo::mInvalid, LLMessageSystem::LLMessageCountInfo::mMessageBytes, mMessageCountList, mMessageReader, mNumMessageCounts, mTrueReceiveSize, mVerboseLog, and nullToEmpty().
Referenced by checkMessages().
void LLMessageSystem::logRanOffEndOfPacket | ( | const LLHost & | sender | ) | [private] |
void LLMessageSystem::init | ( | void | ) | [private] |
Definition at line 240 of file message.cpp.
References FALSE, mbError, mBytesIn, mBytesOut, mCompressedBytesIn, mCompressedBytesOut, mCompressedPacketsIn, mCompressedPacketsOut, mCurrentRecvPacketID, mDroppedPackets, mDSMaxListDepth, mErrorCode, mFailedResendPackets, mIncomingCompressedSize, mInvalidOnCircuitPackets, mMessageBuilder, mMessageFileVersionNumber, mMessageReader, mNumberHighFreqMessages, mNumberLowFreqMessages, mNumberMediumFreqMessages, mOffCircuitPackets, mOurCircuitCode, mPacketsIn, mPacketsOut, mReliablePacketsIn, mReliablePacketsOut, mResentPackets, mSendReliable, mTimingCallback, mTimingCallbackData, mTotalBytesIn, mTotalBytesOut, mUnackedListDepth, mUnackedListSize, mUncompressedBytesIn, mUncompressedBytesOut, mVerboseLog, and NULL.
Referenced by LLMessageSystem().
bool LLMessageSystem::callHandler | ( | const char * | name, | |
bool | trustedSource, | |||
LLMessageSystem * | msg | |||
) | [private] |
Definition at line 2974 of file message.cpp.
References LLMessageTemplate::callHandlerFunc(), LLSingleton< LLMessageStringTable >::getInstance(), LLMessageStringTable::getString(), LLMessageTemplate::isBanned(), LL_WARNS, llendl, and mMessageTemplates.
Referenced by LLMessageHandlerBridge::post().
LLCircuitData * LLMessageSystem::findCircuit | ( | const LLHost & | host, | |
bool | resetPacketId | |||
) | [private] |
Find, create or revive circuit for host as needed
Definition at line 493 of file message.cpp.
References LLCircuit::addCircuitData(), LLCircuit::findCircuit(), LLCircuitData::isAlive(), mbProtected, mCircuitInfo, mCurrentRecvPacketID, NULL, LLCircuitData::setAlive(), LLCircuitData::setPacketInID(), and TRUE.
Referenced by checkMessages().
friend class LLMessageHandlerBridge [friend] |
std::ostream& operator<< | ( | std::ostream & | s, | |
LLMessageSystem & | msg | |||
) | [friend] |
Definition at line 1784 of file message.cpp.
U8 LLMessageSystem::mSendBuffer[MAX_BUFFER_SIZE] [private] |
Definition at line 211 of file message.h.
Referenced by sendMessage(), and zeroCodeAdjustCurrentSendTotal().
S32 LLMessageSystem::mSendSize [private] |
Definition at line 212 of file message.h.
Referenced by sendMessage(), and zeroCodeAdjustCurrentSendTotal().
Definition at line 215 of file message.h.
Referenced by checkMessages(), drop_packet(), dumpPacketToLog(), idle_startup(), LLCircuitData::resendUnackedPackets(), sendMessage(), and LLWorld::updateNetStats().
Definition at line 216 of file message.h.
Referenced by createResponder(), flushSemiReliable(), sendMessage(), and sendReliable().
Definition at line 219 of file message.h.
Referenced by LLCircuitData::ackReliablePacket(), checkMessages(), LLCircuitData::checkPacketInID(), init(), logMsgFromInvalidCircuit(), LLTemplateMessageReader::logRanOffEndOfPacket(), logValidMsg(), LLCircuitData::resendUnackedPackets(), LLCircuit::sendAcks(), sendMessage(), startLogging(), stopLogging(), LLCircuitData::updateWatchDogTimers(), and LLCircuitData::~LLCircuitData().
Definition at line 221 of file message.h.
Referenced by dump_prehash_files(), init(), loadTemplateFile(), and start_messaging_system().
Definition at line 227 of file message.h.
Referenced by addTemplate(), callHandler(), dispatch(), dumpReceiveCounts(), isTrustedMessage(), isUntrustedMessage(), LLMessageSystem(), resetReceiveCounts(), setHandlerFuncFast(), setMessageBans(), summarizeLogs(), and ~LLMessageSystem().
Definition at line 228 of file message.h.
Referenced by addTemplate(), dumpReceiveCounts(), LLMessageSystem(), operator<<(), and ~LLMessageSystem().
Definition at line 237 of file message.h.
Referenced by checkMessages(), findCircuit(), LLMessageSystem(), sendMessage(), and setCircuitProtection().
Definition at line 242 of file message.h.
Referenced by getListenPort(), LLMessageSystem(), operator<<(), and request().
Definition at line 243 of file message.h.
Referenced by checkMessages(), LLMessageSystem(), operator<<(), sendMessage(), and ~LLMessageSystem().
Definition at line 245 of file message.h.
Referenced by checkAllMessages(), checkMessages(), init(), LLMessageHandlerBridge::post(), send_stats(), summarizeLogs(), and LLWorld::updateNetStats().
Definition at line 246 of file message.h.
Referenced by init(), send_stats(), sendMessage(), summarizeLogs(), and LLWorld::updateNetStats().
Definition at line 251 of file message.h.
Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().
Definition at line 254 of file message.h.
Referenced by checkMessages(), init(), and summarizeLogs().
Definition at line 257 of file message.h.
Referenced by init(), send_stats(), summarizeLogs(), LLWorld::updateNetStats(), and LLCircuitData::updateWatchDogTimers().
Definition at line 258 of file message.h.
Referenced by init(), LLCircuitData::resendUnackedPackets(), send_stats(), and summarizeLogs().
Definition at line 259 of file message.h.
Referenced by init(), LLCircuitData::resendUnackedPackets(), send_stats(), summarizeLogs(), and LLCircuitData::~LLCircuitData().
Definition at line 260 of file message.h.
Referenced by checkMessages(), init(), send_stats(), and summarizeLogs().
Definition at line 261 of file message.h.
Referenced by checkMessages(), init(), send_stats(), and summarizeLogs().
Definition at line 263 of file message.h.
Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().
Definition at line 265 of file message.h.
Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().
Definition at line 267 of file message.h.
Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().
Definition at line 270 of file message.h.
Referenced by clearMessage(), copyMessageRtoS(), createResponder(), flushSemiReliable(), init(), newMessageFast(), sendMessage(), and sendReliable().
Definition at line 272 of file message.h.
Referenced by checkCircuitAlive(), checkCircuitBlocked(), checkMessages(), LLCircuitData::collectRAck(), disableCircuit(), dumpCircuitInfo(), enableCircuit(), establishBidirectionalTrust(), findCircuit(), flushSemiReliable(), getCircuitInfo(), getCircuitTrust(), LLViewerRegion::getPacketsLost(), getSenderID(), getSenderSessionID(), isTrustedSender(), LLWorld::printPacketsLost(), process_complete_ping_check(), process_create_trusted_circuit(), process_deny_trusted_circuit(), process_packet_ack(), process_start_ping_check(), processAcks(), LLViewerObject::processUpdateMessage(), processUseCircuitCode(), reallySendDenyTrustedCircuit(), LLXferManager::retransmitUnackedPackets(), sendMessage(), sendReliable(), sendSemiReliable(), setCircuitAllowTimeout(), setCircuitTimeoutCallback(), showCircuitInfo(), update_statistics(), LLViewerRegion::updateNetStats(), and LLTransferSourceChannel::updateTransfers().
std::map<U64, U32> LLMessageSystem::mIPPortToCircuitCode |
Definition at line 276 of file message.h.
Referenced by disableCircuit(), findCircuitCode(), and processUseCircuitCode().
std::map<U32, U64> LLMessageSystem::mCircuitCodeToIPPort |
Definition at line 277 of file message.h.
Referenced by disableCircuit(), findHost(), and processUseCircuitCode().
Definition at line 278 of file message.h.
Referenced by LLWorld::disconnectRegions(), getOurCircuitCode(), LLViewZoomDefault::handleEvent(), idle_startup(), init(), process_teleport_finish(), send_complete_agent_movement(), LLViewerWindow::sendShapeToSim(), LLViewerThrottleGroup::sendToSim(), and update_fov().
Definition at line 279 of file message.h.
Referenced by LLMessageSystem(), send_stats(), sendMessage(), and summarizeLogs().
Definition at line 281 of file message.h.
Referenced by getUnackedListSize(), init(), and processAcks().
Definition at line 565 of file message.h.
Referenced by processAcks(), and sendDenyTrustedCircuit().
Definition at line 679 of file message.h.
Referenced by addCircuitCode(), disableCircuit(), isCircuitCodeKnown(), and processUseCircuitCode().
LLUUID LLMessageSystem::mSessionID [private] |
LLMessagePollInfo* LLMessageSystem::mPollInfop [private] |
Definition at line 702 of file message.h.
Referenced by LLMessageSystem(), poll(), and ~LLMessageSystem().
U8 LLMessageSystem::mEncodedRecvBuffer[MAX_BUFFER_SIZE] [private] |
U8 LLMessageSystem::mTrueReceiveBuffer[MAX_BUFFER_SIZE] [private] |
S32 LLMessageSystem::mTrueReceiveSize [private] |
Definition at line 706 of file message.h.
Referenced by checkMessages(), dumpPacketToLog(), LLMessageSystem(), and logValidMsg().
BOOL LLMessageSystem::mbError [private] |
Definition at line 710 of file message.h.
Referenced by init(), isOK(), LLMessageSystem(), loadTemplateFile(), operator<<(), and ~LLMessageSystem().
S32 LLMessageSystem::mErrorCode [private] |
Definition at line 711 of file message.h.
Referenced by getErrorCode(), init(), and LLMessageSystem().
F64 LLMessageSystem::mResendDumpTime [private] |
Definition at line 715 of file message.h.
Referenced by dumpReceiveCounts(), logMsgFromInvalidCircuit(), logTrustedMsgFromUntrustedCircuit(), and logValidMsg().
S32 LLMessageSystem::mNumMessageCounts [private] |
Definition at line 716 of file message.h.
Referenced by checkMessages(), dumpReceiveCounts(), LLMessageSystem(), logMsgFromInvalidCircuit(), logTrustedMsgFromUntrustedCircuit(), logValidMsg(), processAcks(), and resetReceiveCounts().
F32 LLMessageSystem::mReceiveTime [private] |
F32 LLMessageSystem::mMaxMessageTime [private] |
Definition at line 718 of file message.h.
Referenced by LLMessageSystem(), processAcks(), and setMaxMessageTime().
S32 LLMessageSystem::mMaxMessageCounts [private] |
Definition at line 719 of file message.h.
Referenced by LLMessageSystem(), processAcks(), and setMaxMessageCounts().
F64 LLMessageSystem::mMessageCountTime [private] |
Definition at line 720 of file message.h.
Referenced by checkMessages(), LLMessageSystem(), and processAcks().
Definition at line 722 of file message.h.
Referenced by checkMessages(), getMessageTimeSeconds(), getMessageTimeUsecs(), and LLMessageSystem().
Definition at line 727 of file message.h.
Referenced by callExceptionFunc(), and setExceptionFunc().
LLTimer LLMessageSystem::mMessageSystemTimer [private] |
F32 LLMessageSystem::mTimeDecodesSpamThreshold [static, private] |
BOOL LLMessageSystem::mTimeDecodes [static, private] |
Definition at line 735 of file message.h.
Referenced by getTimingCallback(), init(), and setTimingFunc().
void* LLMessageSystem::mTimingCallbackData [private] |
Definition at line 736 of file message.h.
Referenced by getTimingCallbackData(), init(), and setTimingFunc().
LLHost LLMessageSystem::mLastSender [private] |
Definition at line 740 of file message.h.
Referenced by checkMessages(), clearReceiveState(), getSender(), getSenderID(), getSenderIP(), getSenderPort(), getSenderSessionID(), and LLMessageHandlerBridge::post().
S32 LLMessageSystem::mIncomingCompressedSize [private] |
Definition at line 741 of file message.h.
Referenced by checkMessages(), clearReceiveState(), getReceiveCompressedSize(), init(), logMsgFromInvalidCircuit(), logValidMsg(), and ~LLMessageSystem().
Definition at line 742 of file message.h.
Referenced by checkMessages(), clearReceiveState(), findCircuit(), getCurrentRecvPacketID(), init(), logMsgFromInvalidCircuit(), logValidMsg(), processUseCircuitCode(), and ~LLMessageSystem().
LLMessageBuilder* LLMessageSystem::mMessageBuilder [private] |
Definition at line 744 of file message.h.
Referenced by addBinaryData(), addBinaryDataFast(), addBOOL(), addBOOLFast(), addF32(), addF32Fast(), addF64(), addF64Fast(), addIPAddr(), addIPAddrFast(), addIPPort(), addIPPortFast(), addQuat(), addQuatFast(), addS16(), addS16Fast(), addS32(), addS32Fast(), addS8(), addS8Fast(), addString(), addStringFast(), addU16(), addU16Fast(), addU32(), addU32Fast(), addU64(), addU64Fast(), addU8(), addU8Fast(), addUUID(), addUUIDFast(), addVector3(), addVector3d(), addVector3dFast(), addVector3Fast(), addVector4(), addVector4Fast(), clearMessage(), copyMessageRtoS(), createResponder(), flush(), flushReliable(), flushSemiReliable(), getCurrentSendTotal(), init(), isClear(), isSendFullFast(), LLMessageSystem(), newMessageFast(), nextBlockFast(), removeLastBlock(), sendError(), sendMessage(), sendReliable(), zeroCodeAdjustCurrentSendTotal(), and ~LLMessageSystem().
Definition at line 745 of file message.h.
Referenced by copyMessageRtoS(), LLMessageSystem(), newMessageFast(), and ~LLMessageSystem().
Definition at line 746 of file message.h.
Referenced by copyMessageRtoS(), LLMessageSystem(), newMessageFast(), sendMessage(), zeroCodeAdjustCurrentSendTotal(), and ~LLMessageSystem().
LLMessageReader* LLMessageSystem::mMessageReader [private] |
Definition at line 747 of file message.h.
Referenced by checkMessages(), clearReceiveState(), copyMessageRtoS(), getBinaryDataFast(), getBOOLFast(), getF32Fast(), getF64Fast(), getIPAddrFast(), getIPPortFast(), getMessageName(), getNumberOfBlocksFast(), getQuatFast(), getReceiveSize(), getS16Fast(), getS32Fast(), getS8Fast(), getSizeFast(), getStringFast(), getU16Fast(), getU32Fast(), getU64Fast(), getU8Fast(), getUUIDFast(), getVector3dFast(), getVector3Fast(), getVector4Fast(), init(), isMessageFast(), LLMessageSystem(), logMsgFromInvalidCircuit(), logTrustedMsgFromUntrustedCircuit(), logValidMsg(), LLMessageHandlerBridge::post(), and ~LLMessageSystem().
Definition at line 748 of file message.h.
Referenced by checkMessages(), copyMessageRtoS(), LLMessageSystem(), and ~LLMessageSystem().
Definition at line 749 of file message.h.
Referenced by LLMessageSystem(), LLMessageHandlerBridge::post(), and ~LLMessageSystem().