eris  1.4.0
A WorldForge client library.
Redispatch.cpp
1 #ifdef HAVE_CONFIG_H
2  #include "config.h"
3 #endif
4 
5 #include "Redispatch.h"
6 #include "Connection.h"
7 #include "LogStream.h"
8 
9 namespace Eris
10 {
11 
12 void Redispatch::post()
13 {
14  m_con.postForDispatch(m_obj);
15  m_con.cleanupRedispatch(this);
16 }
17 
18 void Redispatch::postModified(const Atlas::Objects::Root& obj)
19 {
20  m_con.postForDispatch(obj);
21  m_con.cleanupRedispatch(this);
22 }
23 
24 void Redispatch::fail()
25 {
26  warning() << "redispatch failed for " << m_obj;
27  m_con.cleanupRedispatch(this);
28 }
29 
30 } // of namespace
Eris::Connection::postForDispatch
void postForDispatch(const Atlas::Objects::Root &obj)
Definition: Connection.cpp:370
Eris
Definition: Account.cpp:33