blob: 00885c2698e07901e2c9325c6f0a1c463ac6d36a [file]
/*******************************************************************************
* Copyright (c) 2012 Draeger Medical GmbH (http://www.draeger.com).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* CONTRIBUTORS:
* Peter Karlitschek (initial contribution)
*
*******************************************************************************/
#ifndef IMESSAGERECEIVER_H_
#define IMESSAGERECEIVER_H_
#include "common/messaging/Address.h"
#include "common/messaging/Message.h"
#include "common/messaging/IRTObject.h"
namespace etRuntime {
class IMessageReceiver : public virtual IRTObject{
public:
virtual ~IMessageReceiver() {}
virtual void receive(const Message* msg) = 0;
virtual const Address& getAddress() const = 0;
};
} /* namespace etRuntime */
#endif /* IMESSAGERECEIVER_H_ */