#include <AbiCollab_Packet.h>
Public Member Functions | |
virtual const std::string & | getSessionId () const |
void | setSessionId (const std::string &sSessionId) |
virtual const std::string & | getDocUUID () const |
void | setDocUUID (const std::string &sDocUUID) |
virtual std::string | toStr () const |
Static Public Member Functions | |
static DECLARE_SERIALIZABLE_PACKET bool | isInstanceOf (const Packet &packet) |
Protected Member Functions | |
SessionPacket () | |
SessionPacket (const std::string &sSessionId, const std::string &sDocUUID) | |
Private Attributes | |
std::string | m_sSessionId |
std::string | m_sDocUUID |
SessionPacket::SessionPacket | ( | ) | [inline, protected] |
SessionPacket::SessionPacket | ( | const std::string & | sSessionId, | |
const std::string & | sDocUUID | |||
) | [protected] |
virtual const std::string& SessionPacket::getDocUUID | ( | ) | const [inline, virtual] |
virtual const std::string& SessionPacket::getSessionId | ( | ) | const [inline, virtual] |
References m_sSessionId.
Referenced by FakeAccountHandler::_createSession(), ABI_Collab_Export::change(), and AbiCollabSessionManager::processPacket().
bool SessionPacket::isInstanceOf | ( | const Packet & | packet | ) | [static] |
void SessionPacket::setDocUUID | ( | const std::string & | sDocUUID | ) | [inline] |
References m_sDocUUID.
Referenced by ABI_Collab_Export::slaveInit().
void SessionPacket::setSessionId | ( | const std::string & | sSessionId | ) | [inline] |
References m_sSessionId.
Referenced by FakeAccountHandler::_loadDocument().
std::string SessionPacket::toStr | ( | ) | const [virtual] |
Reimplemented from Packet.
Reimplemented in ChangeRecordSessionPacket, Props_ChangeRecordSessionPacket, InsertSpan_ChangeRecordSessionPacket, ChangeStrux_ChangeRecordSessionPacket, DeleteStrux_ChangeRecordSessionPacket, Object_ChangeRecordSessionPacket, RDF_ChangeRecordSessionPacket, Data_ChangeRecordSessionPacket, Glob_ChangeRecordSessionPacket, GlobSessionPacket, SignalSessionPacket, RevertSessionPacket, RevertAckSessionPacket, SessionTakeoverRequestPacket, SessionTakeoverAckPacket, SessionFlushedPacket, SessionReconnectRequestPacket, and SessionReconnectAckPacket.
References m_sDocUUID, and m_sSessionId.
Referenced by ABI_Collab_Import::import().
std::string SessionPacket::m_sDocUUID [private] |
Referenced by getDocUUID(), setDocUUID(), and toStr().
std::string SessionPacket::m_sSessionId [private] |
Referenced by getSessionId(), setSessionId(), and toStr().