File size: 613 Bytes
fd49381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
// -*- mode: c++; indent-tabs-mode: nil; tab-width: -*-
#pragma once
#include "moses/parameters/ServerOptions.h"
#include "Session.h"
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
#include <xmlrpc-c/server_abyss.hpp>
#ifndef WITH_THREADS
#pragma message("COMPILING WITHOUT THREADS!")
#else
#include "moses/ThreadPool.h"
#endif
namespace MosesServer
{
  class Server;
  class
  CloseSession : public xmlrpc_c::method
  {
    Server& m_server;
  public:
    CloseSession(Server& server);

    void execute(xmlrpc_c::paramList const& paramList,
		 xmlrpc_c::value *   const  retvalP);
    
  };
  
}