Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

FakeAccountHandler Class Reference

#include <FakeAccountHandler.h>

Inheritance diagram for FakeAccountHandler:
AccountHandler EventListener

List of all members.

Public Member Functions

 FakeAccountHandler (const UT_UTF8String &sSessionURI, XAP_Frame *pFrame)
virtual ~FakeAccountHandler ()
virtual UT_UTF8String getStorageType ()
virtual UT_UTF8String getDescription ()
virtual UT_UTF8String getDisplayType ()
virtual void embedDialogWidgets (void *)
virtual void removeDialogWidgets (void *)
virtual void loadProperties ()
virtual void storeProperties ()
virtual ConnectResult connect ()
virtual bool disconnect ()
virtual bool isOnline ()
bool isLocallyControlled ()
FakeBuddyPtr getBuddy (const UT_UTF8String &description)
virtual BuddyPtr constructBuddy (const PropertyMap &props)
virtual BuddyPtr constructBuddy (const std::string &descriptor, BuddyPtr pBuddy)
virtual bool allowsManualBuddies ()
virtual void forceDisconnectBuddy (BuddyPtr pBuddy)
virtual bool recognizeBuddyIdentifier (const std::string &identifier)
virtual bool hasPersistentAccessControl ()
virtual bool allowsSessionTakeover ()
virtual bool send (const Packet *pPacket)
virtual bool send (const Packet *pPacket, BuddyPtr pBuddy)
bool process ()
bool getCurrentRev (UT_sint32 &iLocalRev, UT_sint32 &iRemoteRev)
bool stepToRemoteRev (UT_sint32 iRemoteRev)
bool canStep ()
bool step (UT_sint32 &iLocalRev)
bool initialize (UT_UTF8String *pForceSessionId)
void cleanup ()
XAP_FramegetFrame ()

Static Public Member Functions

static UT_UTF8String getStaticStorageType ()

Private Member Functions

bool _loadDocument (UT_UTF8String *pForceSessionId)
bool _createSession ()
bool _import (const RecordedPacket &rp)

Private Attributes

UT_UTF8String m_sSessionURI
XAP_Framem_pFrame
AbiCollabm_pSession
bool m_bLocallyControlled
PD_Documentm_pDoc
std::vector< RecordedPacket * > m_packets
UT_sint32 m_iIndex
UT_sint32 m_iLocalRev
UT_sint32 m_iRemoteRev

Constructor & Destructor Documentation

FakeAccountHandler::FakeAccountHandler ( const UT_UTF8String sSessionURI,
XAP_Frame pFrame 
)

References UT_DEBUGMSG.

FakeAccountHandler::~FakeAccountHandler (  )  [virtual]

Member Function Documentation

virtual bool FakeAccountHandler::allowsManualBuddies (  )  [inline, virtual]

Implements AccountHandler.

virtual bool FakeAccountHandler::allowsSessionTakeover (  )  [inline, virtual]

Implements AccountHandler.

ConnectResult FakeAccountHandler::connect (  )  [virtual]

Implements AccountHandler.

References UT_ASSERT_HARMLESS, and UT_NOT_REACHED.

BuddyPtr FakeAccountHandler::constructBuddy ( const PropertyMap props  )  [virtual]

Implements AccountHandler.

References UT_DEBUGMSG, and UT_return_val_if_fail.

BuddyPtr FakeAccountHandler::constructBuddy ( const std::string &  descriptor,
BuddyPtr  pBuddy 
) [virtual]
bool FakeAccountHandler::disconnect ( void   )  [virtual]

Implements AccountHandler.

References UT_ASSERT_HARMLESS, and UT_NOT_REACHED.

virtual void FakeAccountHandler::embedDialogWidgets ( void *   )  [inline, virtual]

Implements AccountHandler.

References UT_ASSERT_HARMLESS, and UT_NOT_REACHED.

void FakeAccountHandler::forceDisconnectBuddy ( BuddyPtr  pBuddy  )  [virtual]
FakeBuddyPtr FakeAccountHandler::getBuddy ( const UT_UTF8String description  ) 
bool FakeAccountHandler::getCurrentRev ( UT_sint32 iLocalRev,
UT_sint32 iRemoteRev 
)
UT_UTF8String FakeAccountHandler::getDescription (  )  [virtual]

Implements AccountHandler.

UT_UTF8String FakeAccountHandler::getDisplayType (  )  [virtual]

Implements AccountHandler.

XAP_Frame* FakeAccountHandler::getFrame (  )  [inline]

References m_pFrame.

Referenced by AbiCollab_Command::_doCmdDebug().

UT_UTF8String FakeAccountHandler::getStaticStorageType (  )  [static]

Reimplemented from AccountHandler.

Referenced by getStorageType().

virtual UT_UTF8String FakeAccountHandler::getStorageType (  )  [inline, virtual]

Implements AccountHandler.

References getStaticStorageType().

virtual bool FakeAccountHandler::hasPersistentAccessControl (  )  [inline, virtual]

Implements AccountHandler.

bool FakeAccountHandler::isLocallyControlled (  )  [inline]
bool FakeAccountHandler::isOnline (  )  [virtual]

Implements AccountHandler.

void FakeAccountHandler::loadProperties (  )  [virtual]

Implements AccountHandler.

bool FakeAccountHandler::recognizeBuddyIdentifier ( const std::string &  identifier  )  [virtual]
virtual void FakeAccountHandler::removeDialogWidgets ( void *   )  [inline, virtual]

Implements AccountHandler.

References UT_ASSERT_HARMLESS, and UT_NOT_REACHED.

bool FakeAccountHandler::send ( const Packet pPacket,
BuddyPtr  pBuddy 
) [virtual]

Implements AccountHandler.

References UT_DEBUGMSG, and UT_return_val_if_fail.

bool FakeAccountHandler::send ( const Packet pPacket  )  [virtual]

Implements AccountHandler.

References UT_DEBUGMSG, and UT_return_val_if_fail.

void FakeAccountHandler::storeProperties (  )  [virtual]

Implements AccountHandler.


Member Data Documentation


The documentation for this class was generated from the following files: