Public Member Functions | Protected Member Functions

WebMessengerImpl Class Reference

#include <H:/WOSH/win32_vc2010/src/bundles/WebMessenger/WebMessengerImpl.h>

List of all members.

Public Member Functions

 WebMessengerImpl (wosh::BundleGeneric &bundle)
 Default constructor. Init vars.
virtual ~WebMessengerImpl ()
 Deconstructor. If thread is still running, it will be stopped.
Setters
WRESULT registerService (WebMessengerService *service)
WRESULT addJob (Message *job)
WRESULT sendMessage (const std::string &user_phonenumber, const std::string &message)
void setWebMessengerListener (IWebMessengerListener *Listener)
 Set the IWebMessengerListener interface for callbacks.
Getters
IWebMessengerListenergetWebMessengerListener ()
 Get IWebMessengerListener interface class for callbacks.

Protected Member Functions

void runThread ()
 Perform periodic checkConnected() to update stats.

Detailed Description

Version:
Id:
WebMessengerImpl.h 3775 2011-01-01 16:38:17Z alex
Author:
Alessandro Polo
Date:
Released on 2009-06-04

Definition at line 52 of file WebMessengerImpl.h.


Constructor & Destructor Documentation

WebMessengerImpl::WebMessengerImpl ( wosh::BundleGeneric bundle )

Default constructor. Init vars.

Parameters:
bundle[in] the parent bundle, see BundleGenericWorker interface

Definition at line 45 of file WebMessengerImpl.cpp.

WebMessengerImpl::~WebMessengerImpl (  ) [virtual]

Deconstructor. If thread is still running, it will be stopped.

Definition at line 50 of file WebMessengerImpl.cpp.

References wosh::BundleGenericWorker::Log, and wosh::LOG_VERBOSE.


Member Function Documentation

IWebMessengerListener* WebMessengerImpl::getWebMessengerListener (  ) [inline]

Get IWebMessengerListener interface class for callbacks.

Returns:
pointer to object which implements callback-functions

Definition at line 93 of file WebMessengerImpl.h.

void WebMessengerImpl::runThread (  ) [protected]

Perform periodic checkConnected() to update stats.

See also:
running
autoRefreshFrequency

Definition at line 58 of file WebMessengerImpl.cpp.

void WebMessengerImpl::setWebMessengerListener ( IWebMessengerListener Listener ) [inline]

Set the IWebMessengerListener interface for callbacks.

Parameters:
listener[in] pointer to object which implements callback-functions
Note:
Call this method only once, after creation, it's not reetrant!

Definition at line 81 of file WebMessengerImpl.h.


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

Generated on Tue Feb 8 2011 09:33:27 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework