a b/src/policies/DIF/Routing/IntRoutingUpdate.h
1
/*
2
 * IntRoutingUpdate.h
3
 *
4
 *  Created on: Mar 18, 2015
5
 *      Author: gaixas1
6
 */
7
8
#ifndef INTROUTINGUPDATE_H_
9
#define INTROUTINGUPDATE_H_
10
11
#include "Address.h"
12
13
class IntRoutingUpdate : public cObject {
14
protected:
15
    Address dstAddr;
16
    Address srcAddr;
17
18
public:
19
    IntRoutingUpdate();
20
    IntRoutingUpdate(const Address &addr);
21
    ~IntRoutingUpdate();
22
23
    // Getters.
24
    Address getDestination();
25
    Address getSource();
26
27
    // Setters.
28
    void setDestination(Address addr);
29
    void setSource(Address src);
30
};
31
32
#endif /* INTROUTINGUPDATE_H_ */