File: Redispatch.cpp

package info (click to toggle)
eris 1.3.10-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,592 kB
  • ctags: 1,516
  • sloc: cpp: 9,850; sh: 8,288; perl: 287; ansic: 165; makefile: 162
file content (30 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifdef HAVE_CONFIG_H
    #include "config.h"
#endif

#include <Eris/Redispatch.h>
#include <Eris/Connection.h>
#include <Eris/LogStream.h>

namespace Eris
{

void Redispatch::post()
{
    m_con->postForDispatch(m_obj);
    m_con->cleanupRedispatch(this);
}

void Redispatch::postModified(const Atlas::Objects::Root& obj)
{
    m_con->postForDispatch(obj);
    m_con->cleanupRedispatch(this);
}

void Redispatch::fail()
{
    warning() << "redispatch failed for " << m_obj;
    m_con->cleanupRedispatch(this);
}

} // of namespace