make capabilities and sockets refcounted

This commit is contained in:
Mathieu Lacage
2007-05-02 23:18:51 +02:00
parent 5528c400d0
commit e5d10e4bf7
12 changed files with 32 additions and 17 deletions

View File

@@ -23,6 +23,7 @@
#include "ns3/callback.h"
#include "ipv4-address.h"
#include "ns3/object.h"
#include <stdint.h>
namespace ns3 {
@@ -38,7 +39,8 @@ class Node;
* to the BSD API to make it easier those who know the BSD API to use
* this API.
*/
class Socket {
class Socket : public Object
{
public:
virtual ~Socket();