"""
EDBC - Message correlation and aggregation engine for passive monitoring events
Copyright (C) 2012  NETWAYS GmbH

This program 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 Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

"""
import threading


class AbstractReceptor(threading.Thread):
    """ Receptor interface

    """
    def setup(self,_id, config):
        """ config contains the configuration from the cfg file defining your
            receptor
        """
        self.id = id
        self.config = config
        pass

    def register_queue(self, queue):
        pass

    def unregister_queue(self, queue):
        pass

    def stop(self):
        pass