14 #ifndef MESSAGESESSION_H__
15 #define MESSAGESESSION_H__
189 const std::string&
threadID()
const {
return m_thread; }
196 void setThreadID(
const std::string& thread ) { m_thread = thread; }
210 void removeMessageHandler();
218 virtual void send(
const std::string& message,
const std::string& subject =
"" );
249 int types()
const {
return m_types; }
258 void resetResource();
261 virtual void handleMessage(
Stanza *stanza );
270 virtual void send(
Tag *tag );
271 void decorate(
Tag *tag );
278 void setResource(
const std::string& resource );
280 typedef std::list<MessageFilter*> MessageFilterList;
281 MessageFilterList m_messageFilterList;
283 std::string m_thread;
292 #endif // MESSAGESESSION_H__