LLMessageSystem Class Reference

#include <message.h>

Collaboration diagram for LLMessageSystem:

Collaboration graph
[legend]
List of all members.

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, message_handler_func_t, void **user_data=NULL)
void setHandlerFunc (const char *name, message_handler_func_t handler_func, void **user_data=NULL)
void addHandlerFuncFast (const char *name, message_handler_func_t, void **user_data=NULL)
void addHandlerFunc (const char *name, message_handler_func_t handler_func, void **user_data=NULL)
void delHandlerFuncFast (const char *name, message_handler_func_t)
void delHandlerFunc (const char *name, message_handler_func_t handler_func)
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 ()
voidgetTimingCallbackData ()
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 LLHostgetSender () const
U32 getSenderIP () const
U32 getSenderPort () const
const LLUUIDgetSenderID () const
const LLUUIDgetSenderSessionID () const
void setMySessionID (const LLUUID &session_id)
const LLUUIDgetMySessionID ()
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)
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 ()
LLString getCircuitInfoString ()
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, U32mIPPortToCircuitCode
std::map< U32, U64mCircuitCodeToIPPort
U32 mOurCircuitCode
S32 mSendPacketFailureCount
S32 mUnackedListDepth
S32 mUnackedListSize
S32 mDSMaxListDepth

Private Types

typedef std::set< LLHosthost_set_t
typedef std::map< U32, LLUUIDcode_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)
LLCircuitDatafindCircuit (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
LLMessagePollInfomPollInfop
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
voidmTimingCallbackData
LLHost mLastSender
S32 mIncomingCompressedSize
TPACKETID mCurrentRecvPacketID
LLMessageBuildermMessageBuilder
LLTemplateMessageBuildermTemplateMessageBuilder
LLSDMessageBuildermLLSDMessageBuilder
LLMessageReadermMessageReader
LLTemplateMessageReadermTemplateMessageReader
LLSDMessageReadermLLSDMessageReader

Static Private Attributes

static F32 mTimeDecodesSpamThreshold
static BOOL mTimeDecodes

Friends

class LLMessageHandlerBridge
std::ostream & operator<< (std::ostream &s, LLMessageSystem &msg)

Classes

class  LLMessageCountInfo

Detailed Description

Definition at line 209 of file message.h.


Member Typedef Documentation

typedef std::map<EMessageException, exception_t> LLMessageSystem::callbacks_t [private]

Definition at line 734 of file message.h.

typedef std::map<U32, LLUUID> LLMessageSystem::code_session_map_t [private]

Definition at line 686 of file message.h.

typedef std::pair<msg_exception_callback, void*> LLMessageSystem::exception_t [private]

Definition at line 733 of file message.h.

typedef std::set<LLHost> LLMessageSystem::host_set_t [private]

Definition at line 572 of file message.h.

typedef std::map<const char *, LLMessageTemplate*> LLMessageSystem::message_template_name_map_t

Definition at line 226 of file message.h.

typedef std::map<U32, LLMessageTemplate*> LLMessageSystem::message_template_number_map_t

Definition at line 227 of file message.h.

typedef void(*) LLMessageSystem::msg_timing_callback(const char *hashed_name, F32 time, void *data)

Definition at line 331 of file message.h.


Constructor & Destructor Documentation

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_init_apr(), llendl, llerrs, 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.

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.


Member Function Documentation

void LLMessageSystem::addBinaryData ( const char *  varname,
const void data,
S32  size 
)

Definition at line 3487 of file message.cpp.

References LLMessageBuilder::addBinaryData(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by LLPartSysData::packBlock(), LLHUDEffect::packData(), LLPartSysData::packNull(), sendError(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), and LLTransferSourceChannel::updateTransfers().

void LLMessageSystem::addBinaryDataFast ( const char *  varname,
const void data,
S32  size 
)

Definition at line 3482 of file message.cpp.

References LLMessageBuilder::addBinaryData(), and mMessageBuilder.

Referenced by inventory_offer_callback(), pack_instant_message_block(), LLVoiceVisualizer::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(), and LLViewerAssetStorage::storeAssetData().

void LLMessageSystem::addBOOL ( const char *  varname,
BOOL  b 
)

Definition at line 3607 of file message.cpp.

References LLMessageBuilder::addBOOL(), LLMessageStringTable::getString(), gMessageStringTable, 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::addBOOLFast ( const char *  varname,
BOOL  b 
)

Definition at line 3602 of file message.cpp.

References LLMessageBuilder::addBOOL(), and mMessageBuilder.

Referenced by LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), LLToolDragAndDrop::dropObject(), LLWorldAlwaysRun::handleEvent(), 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(), process_agent_movement_complete(), LLInvFVBridge::removeBatchNoCheck(), LLAgent::requestEnterGodMode(), LLAgent::requestLeaveGodMode(), LLViewerObject::saveScript(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLWorldMap::sendNamedRegionRequest(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLViewerAssetStorage::storeAssetData(), LLViewerObject::updateFlags(), LLViewerInventoryItem::updateParentOnServer(), LLAssetStorage::uploadCompleteCallback(), and wear_inventory_category_on_avatar_step2().

bool LLMessageSystem::addCircuitCode ( U32  code,
const LLUUID session_id 
)

Definition at line 1903 of file message.cpp.

References llendl, llinfos, llwarns, and mCircuitCodes.

Referenced by processAddCircuitCode().

void LLMessageSystem::addF32 ( const char *  varname,
F32  f 
)

Definition at line 3537 of file message.cpp.

References LLMessageBuilder::addF32(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLViewerParcelMgr::sendParcelBuy(), and LLTransferTargetChannel::sendTransferRequest().

void LLMessageSystem::addF32Fast ( const char *  varname,
F32  f 
)

Definition at line 3532 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(), LLTextureFetch::sendRequestListToSimulators(), and update_fov().

void LLMessageSystem::addF64 ( const char *  varname,
F64  d 
)

Definition at line 3577 of file message.cpp.

References LLMessageBuilder::addF64(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

void LLMessageSystem::addF64Fast ( const char *  varname,
F64  d 
)

Definition at line 3572 of file message.cpp.

References LLMessageBuilder::addF64(), and mMessageBuilder.

Referenced by LLAvatarTracker::findAgent(), and LLLogTextMessage::flush().

void LLMessageSystem::addHandlerFunc ( const char *  name,
message_handler_func_t  handler_func,
void **  user_data = NULL 
) [inline]

Definition at line 311 of file message.h.

References addHandlerFuncFast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLFloaterAvatarList::LLFloaterAvatarList().

void LLMessageSystem::addHandlerFuncFast ( const char *  name,
message_handler_func_t  ,
void **  user_data = NULL 
)

Definition at line 2967 of file message.cpp.

References LLMessageTemplate::addHandlerFunc(), get_ptr_in_map(), llendl, llerrs, and mMessageTemplates.

Referenced by addHandlerFunc(), and LLFloaterEventLog::LLFloaterEventLog().

void LLMessageSystem::addIPAddr ( const char *  varname,
const U32  ip 
)

Definition at line 3587 of file message.cpp.

References LLMessageBuilder::addIPAddr(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

void LLMessageSystem::addIPAddrFast ( const char *  varname,
const U32  ip 
)

Definition at line 3582 of file message.cpp.

References LLMessageBuilder::addIPAddr(), and mMessageBuilder.

void LLMessageSystem::addIPPort ( const char *  varname,
const U16  port 
)

Definition at line 3597 of file message.cpp.

References LLMessageBuilder::addIPPort(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

void LLMessageSystem::addIPPortFast ( const char *  varname,
const U16  port 
)

Definition at line 3592 of file message.cpp.

References LLMessageBuilder::addIPPort(), and mMessageBuilder.

void LLMessageSystem::addQuat ( const char *  varname,
const LLQuaternion quat 
)

Definition at line 3667 of file message.cpp.

References LLMessageBuilder::addQuat(), LLMessageStringTable::getString(), gMessageStringTable, mMessageBuilder, and v.

void LLMessageSystem::addQuatFast ( const char *  varname,
const LLQuaternion quat 
)

Definition at line 3662 of file message.cpp.

References LLMessageBuilder::addQuat(), mMessageBuilder, and v.

Referenced by add_object(), LLToolGrab::handleHoverActive(), LLSelectMgr::packObjectIDAndRotation(), send_agent_update(), and LLViewerObject::sendRotationUpdate().

void LLMessageSystem::addS16 ( const char *  varname,
S16  i 
)

Definition at line 3517 of file message.cpp.

References LLMessageBuilder::addS16(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

void LLMessageSystem::addS16Fast ( const char *  varname,
S16  i 
)

Definition at line 3512 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::addS32 ( const char *  varname,
S32  s 
)

Definition at line 3547 of file message.cpp.

References LLMessageBuilder::addS32(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLPanelFriends::applyRightsToFriends(), callback_god_force_owner(), callback_script_dialog(), LLViewerInventoryCategory::fetchDescendents(), LLFloaterAuction::onClickOK(), LLPanelDirFindAllOld::onClickSearch(), LLPanelDirLand::performQuery(), LLViewerParcelMgr::reclaimParcel(), LLAgent::sendChat(), LLPanelClassified::sendClassifiedInfoUpdate(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), sendError(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelBuy(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLViewerCircuit::sendReply(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLFloaterAvatarList::speakText(), LLMuteList::updateAdd(), and LLTransferSourceChannel::updateTransfers().

void LLMessageSystem::addS32Fast ( const char *  varname,
S32  s 
)

Definition at line 3542 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(), LLPanelDirPlaces::queryCore(), 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(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLGroupMgr::sendUpdateGroupInfo(), and upload_done_callback().

void LLMessageSystem::addS8 ( const char *  varname,
S8  s 
)

Definition at line 3497 of file message.cpp.

References LLMessageBuilder::addS8(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by LLPanelDirFindAllOld::onClickSearch(), LLPanelDirPlaces::queryCore(), and send_places_query().

void LLMessageSystem::addS8Fast ( const char *  varname,
S8  s 
)

Definition at line 3492 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::addString ( const char *  varname,
const std::string &  s 
)

Definition at line 3627 of file message.cpp.

References LLMessageBuilder::addString(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

void LLMessageSystem::addString ( const char *  varname,
const char *  s 
)

Definition at line 3617 of file message.cpp.

References LLMessageBuilder::addString(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), callback_script_dialog(), LLPanelEstateInfo::commitEstateInfo(), LLFloaterAvatarPicker::find(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), handle_claim_public_land(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLPanelDirFindAllOld::onClickSearch(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packObjectIDAsParam(), packRoleUpdateMessageBlock(), LLPanelDirPlaces::queryCore(), LLInvFVBridge::removeBatchNoCheck(), send_estate_ban(), send_estate_message(), 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 3622 of file message.cpp.

References LLMessageBuilder::addString(), and mMessageBuilder.

void LLMessageSystem::addStringFast ( const char *  varname,
const char *  s 
)

Definition at line 3612 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(), LLLogTextMessage::flush(), 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(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLAgent::sendChat(), LLPanelClassified::sendClassifiedInfoUpdate(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLWorldMap::sendNamedRegionRequest(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLFloaterAvatarList::speakText(), LLXfer_VFile::startDownload(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLMuteList::updateAdd(), upload_done_callback(), and wear_inventory_category_on_avatar_step2().

void LLMessageSystem::addTemplate ( LLMessageTemplate templatep  )  [private]

Definition at line 2942 of file message.cpp.

References llendl, llerrs, LLMessageTemplate::mMessageNumber, mMessageNumbers, mMessageTemplates, and LLMessageTemplate::mName.

Referenced by loadTemplateFile().

void LLMessageSystem::addU16 ( const char *  varname,
U16  i 
)

Definition at line 3527 of file message.cpp.

References LLMessageBuilder::addU16(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

void LLMessageSystem::addU16Fast ( const char *  varname,
U16  i 
)

Definition at line 3522 of file message.cpp.

References LLMessageBuilder::addU16(), and mMessageBuilder.

Referenced by LLVolumeMessage::packPathParams(), LLVolumeMessage::packProfileParams(), LLViewerObject::parameterChanged(), LLWorldMap::sendMapBlockRequest(), and LLViewerWindow::sendShapeToSim().

void LLMessageSystem::addU32 ( const char *  varname,
U32  u 
)

Definition at line 3557 of file message.cpp.

References LLMessageBuilder::addU32(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by LLEventNotifier::add(), callback_eject(), callback_freeze(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelDirFindAllOld::onClickSearch(), LLGestureManager::onLoadComplete(), LLPanelDirLand::performQuery(), LLPanelDirPlaces::queryCore(), LLEventNotifier::remove(), LLPanelDirPopular::requestPopular(), send_eject(), send_freeze(), send_places_query(), LLPanelDirBrowser::sendDirFindQuery(), LLGroupMgr::sendGroupRoleMemberChanges(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLTracker::setLandmarkVisited(), LLAgent::teleportViaLure(), LLViewerRegion::unpackRegionHandshake(), and LLMuteList::updateAdd().

void LLMessageSystem::addU32Fast ( const char *  varname,
U32  u 
)

Definition at line 3552 of file message.cpp.

References LLMessageBuilder::addU32(), and mMessageBuilder.

Referenced by add_object(), container_inventory_arrived(), copy_inventory_item(), create_inventory_item(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), establishBidirectionalTrust(), LLAvatarTracker::findAgent(), LLLogTextMessage::flush(), LLFloaterReporter::getObjectInfo(), 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(), LLViewerObject::requestInventory(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), 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(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLXfer::sendPacket(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerObject::sendPositionUpdate(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), 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::addU64 ( const char *  varname,
U64  lu 
)

Definition at line 3567 of file message.cpp.

References LLMessageBuilder::addU64(), LLMessageStringTable::getString(), gMessageStringTable, and mMessageBuilder.

Referenced by packRoleUpdateMessageBlock(), and LLAgent::teleportRequest().

void LLMessageSystem::addU64Fast ( const char *  varname,
U64  lu 
)

Definition at line 3562 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::addU8 ( const char *  varname,
U8  u 
)

Definition at line 3507 of file message.cpp.

References LLMessageBuilder::addU8(), LLMessageStringTable::getString(), gMessageStringTable, 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::addU8Fast ( const char *  varname,
U8  u 
)

Definition at line 3502 of file message.cpp.

References LLMessageBuilder::addU8(), and mMessageBuilder.

Referenced by add_object(), 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(), LLAgent::sendAgentSetAppearance(), LLAgent::sendAgentWearablesUpdate(), LLAgent::sendChat(), LLPanelClassified::sendClassifiedInfoUpdate(), LLViewerObject::sendMaterialUpdate(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLTextureFetch::sendRequestListToSimulators(), session_starter_helper(), LLFloaterAvatarList::speakText(), LLViewerObject::updateInventory(), LLCircuitData::updateWatchDogTimers(), upload_done_callback(), and wear_inventory_category_on_avatar_step2().

void LLMessageSystem::addUUID ( const char *  varname,
const LLUUID uuid 
)

Definition at line 3678 of file message.cpp.

References LLMessageBuilder::addUUID(), LLMessageStringTable::getString(), gMessageStringTable, mMessageBuilder, and v.

Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLPanelFriends::applyRightsToFriends(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelEstateInfo::commitEstateInfo(), 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(), LLPanelDirFindAllOld::onClickSearch(), LLGestureManager::onLoadComplete(), LLPanelGroupNotices::onSelectNotice(), LLSelectMgr::packGodlikeHead(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLInventoryModel::purgeDescendentsOf(), LLPanelDirPlaces::queryCore(), LLViewerParcelMgr::reclaimParcel(), LLPanelDirPopular::requestPopular(), LLLandmark::requestRegionHandle(), send_eject(), send_estate_ban(), send_estate_message(), send_freeze(), 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(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLTracker::setLandmarkVisited(), LLAgent::setUserGroupFlags(), LLFloaterRegionInfo::show(), LLAvatarTracker::terminateBuddy(), LLViewerRegion::unpackRegionHandshake(), LLTransferSourceChannel::updateTransfers(), and LLFloaterPostcard::uploadCallback().

void LLMessageSystem::addUUIDFast ( const char *  varname,
const LLUUID uuid 
)

Definition at line 3673 of file message.cpp.

References LLMessageBuilder::addUUID(), mMessageBuilder, and v.

Referenced by LLPanelGroups::activate(), LLEventNotifier::add(), add_object(), LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), callback_leave_group(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfo(), 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(), LLInventoryFetchObserver::fetchItems(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLLogTextMessage::flush(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), give_money(), handle_claim_public_land(), handle_detach_from_avatar(), handle_export_selected(), handle_lure_callback(), handle_sit_or_stand(), LLWorldAlwaysRun::handleEvent(), 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(), 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_agent_movement_complete(), 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(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerObject::requestInventory(), LLAgent::requestLeaveGodMode(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), 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_complete_agent_movement(), send_estate_ban(), send_estate_message(), send_generic_message(), send_logout_request(), 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(), LLFloaterAvatarList::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLAgent::sendChat(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), sendCreateTrustedCircuit(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelEvent::sendEventInfoRequest(), LLGroupMgr::sendGroupMemberJoin(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerObject::sendPositionUpdate(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLCacheName::Impl::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLFloaterPreference::show(), LLFloaterAvatarList::speakText(), 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(), 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::addVector3 ( const char *  varname,
const LLVector3 vec 
)

Definition at line 3637 of file message.cpp.

References LLMessageBuilder::addVector3(), LLMessageStringTable::getString(), gMessageStringTable, mMessageBuilder, and v.

Referenced by LLAgent::teleportRequest().

void LLMessageSystem::addVector3d ( const char *  varname,
const LLVector3d vec 
)

Definition at line 3657 of file message.cpp.

References LLMessageBuilder::addVector3d(), LLMessageStringTable::getString(), gMessageStringTable, mMessageBuilder, and v.

Referenced by LLPanelPick::sendPickInfoUpdate(), and LLFloaterPostcard::uploadCallback().

void LLMessageSystem::addVector3dFast ( const char *  varname,
const LLVector3d vec 
)

Definition at line 3652 of file message.cpp.

References LLMessageBuilder::addVector3d(), mMessageBuilder, and v.

Referenced by LLPanelClassified::sendClassifiedInfoUpdate().

void LLMessageSystem::addVector3Fast ( const char *  varname,
const LLVector3 vec 
)

Definition at line 3632 of file message.cpp.

References LLMessageBuilder::addVector3(), mMessageBuilder, and v.

Referenced by add_object(), 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(), LLViewerObject::sendPositionUpdate(), LLFloaterReporter::sendReportViaLegacy(), LLViewerObject::sendScaleUpdate(), session_starter_helper(), LLToolGrab::startGrab(), and LLAgent::teleportViaLocation().

void LLMessageSystem::addVector4 ( const char *  varname,
const LLVector4 vec 
)

Definition at line 3647 of file message.cpp.

References LLMessageBuilder::addVector4(), LLMessageStringTable::getString(), gMessageStringTable, mMessageBuilder, and v.

void LLMessageSystem::addVector4Fast ( const char *  varname,
const LLVector4 vec 
)

Definition at line 3642 of file message.cpp.

References LLMessageBuilder::addVector4(), mMessageBuilder, and v.

BOOL LLMessageSystem::callExceptionFunc ( EMessageException  exception  ) 

Definition at line 3036 of file message.cpp.

References FALSE, mExceptionCallbacks, and TRUE.

Referenced by checkMessages(), LLTemplateMessageReader::decodeTemplate(), LLTemplateMessageReader::logRanOffEndOfPacket(), and zeroCodeExpand().

bool LLMessageSystem::callHandler ( const char *  name,
bool  trustedSource,
LLMessageSystem msg 
) [private]

Definition at line 2993 of file message.cpp.

References LLMessageTemplate::callHandlerFunc(), LLMessageStringTable::getString(), gMessageStringTable, LLMessageTemplate::isBanned(), llendl, llwarns, and mMessageTemplates.

Referenced by LLMessageHandlerBridge::post().

bool LLMessageSystem::checkAllMessages ( S64  frame_count,
LLPumpIO http_pump 
)

Definition at line 4004 of file message.cpp.

References LLPumpIO::callback(), checkMessages(), mPacketsIn, and LLPumpIO::pump().

Referenced by idle_network(), and idle_startup().

BOOL LLMessageSystem::checkCircuitAlive ( const LLHost host  ) 

Definition at line 1711 of file message.cpp.

References FALSE, LLCircuit::findCircuit(), LLCircuitData::isAlive(), and mCircuitInfo.

BOOL LLMessageSystem::checkCircuitAlive ( const U32  circuit  ) 

Definition at line 1689 of file message.cpp.

References FALSE, LLCircuit::findCircuit(), findHost(), LLCircuitData::isAlive(), LLHost::isOk(), llendl, llinfos, and mCircuitInfo.

BOOL LLMessageSystem::checkCircuitBlocked ( const U32  circuit  ) 

Definition at line 1667 of file message.cpp.

References FALSE, LLCircuit::findCircuit(), findHost(), LLCircuitData::isBlocked(), LLHost::isOk(), llendl, llinfos, mCircuitInfo, and TRUE.

BOOL LLMessageSystem::checkMessages ( S64  frame_count = 0  ) 

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_MINIMUM_VALID_PACKET_SIZE, LL_RELIABLE_FLAG, LL_RESENT_FLAG, llendl, llinfos, llwarns, 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::clearMessage (  ) 

Definition at line 996 of file message.cpp.

References LLMessageBuilder::clearMessage(), FALSE, mMessageBuilder, and mSendReliable.

Referenced by flush(), flushReliable(), flushSemiReliable(), and LLSelectMgr::sendListToRegions().

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().

void LLMessageSystem::copyMessageRtoS (  ) 

Definition at line 979 of file message.cpp.

References LLMessageReader::copyToBuilder(), FALSE, LLMessageReader::getMessageName(), mLLSDMessageBuilder, mMessageBuilder, mMessageReader, mSendReliable, mTemplateMessageBuilder, mTemplateMessageReader, and LLMessageBuilder::newMessage().

Referenced by forwardMessage(), and forwardReliable().

LLHTTPClient::ResponderPtr LLMessageSystem::createResponder ( const std::string &  name  ) 

Definition at line 1147 of file message.cpp.

References LLMessageBuilder::getMessageName(), LLReliablePacketParams::mCallback, LLReliablePacketParams::mCallbackData, mMessageBuilder, mReliablePacketParams, mSendReliable, and NULL.

Referenced by sendMessage().

BOOL LLMessageSystem::decodeTemplate ( const U8 buffer,
S32  buffer_size,
LLMessageTemplate **  msg_template 
) [private]

void LLMessageSystem::delHandlerFunc ( const char *  name,
message_handler_func_t  handler_func 
) [inline]

Definition at line 317 of file message.h.

References delHandlerFuncFast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLFloaterAvatarList::~LLFloaterAvatarList().

void LLMessageSystem::delHandlerFuncFast ( const char *  name,
message_handler_func_t   
)

Definition at line 2980 of file message.cpp.

References LLMessageTemplate::delHandlerFunc(), get_ptr_in_map(), llendl, llerrs, and mMessageTemplates.

Referenced by delHandlerFunc(), and LLFloaterEventLog::~LLFloaterEventLog().

void LLMessageSystem::disableCircuit ( const LLHost host  ) 

Definition at line 1601 of file message.cpp.

References findCircuitCode(), gMessageSystem, llendl, llinfos, llwarns, mCircuitCodes, mCircuitCodeToIPPort, mCircuitInfo, mIPPortToCircuitCode, and LLCircuit::removeCircuitData().

Referenced by close_circuit(), process_disable_simulator(), and processUseCircuitCode().

void LLMessageSystem::dispatch ( const std::string &  msg_name,
const LLSD message,
LLHTTPNode::ResponsePtr  responsep 
) [static]

Definition at line 2112 of file message.cpp.

References LLMessageStringTable::getString(), gMessageStringTable, gMessageSystem, LLMessageConfig::isValidMessage(), llendl, llwarns, messageRootNode(), mMessageTemplates, LLHTTPNode::post(), and LLHTTPNode::traverse().

void LLMessageSystem::dispatch ( const std::string &  msg_name,
const LLSD message 
) [static]

Definition at line 2103 of file message.cpp.

References LLSimpleResponse::create().

Referenced by LLTrustedMessageService::post().

void LLMessageSystem::dumpCircuitInfo (  ) 

Definition at line 1554 of file message.cpp.

References lldebugst, llendl, and mCircuitInfo.

Referenced by checkMessages().

void LLMessageSystem::dumpPacketToLog (  ) 

Definition at line 3369 of file message.cpp.

References LLPacketRing::getLastSender(), i, llendl, llwarns, mPacketRing, mTrueReceiveBuffer, mTrueReceiveSize, and S32.

Referenced by bad_network_handler().

void LLMessageSystem::dumpReceiveCounts (  ) 

Definition at line 2696 of file message.cpp.

References end, get_ptr_in_map(), i, llendl, llinfos, 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::enableCircuit ( const LLHost host,
BOOL  trusted 
)

Definition at line 1587 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::establishBidirectionalTrust ( const LLHost host,
S64  frame_count = 0 
)

Definition at line 3314 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(), llendl, llerrs, 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().

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().

U32 LLMessageSystem::findCircuitCode ( const LLHost host  ) 

Definition at line 1732 of file message.cpp.

References get_if_there(), LLHost::getAddress(), LLHost::getPort(), and mIPPortToCircuitCode.

Referenced by disableCircuit().

LLHost LLMessageSystem::findHost ( const U32  circuit_code  ) 

Definition at line 1741 of file message.cpp.

References LLHost::invalid, and mCircuitCodeToIPPort.

Referenced by checkCircuitAlive(), checkCircuitBlocked(), forwardReliable(), sendMessage(), and sendReliable().

S32 LLMessageSystem::flush ( const LLHost host  ) 

Definition at line 2750 of file message.cpp.

References clearMessage(), LLMessageBuilder::getMessageSize(), mMessageBuilder, S32, and sendMessage().

S32 LLMessageSystem::flushReliable ( const LLHost host  ) 

Definition at line 1136 of file message.cpp.

References clearMessage(), LLMessageBuilder::getMessageSize(), mMessageBuilder, S32, and sendReliable().

S32 LLMessageSystem::flushSemiReliable ( const LLHost host,
void(*)(void **, S32 callback,
void **  callback_data 
)

Definition at line 1103 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.

void LLMessageSystem::forwardMessage ( const LLHost host  ) 

Definition at line 1085 of file message.cpp.

References copyMessageRtoS(), and sendMessage().

void LLMessageSystem::forwardReliable ( const U32  circuit_code  ) 

Definition at line 1097 of file message.cpp.

References copyMessageRtoS(), findHost(), and sendReliable().

void LLMessageSystem::forwardReliable ( const LLHost host  ) 

Definition at line 1091 of file message.cpp.

References copyMessageRtoS(), and sendReliable().

bool LLMessageSystem::generateDigestForNumber ( char *  digest,
const U32  number 
) const

Definition at line 3195 of file message.cpp.

References d, get_shared_secret(), and MD5HEX_STR_SIZE.

Referenced by generateDigestForWindow(), and isMatchingDigestForWindow().

bool LLMessageSystem::generateDigestForNumberAndUUIDs ( char *  digest,
const U32  number,
const LLUUID id1,
const LLUUID id2 
) const

Definition at line 3092 of file message.cpp.

References LLUUID::asString(), d, get_shared_secret(), MD5HEX_STR_SIZE, and NULL.

Referenced by generateDigestForWindowAndUUIDs(), and isMatchingDigestForWindowAndUUIDs().

bool LLMessageSystem::generateDigestForWindow ( char *  digest,
const S32  window 
) const

Definition at line 3208 of file message.cpp.

References generateDigestForNumber(), get_shared_secret(), llendl, llerrs, and NULL.

bool LLMessageSystem::generateDigestForWindowAndUUIDs ( char *  digest,
const S32  window,
const LLUUID id1,
const LLUUID id2 
) const

Definition at line 3143 of file message.cpp.

References generateDigestForNumberAndUUIDs(), get_shared_secret(), llendl, llerrs, and NULL.

Referenced by sendCreateTrustedCircuit().

void LLMessageSystem::getBinaryData ( const char *  blockname,
const char *  varname,
void datap,
S32  size,
S32  blocknum = 0,
S32  max_size = S32_MAX 
)

Definition at line 3802 of file message.cpp.

References getBinaryDataFast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLPartSysData::isNullPS(), LLPanelAvatar::processAvatarPropertiesReply(), LLFloaterAvatarList::processAvatarPropertiesReply(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), and LLPartSysData::unpackBlock().

void LLMessageSystem::getBinaryDataFast ( const char *  blockname,
const char *  varname,
void datap,
S32  size,
S32  blocknum = 0,
S32  max_size = S32_MAX 
)

Definition at line 3793 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(), LLHUDEffectBeam::unpackData(), LLHUDEffect::unpackData(), LLDispatcher::unpackMessage(), LLIMInfo::unpackMessageBlock(), LLTextureAnim::unpackTAMessage(), and LLPrimitive::unpackTEMessage().

void LLMessageSystem::getBOOL ( const char *  block,
const char *  var,
BOOL data,
S32  blocknum = 0 
)

Definition at line 3720 of file message.cpp.

References getBOOLFast(), LLMessageStringTable::getString(), and gMessageStringTable.

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::getBOOLFast ( const char *  block,
const char *  var,
BOOL data,
S32  blocknum = 0 
)

Definition at line 3714 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().

LLString LLMessageSystem::getCircuitInfoString (  ) 

Definition at line 1565 of file message.cpp.

References LLCircuit::getInfoString(), and mCircuitInfo.

Referenced by viewer_crash_callback().

BOOL LLMessageSystem::getCircuitTrust ( const LLHost host  ) 

Definition at line 1574 of file message.cpp.

References FALSE, LLCircuit::findCircuit(), LLCircuitData::getTrusted(), and mCircuitInfo.

TPACKETID LLMessageSystem::getCurrentRecvPacketID (  )  [inline]

Definition at line 436 of file message.h.

References mCurrentRecvPacketID.

Referenced by LLViewerObject::processUpdateMessage().

S32 LLMessageSystem::getCurrentSendTotal (  )  const

Definition at line 3683 of file message.cpp.

References LLMessageBuilder::getMessageSize(), and mMessageBuilder.

Referenced by LLGestureManager::deactivateSimilarGestures(), LLSelectMgr::sendListToRegions(), LLViewerParcelMgr::sendParcelAccessListUpdate(), and LLTransferSourceChannel::updateTransfers().

S32 LLMessageSystem::getErrorCode (  )  const [inline]

Definition at line 295 of file message.h.

References mErrorCode.

Referenced by idle_startup().

void LLMessageSystem::getF32 ( const char *  block,
const char *  var,
F32 data,
S32  blocknum = 0 
)

Definition at line 3818 of file message.cpp.

References getF32Fast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLMediaEngine::process_parcel_media(), process_set_follow_cam_properties(), process_sim_stats(), LLPanelDirBrowser::processDirPlacesReply(), LLPanelDirBrowser::processDirPopularReply(), LLRegionEconomy::processEconomyData(), LLPanelGroupLandMoney::impl::processGroupLand(), LLViewerParcelMgr::processParcelDwellReply(), LLPanelPlace::processParcelInfoReply(), LLFloaterLandHoldings::processPlacesReply(), LLFloaterRegionInfo::processRegionInfo(), LLTransferManager::processTransferRequest(), and LLViewerRegion::unpackRegionHandshake().

void LLMessageSystem::getF32Fast ( const char *  block,
const char *  var,
F32 data,
S32  blocknum = 0 
)

Definition at line 3812 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().

void LLMessageSystem::getF64 ( const char *  block,
const char *  var,
F64 data,
S32  blocknum = 0 
)

Definition at line 3831 of file message.cpp.

References getF64Fast(), LLMessageStringTable::getString(), and gMessageStringTable.

void LLMessageSystem::getF64Fast ( const char *  block,
const char *  var,
F64 data,
S32  blocknum = 0 
)

Definition at line 3825 of file message.cpp.

References LLMessageReader::getF64(), and mMessageReader.

Referenced by getF64(), and LLAvatarTracker::processAgentFound().

void LLMessageSystem::getIPAddr ( const char *  block,
const char *  var,
U32 ip,
S32  blocknum = 0 
)

Definition at line 3910 of file message.cpp.

References getIPAddrFast(), LLMessageStringTable::getString(), and gMessageStringTable.

void LLMessageSystem::getIPAddrFast ( const char *  block,
const char *  var,
U32 ip,
S32  blocknum = 0 
)

Definition at line 3904 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::getIPPort ( const char *  block,
const char *  var,
U16 port,
S32  blocknum = 0 
)

Definition at line 3923 of file message.cpp.

References getIPPortFast(), LLMessageStringTable::getString(), and gMessageStringTable.

void LLMessageSystem::getIPPortFast ( const char *  block,
const char *  var,
U16 port,
S32  blocknum = 0 
)

Definition at line 3917 of file message.cpp.

References LLMessageReader::getIPPort(), and mMessageReader.

Referenced by getIPPort(), open_circuit(), process_crossed_region(), process_enable_simulator(), and process_teleport_finish().

U32 LLMessageSystem::getListenPort ( void   )  const

Definition at line 2764 of file message.cpp.

References mPort.

char * LLMessageSystem::getMessageName (  ) 

Definition at line 3066 of file message.cpp.

References LLMessageReader::getMessageName(), and mMessageReader.

Referenced by LLInventoryTransactionObserver::changed(), and LLInventoryAddedObserver::changed().

F64 LLMessageSystem::getMessageTimeSeconds ( const BOOL  update = FALSE  )  [static]

Definition at line 3416 of file message.cpp.

References gMessageSystem, 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().

U64 LLMessageSystem::getMessageTimeUsecs ( const BOOL  update = FALSE  )  [static]

Definition at line 3399 of file message.cpp.

References gMessageSystem, mCurrentMessageTimeSeconds, SEC_PER_USEC, totalTime(), and USEC_PER_SEC.

Referenced by checkMessages(), LLCircuitData::checkPacketInID(), LLCircuitData::clearDuplicateList(), and LLCircuitData::updateWatchDogTimers().

const LLUUID& LLMessageSystem::getMySessionID (  )  [inline]

Definition at line 378 of file message.h.

References mSessionID.

S32 LLMessageSystem::getNumberOfBlocks ( const char *  blockname  ) 

Definition at line 3955 of file message.cpp.

References getNumberOfBlocksFast(), LLMessageStringTable::getString(), and gMessageStringTable.

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(), LLPanelDirBrowser::processDirPopularReply(), LLSelectMgr::processForceObjectSelect(), LLPanelGroupLandMoney::impl::processGroupLand(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLWorldMap::processMapItemReply(), LLPanelGroupNotices::processNotices(), LLFloaterLandHoldings::processPlacesReply(), LLAgent::processScriptControlChange(), and LLFloaterTelehub::unpackTelehubInfo().

S32 LLMessageSystem::getNumberOfBlocksFast ( const char *  blockname  ) 

Definition at line 3950 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(), LLFloaterEventLog::processObjectProperties(), LLViewerObjectList::processObjectUpdate(), LLPanelLandObjects::processParcelObjectOwnersReply(), 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().

U32 LLMessageSystem::getOurCircuitCode (  ) 

Definition at line 1560 of file message.cpp.

References mOurCircuitCode.

Referenced by process_enable_simulator(), and process_teleport_finish().

void LLMessageSystem::getQuat ( const char *  block,
const char *  var,
LLQuaternion q,
S32  blocknum = 0 
)

Definition at line 3884 of file message.cpp.

References getQuatFast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLFloaterTelehub::unpackTelehubInfo().

void LLMessageSystem::getQuatFast ( const char *  block,
const char *  var,
LLQuaternion q,
S32  blocknum = 0 
)

Definition at line 3878 of file message.cpp.

References LLMessageReader::getQuat(), and mMessageReader.

Referenced by getQuat(), and process_avatar_sit_response().

S32 LLMessageSystem::getReceiveBytes (  )  const

Definition at line 896 of file message.cpp.

References getReceiveCompressedSize(), and getReceiveSize().

S32 LLMessageSystem::getReceiveCompressedSize (  )  const [inline]

Definition at line 621 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::getReceiveSize (  )  const

Definition at line 3985 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().

void LLMessageSystem::getS16 ( const char *  block,
const char *  var,
S16 data,
S32  blocknum = 0 
)

Definition at line 3733 of file message.cpp.

References getS16Fast(), LLMessageStringTable::getString(), and gMessageStringTable.

void LLMessageSystem::getS16Fast ( const char *  block,
const char *  var,
S16 data,
S32  blocknum = 0 
)

Definition at line 3727 of file message.cpp.

References LLMessageReader::getS16(), and mMessageReader.

Referenced by getS16(), LLXferManager::processFileRequest(), LLSelectMgr::processObjectProperties(), LLViewerObject::processTaskInv(), and LLViewerRegion::updateCoarseLocations().

void LLMessageSystem::getS32 ( const char *  block,
const char *  var,
S32 data,
S32  blocknum = 0 
)

Definition at line 3759 of file message.cpp.

References getS32Fast(), LLMessageStringTable::getString(), and gMessageStringTable.

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(), LLViewerParcelMgr::processParcelProperties(), LLPanelPick::processPickInfoReply(), LLFloaterLandHoldings::processPlacesReply(), LLTransferManager::processTransferAbort(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), and LLInventoryItem::unpackMessage().

void LLMessageSystem::getS32Fast ( const char *  block,
const char *  var,
S32 data,
S32  blocknum = 0 
)

Definition at line 3753 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().

void LLMessageSystem::getS8 ( const char *  block,
const char *  var,
S8 data,
S32  blocknum = 0 
)

Definition at line 3694 of file message.cpp.

References getS8Fast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLInventoryItem::unpackMessage().

void LLMessageSystem::getS8Fast ( const char *  block,
const char *  var,
S8 data,
S32  blocknum = 0 
)

Definition at line 3688 of file message.cpp.

References LLMessageReader::getS8(), and mMessageReader.

Referenced by getS8(), process_layer_data(), LLAssetStorage::processUploadComplete(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), and LLVolumeMessage::unpackPathParams().

const LLHost & LLMessageSystem::getSender (  )  const [inline]

Definition at line 964 of file message.h.

References mLastSender.

Referenced by checkMessages(), close_circuit(), establishBidirectionalTrust(), process_agent_movement_complete(), process_chat_from_simulator(), 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().

const LLUUID & LLMessageSystem::getSenderID (  )  const

Definition at line 3071 of file message.cpp.

References LLCircuit::findCircuit(), mCircuitInfo, mLastSender, LLCircuitData::mRemoteID, and LLUUID::null.

U32 LLMessageSystem::getSenderIP (  )  const [inline]

Definition at line 966 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 971 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::getSenderSessionID (  )  const

Definition at line 3082 of file message.cpp.

References LLCircuit::findCircuit(), mCircuitInfo, mLastSender, LLCircuitData::mRemoteSessionID, and LLUUID::null.

S32 LLMessageSystem::getSize ( const char *  blockname,
S32  blocknum,
const char *  varname 
)

Definition at line 3978 of file message.cpp.

References getSizeFast(), LLMessageStringTable::getString(), and gMessageStringTable.

S32 LLMessageSystem::getSize ( const char *  blockname,
const char *  varname 
)

Definition at line 3965 of file message.cpp.

References getSizeFast(), LLMessageStringTable::getString(), and gMessageStringTable.

Referenced by LLPartSysData::isNullPS(), LLPanelAvatar::processAvatarPropertiesReply(), LLFloaterAvatarList::processAvatarPropertiesReply(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), LLTransferManager::processTransferRequest(), and LLPartSysData::unpackBlock().

S32 LLMessageSystem::getSizeFast ( const char *  blockname,
S32  blocknum,
const char *  varname 
)

Definition at line 3972 of file message.cpp.

References LLMessageReader::getSize(), and mMessageReader.

S32 LLMessageSystem::getSizeFast ( const char *  blockname,
const char *  varname 
)

Definition at line 3960 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(), LLHUDEffectBeam::unpackData(), LLDispatcher::unpackMessage(), LLIMInfo::unpackMessageBlock(), LLTextureAnim::unpackTAMessage(), and LLPrimitive::unpackTEMessage().

void LLMessageSystem::getString ( const char *  block,
const char *  var,
S32  buffer_size,
char *  buffer,
S32  blocknum = 0 
)

Definition at line 3942 of file message.cpp.

References LLMessageStringTable::getString(), getStringFast(), and gMessageStringTable.

Referenced by process_agent_movement_complete(), process_chat_from_simulator(), process_covenant_reply(), process_initiate_download(), process_load_url(), LLMediaEngine::process_parcel_media_update(), process_script_dialog(), process_script_teleport_request(), process_teleport_progress(), process_user_info_reply(), LLAgent::processAgentDataUpdate(), LLPanelAvatar::processAvatarInterestsReply(), LLPanelAvatar::processAvatarNotesReply(), LLPanelAvatarPicks::processAvatarPicksReply(), LLPanelAvatar::processAvatarPropertiesReply(), LLFloaterAvatarList::processAvatarPropertiesReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPlacesReply(), LLPanelDirBrowser::processDirPopularReply(), processError(), LLPanelGroupLandMoney::impl::processGroupLand(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupTitlesReply(), LLInventoryModel::processMoveInventoryItem(), LLPanelGroupNotices::processNotices(), LLPanelPlace::processParcelInfoReply(), LLPanelPick::processPickInfoReply(), LLFloaterLandHoldings::processPlacesReply(), LLFloaterRegionInfo::processRegionInfo(), LLEventInfo::unpack(), LLViewerRegion::unpackRegionHandshake(), and LLFloaterTelehub::unpackTelehubInfo().

void LLMessageSystem::getStringFast ( const char *  block,
const char *  var,
S32  buffer_size,
char *  buffer,
S32  blocknum = 0 
)

Definition at line 3932 of file message.cpp.

References LLMessageReader::getString(), llendl, llwarns, 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(), LLFloaterAvatarList::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(), LLFloaterEventLog::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterEventLog::processObjectPropertiesFamily(), LLFloaterGodTools::processRegionInfo(), LLGroupMoneyPlanningTabEventHandler::processReply(), LLGroupMoneySalesTabEventHandler::processReply(), LLGroupMoneyDetailsTabEventHandler::processReply(), LLViewerObject::processTaskInv(), LLViewerObject::processUpdateMessage(), LLCacheName::Impl::processUUIDReply(), LLParcel::unpackMessage(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), LLDispatcher::unpackMessage(), and LLIMInfo::unpackMessageBlock().

msg_timing_callback LLMessageSystem::getTimingCallback (  )  [inline]

Definition at line 333 of file message.h.

References mTimingCallback.

Referenced by LLTemplateMessageReader::decodeData().

void* LLMessageSystem::getTimingCallbackData (  )  [inline]

Definition at line 337 of file message.h.

References mTimingCallbackData.

Referenced by LLTemplateMessageReader::decodeData().

void LLMessageSystem::getU16 ( const char *  block,
const char *  var,
U16 data,
S32  blocknum = 0 
)

Definition at line 3746 of file message.cpp.

References LLMessageStringTable::getString(), getU16Fast(), and gMessageStringTable.

void LLMessageSystem::getU16Fast ( const char *  block,
const char *  var,
U16 data,
S32  blocknum = 0 
)

Definition at line 3740 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().

void LLMessageSystem::getU32 ( const char *  block,
const char *  var,
U32 data,
S32  blocknum = 0 
)

Definition at line 3772 of file message.cpp.

References LLMessageStringTable::getString(), getU32Fast(), and gMessageStringTable.

Referenced by process_covenant_reply(), LLMediaEngine::process_parcel_media(), process_sim_stats(), process_teleport_progress(), process_teleport_start(), LLPanelClassified::processClassifiedInfoReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelEvent::processEventInfoReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLPanelGroupNotices::processNotices(), LLFloaterReporter::processRegionInfo(), LLFloaterRegionInfo::processRegionInfo(), LLAgent::processScriptControlChange(), LLEventInfo::unpack(), LLInventoryItem::unpackMessage(), and LLViewerRegion::unpackRegionHandshake().

void LLMessageSystem::getU32Fast ( const char *  block,
const char *  var,
U32 data,
S32  blocknum = 0 
)

Definition at line 3766 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(), LLFloaterAvatarList::processAvatarPropertiesReply(), LLPanelClassified::processClassifiedInfoReply(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupPropertiesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapItemReply(), LLWorldMap::processMapLayerReply(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterEventLog::processObjectPropertiesFamily(), LLFloaterChat::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().

void LLMessageSystem::getU64 ( const char *  block,
const char *  var,
U64 data,
S32  blocknum = 0 
)

Definition at line 3785 of file message.cpp.

References LLMessageStringTable::getString(), getU64Fast(), and gMessageStringTable.

Referenced by LLAgent::processAgentDataUpdate(), LLAgent::processAgentGroupDataUpdate(), LLPanelAvatar::processAvatarGroupsReply(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupRoleDataReply(), and LLLandmark::processRegionIDAndHandle().

void LLMessageSystem::getU64Fast ( const char *  block,
const char *  var,
U64 data,
S32  blocknum = 0 
)

Definition at line 3779 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().

void LLMessageSystem::getU8 ( const char *  block,
const char *  var,
U8 data,
S32  blocknum = 0 
)

Definition at line 3707 of file message.cpp.

References LLMessageStringTable::getString(), getU8Fast(), and gMessageStringTable.

Referenced by process_chat_from_simulator(), LLMediaEngine::process_parcel_media_update(), LLXferManager::processFileRequest(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelGroupNotices::processNotices(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMgr::processParcelProperties(), LLFloaterLandHoldings::processPlacesReply(), LLFloaterRegionInfo::processRegionInfo(), LLParcel::unpackMessage(), and LLViewerRegion::unpackRegionHandshake().

void LLMessageSystem::getU8Fast ( const char *  block,
const char *  var,
U8 data,
S32  blocknum = 0 
)

Definition at line 3701 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().

S32 LLMessageSystem::getUnackedListSize (  )  const [inline]

Definition at line 624 of file message.h.

References mUnackedListSize.

void LLMessageSystem::getUUID ( const char *  block,
const char *  var,
LLUUID uuid,
S32  blocknum = 0 
)

Definition at line 3897 of file message.cpp.

References LLMessageStringTable::getString(), getUUIDFast(), gMessageStringTable, and u.

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(), LLMediaEngine::process_parcel_media_update(), 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(), LLPanelDirBrowser::processDirPopularReply(), processError(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelGroupNotices::processGroupNoticesListReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLInventoryModel::processInventoryDescendents(), LLPanelGroupNotices::processNotices(), LLViewerParcelMgr::processParcelDwellReply(), LLPanelPlace::processParcelInfoReply(), 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::getUUIDFast ( const char *  block,
const char *  var,
LLUUID uuid,
S32  blocknum = 0 
)

Definition at line 3891 of file message.cpp.

References LLMessageReader::getUUID(), mMessageReader, and u.

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(), LLFloaterAvatarList::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(), LLFloaterEventLog::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterEventLog::processObjectPropertiesFamily(), LLFloaterChat::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(), LLPermissions::unpackMessage(), LLParcel::unpackMessage(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), LLDispatcher::unpackMessage(), and LLIMInfo::unpackMessageBlock().

void LLMessageSystem::getVector3 ( const char *  block,
const char *  var,
LLVector3 vec,
S32  blocknum = 0 
)

Definition at line 3845 of file message.cpp.

References LLMessageStringTable::getString(), getVector3Fast(), gMessageStringTable, and v.

Referenced by process_script_teleport_request(), and LLFloaterTelehub::unpackTelehubInfo().

void LLMessageSystem::getVector3d ( const char *  block,
const char *  var,
LLVector3d vec,
S32  blocknum = 0 
)

Definition at line 3871 of file message.cpp.

References LLMessageStringTable::getString(), getVector3dFast(), gMessageStringTable, and v.

Referenced by LLPanelPick::processPickInfoReply(), and LLEventInfo::unpack().

void LLMessageSystem::getVector3dFast ( const char *  block,
const char *  var,
LLVector3d vec,
S32  blocknum = 0 
)

Definition at line 3865 of file message.cpp.

References LLMessageReader::getVector3d(), mMessageReader, and v.

Referenced by getVector3d(), and LLPanelClassified::processClassifiedInfoReply().

void LLMessageSystem::getVector3Fast ( const char *  block,
const char *  var,
LLVector3 vec,
S32  blocknum = 0 
)

Definition at line 3839 of file message.cpp.

References LLMessageReader::getVector3(), mMessageReader, and v.

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::getVector4 ( const char *  block,
const char *  var,
LLVector4 vec,
S32  blocknum = 0 
)

Definition at line 3858 of file message.cpp.

References LLMessageStringTable::getString(), getVector4Fast(), gMessageStringTable, and v.

void LLMessageSystem::getVector4Fast ( const char *  block,
const char *  var,
LLVector4 vec,
S32  blocknum = 0 
)

Definition at line 3852 of file message.cpp.

References LLMessageReader::getVector4(), mMessageReader, and v.

Referenced by getVector4(), and process_camera_constraint().

void LLMessageSystem::init (  )  [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::isCircuitCodeKnown ( U32  code  )  const

Definition at line 3053 of file message.cpp.

References FALSE, mCircuitCodes, and TRUE.

BOOL LLMessageSystem::isClear (  )  const

Definition at line 2744 of file message.cpp.

References LLMessageBuilder::isClear(), and mMessageBuilder.

bool LLMessageSystem::isMatchingDigestForWindow ( const char *  digest,
const S32  window 
) const

Definition at line 3227 of file message.cpp.

References generateDigestForNumber(), get_shared_secret(), i, llendl, llerrs, MD5HEX_STR_BYTES, MD5HEX_STR_SIZE, NULL, and S32.

bool LLMessageSystem::isMatchingDigestForWindowAndUUIDs ( const char *  digest,
const S32  window,
const LLUUID id1,
const LLUUID id2 
) const

Definition at line 3161 of file message.cpp.

References generateDigestForNumberAndUUIDs(), get_shared_secret(), i, llendl, llerrs, MD5HEX_STR_BYTES, MD5HEX_STR_SIZE, NULL, and S32.

Referenced by process_create_trusted_circuit().

BOOL LLMessageSystem::isMessage ( const char *  msg  )  [inline]

Definition at line 354 of file message.h.

References LLMessageStringTable::getString(), gMessageStringTable, and isMessageFast().

BOOL LLMessageSystem::isMessageFast ( const char *  msg  ) 

Definition at line 3060 of file message.cpp.

References LLMessageReader::getMessageName(), and mMessageReader.

Referenced by establishBidirectionalTrust(), and isMessage().

BOOL LLMessageSystem::isOK (  )  const [inline]

Definition at line 294 of file message.h.

References mbError.

Referenced by idle_startup(), and start_messaging_system().

BOOL LLMessageSystem::isSendFull ( const char *  blockname = NULL  ) 

Definition at line 1008 of file message.cpp.

References LLMessageStringTable::getString(), gMessageStringTable, isSendFullFast(), and NULL.

Referenced by LLInventoryModel::buildParentChildMap(), LLSelectMgr::deselectObjectAndFamily(), LLInventoryFetchObserver::fetchItems(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), and LLSelectMgr::sendListToRegions().

BOOL LLMessageSystem::isSendFullFast ( const char *  blockname = NULL  ) 

Definition at line 1018 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::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::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::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::loadTemplateFile ( const char *  filename  ) 

Definition at line 368 of file message.cpp.

References _read_file_into_string(), addTemplate(), LLTemplateParser::getMessagesBegin(), LLTemplateParser::getMessagesEnd(), LLTemplateParser::getVersion(), llendl, llerrs, llwarns, mbError, mMessageFileVersionNumber, and TRUE.

Referenced by LLMessageSystem().

void LLMessageSystem::logMsgFromInvalidCircuit ( const LLHost sender,
BOOL  recv_reliable 
) [private]

Definition at line 1383 of file message.cpp.

References LLMessageReader::getMessageName(), LLMessageReader::getMessageSize(), llendl, llinfos, llwarns, 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::logRanOffEndOfPacket ( const LLHost sender  )  [private]

void LLMessageSystem::logTrustedMsgFromUntrustedCircuit ( const LLHost sender  )  [private]

Definition at line 1436 of file message.cpp.

References LLMessageReader::getMessageName(), LLMessageReader::getMessageSize(), llendl, llwarns, 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 1466 of file message.cpp.

References LLCircuitData::addBytesIn(), LLCircuitData::checkPacketInID(), FALSE, LLMessageReader::getMessageName(), LLMessageReader::getMessageSize(), llendl, llinfos, llwarns, 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::newMessage ( const char *  name  ) 

Definition at line 3477 of file message.cpp.

References LLMessageStringTable::getString(), gMessageStringTable, and newMessageFast().

Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLEventNotifier::add(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelEstateInfo::commitEstateInfo(), 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(), LLPanelDirFindAllOld::onClickSearch(), LLGestureManager::onLoadComplete(), LLPanelGroupNotices::onSelectNotice(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLInventoryModel::purgeDescendentsOf(), LLPanelDirPlaces::queryCore(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLEventNotifier::remove(), LLPanelDirPopular::requestPopular(), LLLandmark::requestRegionHandle(), send_eject(), send_estate_ban(), send_estate_message(), send_freeze(), send_generic_message(), send_places_query(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLSelectMgr::sendGodlikeRequest(), 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(), LLTransferTargetChannel::sendTransferRequest(), LLTransferSource::sendTransferStatus(), LLAgent::setGroupContribution(), LLTracker::setLandmarkVisited(), LLAgent::setUserGroupFlags(), LLFloaterRegionInfo::show(), LLAgent::teleportCancel(), LLAgent::teleportRequest(), LLAvatarTracker::terminateBuddy(), LLViewerRegion::unpackRegionHandshake(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLTransferSourceChannel::updateTransfers(), LLFloaterPostcard::uploadCallback(), and LLAgent::userRemoveAllAttachments().

void LLMessageSystem::newMessageFast ( const char *  name  ) 

Definition at line 3445 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(), add_object(), LLPrefsIMImpl::apply(), LLPanelFriends::applyRightsToFriends(), 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(), LLInventoryFetchObserver::fetchItems(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLLogTextMessage::flush(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), give_money(), handle_export_selected(), handle_lure_callback(), handle_sit_or_stand(), LLWorldAlwaysRun::handleEvent(), 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(), LLChatBar::onInputEditorKeystroke(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPanelRegionTools::onSaveState(), pack_instant_message(), LLIMInfo::packInstantMessage(), LLViewerObject::parameterChanged(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_agent_movement_complete(), 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(), LLViewerObject::requestInventory(), LLAgent::requestLeaveGodMode(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), 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_complete_agent_movement(), send_logout_request(), 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(), LLFloaterAvatarList::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLAgent::sendChat(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLXferManager::sendConfirmPacket(), sendCreateTrustedCircuit(), LLHUDManager::sendEffects(), LLPanelEvent::sendEventInfoRequest(), LLGroupMgr::sendGroupMemberJoin(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLXfer::sendPacket(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerObject::sendPositionUpdate(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLCacheName::Impl::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLAgent::setStartPosition(), LLFloaterPreference::show(), LLFloaterAvatarList::speakText(), 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::nextBlock ( const char *  blockname  )  [inline]

Definition at line 387 of file message.h.

References LLMessageStringTable::getString(), gMessageStringTable, and nextBlockFast().

Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), LLEventNotifier::add(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelEstateInfo::commitEstateInfo(), 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(), LLPanelDirFindAllOld::onClickSearch(), LLGestureManager::onLoadComplete(), LLPanelGroupNotices::onSelectNotice(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packObjectIDAsParam(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLInventoryModel::purgeDescendentsOf(), LLPanelDirPlaces::queryCore(), LLViewerParcelMgr::reclaimParcel(), LLEventNotifier::remove(), LLPanelDirPopular::requestPopular(), LLLandmark::requestRegionHandle(), send_eject(), send_estate_ban(), send_estate_message(), send_freeze(), 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(), LLFloaterRegionInfo::show(), LLAvatarTracker::terminateBuddy(), LLViewerRegion::unpackRegionHandshake(), LLTransferSourceChannel::updateTransfers(), LLCircuitData::updateWatchDogTimers(), and LLFloaterPostcard::uploadCallback().

void LLMessageSystem::nextBlockFast ( const char *  blockname  ) 

Definition at line 1003 of file message.cpp.

References mMessageBuilder, and LLMessageBuilder::nextBlock().

Referenced by LLXfer::abort(), LLPanelGroups::activate(), LLEventNotifier::add(), add_object(), LLPrefsIMImpl::apply(), LLPanelFriends::applyRightsToFriends(), LLInventoryModel::buildParentChildMap(), LLViewerParcelMgr::buyPass(), callback_leave_group(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfo(), 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(), LLInventoryFetchObserver::fetchItems(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLLogTextMessage::flush(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), give_money(), handle_detach_from_avatar(), handle_export_selected(), handle_lure_callback(), handle_sit_or_stand(), LLWorldAlwaysRun::handleEvent(), 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(), 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_agent_movement_complete(), 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(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerObject::requestInventory(), LLAgent::requestLeaveGodMode(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), 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_complete_agent_movement(), send_estate_ban(), send_estate_message(), send_generic_message(), send_logout_request(), 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(), LLFloaterAvatarList::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLAgent::sendChat(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLXferManager::sendConfirmPacket(), sendCreateTrustedCircuit(), sendError(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelEvent::sendEventInfoRequest(), LLGroupMgr::sendGroupMemberJoin(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLXfer::sendPacket(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerObject::sendPositionUpdate(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLCacheName::Impl::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLFloaterPreference::show(), LLFloaterAvatarList::speakText(), 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(), 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().

BOOL LLMessageSystem::poll ( F32  seconds  ) 

Definition at line 439 of file message.cpp.

References FALSE, ll_apr_warn_status(), LLMessagePollInfo::mPollFD, mPollInfop, S32, and TRUE.

void LLMessageSystem::processAcks (  ) 

Definition at line 909 of file message.cpp.

References LLAssetStorage::checkForTimeouts(), CIRCUIT_DUMP_TIMEOUT, dumpReceiveCounts(), LLCircuit::dumpResends(), f, FALSE, gAssetStorage, getMessageTimeSeconds(), gTransferManager, gXferManager, llendl, llinfos, 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_network(), and idle_startup().

void LLMessageSystem::processAddCircuitCode ( LLMessageSystem msg,
void **   
) [static]

Definition at line 1888 of file message.cpp.

References _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_SessionID, addCircuitCode(), getU32Fast(), getUUIDFast(), and void.

Referenced by start_messaging_system().

void LLMessageSystem::processError ( LLMessageSystem msg,
void **   
) [static]

Definition at line 2067 of file message.cpp.

References getS32(), getSender(), getString(), getUUID(), llendl, llwarns, MTUBYTES, and S32.

Referenced by start_messaging_system().

void LLMessageSystem::processUseCircuitCode ( LLMessageSystem msg,
void **   
) [static]

Definition at line 1931 of file message.cpp.

References _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_ID, _PREHASH_SessionID, LLCircuitData::checkPacketInID(), disableCircuit(), enableCircuit(), FALSE, LLCircuit::findCircuit(), get_if_there(), getSender(), getSenderIP(), getSenderPort(), getU32Fast(), getUUIDFast(), gMessageSystem, llendl, llinfos, llwarns, mCircuitCodes, mCircuitCodeToIPPort, mCircuitInfo, mCurrentRecvPacketID, mIPPortToCircuitCode, LLCircuitData::setRemoteID(), LLCircuitData::setRemoteSessionID(), and TRUE.

Referenced by start_messaging_system().

void LLMessageSystem::reallySendDenyTrustedCircuit ( const LLHost host  )  [private]

Definition at line 3290 of file message.cpp.

References _PREHASH_DataBlock, _PREHASH_DenyTrustedCircuit, _PREHASH_EndPointID, addUUIDFast(), LLCircuit::findCircuit(), LLCircuitData::getLocalEndPointID(), llendl, llinfos, llwarns, mCircuitInfo, newMessageFast(), nextBlockFast(), and sendMessage().

Referenced by establishBidirectionalTrust(), and processAcks().

BOOL LLMessageSystem::removeLastBlock (  ) 

Definition at line 1026 of file message.cpp.

References mMessageBuilder, and LLMessageBuilder::removeLastBlock().

void LLMessageSystem::resetReceiveCounts (  ) 

Definition at line 2682 of file message.cpp.

References end, mMessageTemplates, and mNumMessageCounts.

Referenced by processAcks().

void LLMessageSystem::sanityCheck (  ) 

Definition at line 1503 of file message.cpp.

void LLMessageSystem::sendCreateTrustedCircuit ( const LLHost host,
const LLUUID id1,
const LLUUID id2 
)

Definition at line 3261 of file message.cpp.

References _PREHASH_CreateTrustedCircuit, _PREHASH_DataBlock, _PREHASH_Digest, _PREHASH_EndPointID, addBinaryDataFast(), addUUIDFast(), generateDigestForWindowAndUUIDs(), get_shared_secret(), LLUUID::isNull(), llendl, llinfos, llwarns, 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 3285 of file message.cpp.

References mDenyTrustedCircuitSet.

Referenced by checkMessages(), and process_create_trusted_circuit().

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.

Parameters:
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.
Returns:
Returns value returned from sendReliable().

Definition at line 2203 of file message.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, addBinaryData(), addS32(), addString(), addUUID(), addUUIDFast(), ETHERNET_MTU_BYTES, LLMessageConfig::getMessageFlavor(), LLMessageBuilder::getMessageSize(), llendl, llwarns, mMessageBuilder, MTUBYTES, newMessage(), nextBlockFast(), NULL, S32, sendReliable(), and LLMessageConfig::TEMPLATE_FLAVOR.

S32 LLMessageSystem::sendMessage ( const LLHost host,
const char *  name,
const LLSD message 
)

Definition at line 1415 of file message.cpp.

References createResponder(), LLHTTPSender::getSender(), LLHost::isOk(), llendl, llwarns, mLLSDMessageBuilder, mMessageBuilder, newMessage(), and LLHTTPSender::send().

S32 LLMessageSystem::sendMessage ( const U32  circuit  )  [inline]

Definition at line 980 of file message.h.

References findHost(), and sendMessage().

S32 LLMessageSystem::sendMessage ( const LLHost host  ) 

Definition at line 1169 of file message.cpp.

References _PREHASH_ChildAgentUpdate, _PREHASH_PacketAck, _PREHASH_SendXferPacket, LLCircuitData::addBytesOut(), LLCircuit::addCircuitData(), LLCircuitData::addReliablePacket(), LLMessageBuilder::buildMessage(), LLReliablePacketParams::clear(), LLMessageBuilder::compressMessage(), count, 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_PACKET_ID_SIZE, LL_RELIABLE_FLAG, llendl, llerrs, llinfos, llmin(), llwarns, 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(), sendMessage(), LLViewerRegion::sendMessage(), LLAgent::sendMessage(), LLXfer::sendPacket(), sendReliable(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), LLToolBrushLand::undo(), and LLCircuitData::updateWatchDogTimers().

S32 LLMessageSystem::sendReliable ( const LLHost host,
S32  retries,
BOOL  ping_based_retries,
F32  timeout,
void(*)(void **, S32 callback,
void **  callback_data 
)

Definition at line 1058 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::sendReliable ( const U32  circuit  )  [inline]

Definition at line 457 of file message.h.

References findHost(), and sendReliable().

S32 LLMessageSystem::sendReliable ( const LLHost host  ) 

Definition at line 1031 of file message.cpp.

References LL_DEFAULT_RELIABLE_RETRIES, LL_PING_BASED_TIMEOUT_DUMMY, NULL, and TRUE.

Referenced by LLTransferTarget::abortTransfer(), LLTransferSource::abortTransfer(), add_object(), 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(), LLLogTextMessage::flush(), ReplySender::flush(), flushReliable(), forwardReliable(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), give_money(), handle_detach_from_avatar(), handle_export_selected(), 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(), LLViewerObject::requestInventory(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), 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_eject(), send_estate_message(), send_freeze(), 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(), LLViewerObject::sendPositionUpdate(), sendReliable(), LLViewerRegion::sendReliableMessage(), LLAgent::sendReliableMessage(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLCacheName::Impl::sendRequest(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), 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().

S32 LLMessageSystem::sendSemiReliable ( const LLHost host,
void(*)(void **, S32 callback,
void **  callback_data 
)

Definition at line 1037 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().

void LLMessageSystem::setCircuitAllowTimeout ( const LLHost host,
BOOL  allow 
)

Definition at line 1648 of file message.cpp.

References LLCircuit::findCircuit(), mCircuitInfo, and LLCircuitData::setAllowTimeout().

void LLMessageSystem::setCircuitProtection ( BOOL  b_protect  ) 

Definition at line 1726 of file message.cpp.

References mbProtected.

void LLMessageSystem::setCircuitTimeoutCallback ( const LLHost host,
void(*)(const LLHost &host, void *user_data)  callback_func,
void user_data 
)

Definition at line 1657 of file message.cpp.

References LLCircuit::findCircuit(), mCircuitInfo, and LLCircuitData::setTimeoutCallback().

void LLMessageSystem::setExceptionFunc ( EMessageException  exception,
msg_exception_callback  func,
void data = NULL 
)

Definition at line 3021 of file message.cpp.

References mExceptionCallbacks.

Referenced by idle_startup().

void LLMessageSystem::setHandlerFunc ( const char *  name,
message_handler_func_t  handler_func,
void **  user_data = NULL 
) [inline]

Definition at line 305 of file message.h.

References LLMessageStringTable::getString(), gMessageStringTable, and setHandlerFuncFast().

Referenced by callback_prepare_video(), LLAudioStreamMediaListener::handleEvent(), LLTransferManager::init(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterPay::processPayPriceReply(), register_viewer_callbacks(), LLLandmark::registerCallbacks(), LLInventoryModel::registerCallbacks(), LLAvatarTracker::registerCallbacks(), LLFloaterRegionInfo::show(), start_messaging_system(), and LLFloaterTelehub::~LLFloaterTelehub().

void LLMessageSystem::setHandlerFuncFast ( const char *  name,
message_handler_func_t  ,
void **  user_data = NULL 
)

Definition at line 2954 of file message.cpp.

References get_ptr_in_map(), llendl, llerrs, mMessageTemplates, and LLMessageTemplate::setHandlerFunc().

Referenced by LLAssetStorage::_init(), establishBidirectionalTrust(), idle_startup(), LLCacheName::Impl::Impl(), LLMuteList::LLMuteList(), LLFloaterPay::payViaObject(), LLPanelGroupVoting::postBuild(), register_viewer_callbacks(), LLXferManager::registerCallbacks(), LLInventoryModel::registerCallbacks(), LLAvatarTracker::registerCallbacks(), setHandlerFunc(), start_messaging_system(), and LLAssetStorage::~LLAssetStorage().

void LLMessageSystem::setMaxMessageCounts ( const S32  num  ) 

Definition at line 1758 of file message.cpp.

References mMaxMessageCounts.

void LLMessageSystem::setMaxMessageTime ( const F32  seconds  ) 

Definition at line 1753 of file message.cpp.

References mMaxMessageTime.

Referenced by idle_startup().

void LLMessageSystem::setMessageBans ( const LLSD trusted,
const LLSD untrusted 
)

Definition at line 2163 of file message.cpp.

References LLSD::asBoolean(), check_for_unrecognized_messages(), end, LLSD::get(), LLSD::has(), llendl, llinfos, and mMessageTemplates.

Referenced by LLMessageConfigFile::loadMessageBans().

void LLMessageSystem::setMySessionID ( const LLUUID session_id  )  [inline]

Definition at line 377 of file message.h.

References mSessionID.

void LLMessageSystem::setTimeDecodes ( BOOL  b  )  [static]

Definition at line 3991 of file message.cpp.

References LLMessageReader::setTimeDecodes().

Referenced by idle_startup().

void LLMessageSystem::setTimeDecodesSpamThreshold ( F32  seconds  )  [static]

Definition at line 3997 of file message.cpp.

References LLMessageReader::setTimeDecodesSpamThreshold().

Referenced by idle_startup().

void LLMessageSystem::setTimingFunc ( msg_timing_callback  func,
void data = NULL 
)

Definition at line 3047 of file message.cpp.

References mTimingCallback, and mTimingCallbackData.

void LLMessageSystem::showCircuitInfo (  ) 

Definition at line 1548 of file message.cpp.

References llendl, llinfos, and mCircuitInfo.

void LLMessageSystem::startLogging (  ) 

Definition at line 2552 of file message.cpp.

References llendl, llinfos, mVerboseLog, and TRUE.

Referenced by handle_viewer_enable_message_log().

void LLMessageSystem::stopLogging (  ) 

Definition at line 2564 of file message.cpp.

References FALSE, llendl, llinfos, and mVerboseLog.

Referenced by end_messaging_system(), handle_viewer_disable_message_log(), and viewer_crash_callback().

void LLMessageSystem::summarizeLogs ( std::ostream &  str  ) 

Definition at line 2573 of file message.cpp.

References end, f, LLTimer::getElapsedTimeF32(), MAX_STRING, mCompressedBytesIn, mCompressedBytesOut, mCompressedPacketsIn, mCompressedPacketsOut, mDroppedPackets, mFailedResendPackets, mInvalidOnCircuitPackets, mMessageSystemTimer, mMessageTemplates, mOffCircuitPackets, mPacketsIn, mPacketsOut, mReliablePacketsIn, mReliablePacketsOut, mResentPackets, mSendPacketFailureCount, mTotalBytesIn, mTotalBytesOut, mUncompressedBytesIn, mUncompressedBytesOut, and U64_to_str().

Referenced by end_messaging_system(), and viewer_crash_callback().

S32 LLMessageSystem::zeroCode ( U8 **  data,
S32 data_size 
)

S32 LLMessageSystem::zeroCodeAdjustCurrentSendTotal (  ) 

Definition at line 2770 of file message.cpp.

References LLMessageBuilder::buildMessage(), count, FALSE, LLMessageBuilder::isBuilt(), LL_PACKET_ID_SIZE, MAX_BUFFER_SIZE, mLLSDMessageBuilder, mMessageBuilder, mSendBuffer, mSendSize, S32, and LLMessageBuilder::setBuilt().

S32 LLMessageSystem::zeroCodeExpand ( U8 **  data,
S32 data_size 
)

Definition at line 2848 of file message.cpp.

References callExceptionFunc(), count, LL_MINIMUM_VALID_PACKET_SIZE, LL_PACKET_ID_SIZE, LL_ZERO_CODE_FLAG, llendl, llwarns, MAX_BUFFER_SIZE, mCompressedBytesIn, mCompressedPacketsIn, mEncodedRecvBuffer, mTotalBytesIn, mUncompressedBytesIn, MX_WROTE_PAST_BUFFER_SIZE, and S32.

Referenced by checkMessages().


Friends And Related Function Documentation

friend class LLMessageHandlerBridge [friend]

Definition at line 759 of file message.h.

std::ostream& operator<< ( std::ostream &  s,
LLMessageSystem msg 
) [friend]

Definition at line 1764 of file message.cpp.


Member Data Documentation

BOOL LLMessageSystem::mbError [private]

Definition at line 718 of file message.h.

Referenced by init(), isOK(), LLMessageSystem(), loadTemplateFile(), operator<<(), and ~LLMessageSystem().

BOOL LLMessageSystem::mbProtected

Definition at line 240 of file message.h.

Referenced by checkMessages(), findCircuit(), LLMessageSystem(), sendMessage(), and setCircuitProtection().

U64 LLMessageSystem::mBytesIn

Definition at line 251 of file message.h.

Referenced by checkMessages(), and init().

U64 LLMessageSystem::mBytesOut

Definition at line 252 of file message.h.

Referenced by init(), and sendMessage().

code_session_map_t LLMessageSystem::mCircuitCodes [private]

Definition at line 687 of file message.h.

Referenced by addCircuitCode(), disableCircuit(), isCircuitCodeKnown(), and processUseCircuitCode().

std::map<U32, U64> LLMessageSystem::mCircuitCodeToIPPort

Definition at line 280 of file message.h.

Referenced by disableCircuit(), findHost(), and processUseCircuitCode().

LLCircuit LLMessageSystem::mCircuitInfo

Definition at line 275 of file message.h.

Referenced by checkCircuitAlive(), checkCircuitBlocked(), checkMessages(), LLCircuitData::collectRAck(), disableCircuit(), dumpCircuitInfo(), enableCircuit(), establishBidirectionalTrust(), findCircuit(), flushSemiReliable(), getCircuitInfoString(), 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().

F32 LLMessageSystem::mCircuitPrintFreq

Definition at line 277 of file message.h.

Referenced by checkMessages(), and LLMessageSystem().

F64 LLMessageSystem::mCircuitPrintTime

Definition at line 276 of file message.h.

Referenced by checkMessages(), and LLMessageSystem().

S64 LLMessageSystem::mCompressedBytesIn

Definition at line 268 of file message.h.

Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().

S64 LLMessageSystem::mCompressedBytesOut

Definition at line 269 of file message.h.

Referenced by init(), send_stats(), and summarizeLogs().

U32 LLMessageSystem::mCompressedPacketsIn

Definition at line 254 of file message.h.

Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().

U32 LLMessageSystem::mCompressedPacketsOut

Definition at line 255 of file message.h.

Referenced by init(), send_stats(), and summarizeLogs().

F64 LLMessageSystem::mCurrentMessageTimeSeconds [private]

Definition at line 730 of file message.h.

Referenced by checkMessages(), getMessageTimeSeconds(), getMessageTimeUsecs(), and LLMessageSystem().

TPACKETID LLMessageSystem::mCurrentRecvPacketID [private]

Definition at line 750 of file message.h.

Referenced by checkMessages(), clearReceiveState(), findCircuit(), getCurrentRecvPacketID(), init(), logMsgFromInvalidCircuit(), logValidMsg(), processUseCircuitCode(), and ~LLMessageSystem().

host_set_t LLMessageSystem::mDenyTrustedCircuitSet [private]

Definition at line 573 of file message.h.

Referenced by processAcks(), and sendDenyTrustedCircuit().

U32 LLMessageSystem::mDroppedPackets

Definition at line 260 of file message.h.

Referenced by init(), send_stats(), summarizeLogs(), LLWorld::updateNetStats(), and LLCircuitData::updateWatchDogTimers().

S32 LLMessageSystem::mDSMaxListDepth

Definition at line 285 of file message.h.

Referenced by init().

U8 LLMessageSystem::mEncodedRecvBuffer[MAX_BUFFER_SIZE] [private]

Definition at line 712 of file message.h.

Referenced by zeroCodeExpand().

S32 LLMessageSystem::mErrorCode [private]

Definition at line 719 of file message.h.

Referenced by getErrorCode(), init(), and LLMessageSystem().

callbacks_t LLMessageSystem::mExceptionCallbacks [private]

Definition at line 735 of file message.h.

Referenced by callExceptionFunc(), and setExceptionFunc().

U32 LLMessageSystem::mFailedResendPackets

Definition at line 262 of file message.h.

Referenced by init(), LLCircuitData::resendUnackedPackets(), send_stats(), summarizeLogs(), and LLCircuitData::~LLCircuitData().

S32 LLMessageSystem::mIncomingCompressedSize [private]

Definition at line 749 of file message.h.

Referenced by checkMessages(), clearReceiveState(), getReceiveCompressedSize(), init(), logMsgFromInvalidCircuit(), logValidMsg(), and ~LLMessageSystem().

U32 LLMessageSystem::mInvalidOnCircuitPackets

Definition at line 264 of file message.h.

Referenced by checkMessages(), init(), send_stats(), and summarizeLogs().

std::map<U64, U32> LLMessageSystem::mIPPortToCircuitCode

Definition at line 279 of file message.h.

Referenced by disableCircuit(), findCircuitCode(), and processUseCircuitCode().

LLHost LLMessageSystem::mLastSender [private]

Definition at line 748 of file message.h.

Referenced by checkMessages(), clearReceiveState(), getSender(), getSenderID(), getSenderIP(), getSenderPort(), getSenderSessionID(), and LLMessageHandlerBridge::post().

LLSDMessageBuilder* LLMessageSystem::mLLSDMessageBuilder [private]

Definition at line 754 of file message.h.

Referenced by copyMessageRtoS(), LLMessageSystem(), newMessageFast(), sendMessage(), zeroCodeAdjustCurrentSendTotal(), and ~LLMessageSystem().

LLSDMessageReader* LLMessageSystem::mLLSDMessageReader [private]

Definition at line 757 of file message.h.

Referenced by LLMessageSystem(), LLMessageHandlerBridge::post(), and ~LLMessageSystem().

S32 LLMessageSystem::mMaxMessageCounts [private]

Definition at line 727 of file message.h.

Referenced by LLMessageSystem(), processAcks(), and setMaxMessageCounts().

F32 LLMessageSystem::mMaxMessageTime [private]

Definition at line 726 of file message.h.

Referenced by LLMessageSystem(), processAcks(), and setMaxMessageTime().

LLMessageBuilder* LLMessageSystem::mMessageBuilder [private]

Definition at line 752 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().

LLMessageCountInfo LLMessageSystem::mMessageCountList[MAX_MESSAGE_COUNT_NUM] [private]

Definition at line 723 of file message.h.

Referenced by dumpReceiveCounts(), logMsgFromInvalidCircuit(), logTrustedMsgFromUntrustedCircuit(), and logValidMsg().

F64 LLMessageSystem::mMessageCountTime [private]

Definition at line 728 of file message.h.

Referenced by checkMessages(), LLMessageSystem(), and processAcks().

F32 LLMessageSystem::mMessageFileVersionNumber

Definition at line 224 of file message.h.

Referenced by dump_prehash_files(), init(), loadTemplateFile(), and start_messaging_system().

message_template_number_map_t LLMessageSystem::mMessageNumbers [private]

Definition at line 231 of file message.h.

Referenced by addTemplate(), dumpReceiveCounts(), LLMessageSystem(), operator<<(), and ~LLMessageSystem().

LLMessageReader* LLMessageSystem::mMessageReader [private]

Definition at line 755 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().

LLTimer LLMessageSystem::mMessageSystemTimer [private]

Definition at line 738 of file message.h.

Referenced by summarizeLogs().

message_template_name_map_t LLMessageSystem::mMessageTemplates [private]

Definition at line 230 of file message.h.

Referenced by addHandlerFuncFast(), addTemplate(), callHandler(), delHandlerFuncFast(), dispatch(), dumpReceiveCounts(), isTrustedMessage(), isUntrustedMessage(), LLMessageSystem(), resetReceiveCounts(), setHandlerFuncFast(), setMessageBans(), summarizeLogs(), and ~LLMessageSystem().

U32 LLMessageSystem::mNumberHighFreqMessages

Definition at line 242 of file message.h.

Referenced by init().

U32 LLMessageSystem::mNumberLowFreqMessages

Definition at line 244 of file message.h.

Referenced by init().

U32 LLMessageSystem::mNumberMediumFreqMessages

Definition at line 243 of file message.h.

Referenced by init().

S32 LLMessageSystem::mNumMessageCounts [private]

Definition at line 724 of file message.h.

Referenced by checkMessages(), dumpReceiveCounts(), LLMessageSystem(), logMsgFromInvalidCircuit(), logTrustedMsgFromUntrustedCircuit(), logValidMsg(), processAcks(), and resetReceiveCounts().

U32 LLMessageSystem::mOffCircuitPackets

Definition at line 263 of file message.h.

Referenced by checkMessages(), init(), send_stats(), and summarizeLogs().

U32 LLMessageSystem::mOurCircuitCode

Definition at line 281 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().

LLPacketRing LLMessageSystem::mPacketRing

Definition at line 216 of file message.h.

Referenced by checkMessages(), drop_packet(), dumpPacketToLog(), LLCircuitData::resendUnackedPackets(), sendMessage(), and LLWorld::updateNetStats().

U32 LLMessageSystem::mPacketsIn

Definition at line 248 of file message.h.

Referenced by checkAllMessages(), checkMessages(), init(), LLMessageHandlerBridge::post(), send_stats(), summarizeLogs(), and LLWorld::updateNetStats().

U32 LLMessageSystem::mPacketsOut

Definition at line 249 of file message.h.

Referenced by init(), send_stats(), sendMessage(), summarizeLogs(), and LLWorld::updateNetStats().

LLMessagePollInfo* LLMessageSystem::mPollInfop [private]

Definition at line 710 of file message.h.

Referenced by LLMessageSystem(), poll(), and ~LLMessageSystem().

S32 LLMessageSystem::mPort

Definition at line 245 of file message.h.

Referenced by getListenPort(), LLMessageSystem(), operator<<(), and request().

F32 LLMessageSystem::mReceiveTime [private]

Definition at line 725 of file message.h.

Referenced by dumpReceiveCounts(), and processAcks().

LLReliablePacketParams LLMessageSystem::mReliablePacketParams

Definition at line 217 of file message.h.

Referenced by createResponder(), flushSemiReliable(), sendMessage(), and sendReliable().

U32 LLMessageSystem::mReliablePacketsIn

Definition at line 257 of file message.h.

Referenced by checkMessages(), init(), and summarizeLogs().

U32 LLMessageSystem::mReliablePacketsOut

Definition at line 258 of file message.h.

Referenced by init(), sendMessage(), and summarizeLogs().

F64 LLMessageSystem::mResendDumpTime [private]

Definition at line 721 of file message.h.

Referenced by LLMessageSystem(), and processAcks().

U32 LLMessageSystem::mResentPackets

Definition at line 261 of file message.h.

Referenced by init(), LLCircuitData::resendUnackedPackets(), send_stats(), and summarizeLogs().

U8 LLMessageSystem::mSendBuffer[MAX_BUFFER_SIZE] [private]

Definition at line 212 of file message.h.

Referenced by sendMessage(), and zeroCodeAdjustCurrentSendTotal().

S32 LLMessageSystem::mSendPacketFailureCount

Definition at line 282 of file message.h.

Referenced by LLMessageSystem(), send_stats(), sendMessage(), and summarizeLogs().

BOOL LLMessageSystem::mSendReliable

Definition at line 273 of file message.h.

Referenced by clearMessage(), copyMessageRtoS(), createResponder(), flushSemiReliable(), init(), newMessageFast(), sendMessage(), and sendReliable().

S32 LLMessageSystem::mSendSize [private]

Definition at line 213 of file message.h.

Referenced by sendMessage(), and zeroCodeAdjustCurrentSendTotal().

LLUUID LLMessageSystem::mSessionID [private]

Definition at line 691 of file message.h.

Referenced by getMySessionID(), and setMySessionID().

S32 LLMessageSystem::mSocket

Definition at line 246 of file message.h.

Referenced by checkMessages(), LLMessageSystem(), operator<<(), sendMessage(), and ~LLMessageSystem().

S32 LLMessageSystem::mSystemVersionMajor

Definition at line 234 of file message.h.

Referenced by LLMessageSystem().

S32 LLMessageSystem::mSystemVersionMinor

Definition at line 235 of file message.h.

Referenced by LLMessageSystem().

S32 LLMessageSystem::mSystemVersionPatch

Definition at line 236 of file message.h.

Referenced by LLMessageSystem().

S32 LLMessageSystem::mSystemVersionServer

Definition at line 237 of file message.h.

Referenced by LLMessageSystem().

LLTemplateMessageBuilder* LLMessageSystem::mTemplateMessageBuilder [private]

Definition at line 753 of file message.h.

Referenced by copyMessageRtoS(), LLMessageSystem(), newMessageFast(), and ~LLMessageSystem().

LLTemplateMessageReader* LLMessageSystem::mTemplateMessageReader [private]

Definition at line 756 of file message.h.

Referenced by checkMessages(), copyMessageRtoS(), LLMessageSystem(), and ~LLMessageSystem().

BOOL LLMessageSystem::mTimeDecodes [static, private]

Definition at line 741 of file message.h.

F32 LLMessageSystem::mTimeDecodesSpamThreshold [static, private]

Definition at line 740 of file message.h.

msg_timing_callback LLMessageSystem::mTimingCallback [private]

Definition at line 743 of file message.h.

Referenced by getTimingCallback(), init(), and setTimingFunc().

void* LLMessageSystem::mTimingCallbackData [private]

Definition at line 744 of file message.h.

Referenced by getTimingCallbackData(), init(), and setTimingFunc().

S64 LLMessageSystem::mTotalBytesIn

Definition at line 270 of file message.h.

Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().

S64 LLMessageSystem::mTotalBytesOut

Definition at line 271 of file message.h.

Referenced by init(), send_stats(), and summarizeLogs().

U8 LLMessageSystem::mTrueReceiveBuffer[MAX_BUFFER_SIZE] [private]

Definition at line 713 of file message.h.

Referenced by checkMessages(), and dumpPacketToLog().

S32 LLMessageSystem::mTrueReceiveSize [private]

Definition at line 714 of file message.h.

Referenced by checkMessages(), dumpPacketToLog(), LLMessageSystem(), and logValidMsg().

S32 LLMessageSystem::mUnackedListDepth

Definition at line 283 of file message.h.

Referenced by init(), and processAcks().

S32 LLMessageSystem::mUnackedListSize

Definition at line 284 of file message.h.

Referenced by getUnackedListSize(), init(), and processAcks().

S64 LLMessageSystem::mUncompressedBytesIn

Definition at line 266 of file message.h.

Referenced by init(), send_stats(), summarizeLogs(), and zeroCodeExpand().

S64 LLMessageSystem::mUncompressedBytesOut

Definition at line 267 of file message.h.

Referenced by init(), send_stats(), and summarizeLogs().

BOOL LLMessageSystem::mVerboseLog

Definition at line 222 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().

U32 LLMessageSystem::mVersionFlags

Definition at line 238 of file message.h.

Referenced by LLMessageSystem().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:31 2010 for Second Life Viewer by  doxygen 1.4.7