/* This file is part of Metaproxy.
- Copyright (C) 2005-2008 Index Data
+ Copyright (C) 2005-2012 Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
class IThreadPoolMsg {
public:
virtual IThreadPoolMsg *handle() = 0;
- virtual void result() = 0;
+ virtual void result(const char *info) = 0;
virtual ~IThreadPoolMsg();
+ virtual bool cleanup(void *info) = 0;
};
class ThreadPoolSocketObserver : public yazpp_1::ISocketObserver {
int no_threads);
virtual ~ThreadPoolSocketObserver();
void put(IThreadPoolMsg *m);
+ void cleanup(IThreadPoolMsg *m, void *info);
IThreadPoolMsg *get();
void run(void *p);
private:
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
- * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/