Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: cc6bdcd48fe40dc1d59dd425e74342bfec3ff5ff (plain) (blame)
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
31
32
33
34
/*******************************************************************************
 * 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 v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * 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:
	IMessageReceiver();
	virtual ~IMessageReceiver();

	virtual void receive(Message* msg) = 0;
	virtual Address getAddress() const = 0;
	virtual bool isMsgService() const { return false;};

};

} /* namespace etRuntime */
#endif /* IMESSAGERECEIVER_H_ */

Back to the top