From a128182af9180f95f05cd4cfa026c322dbbdf32d Mon Sep 17 00:00:00 2001 From: Pavel Boyko Date: Wed, 9 Sep 2009 14:23:39 +0400 Subject: [PATCH] raw-socket-factory.cc,h removed --- src/node/raw-socket-factory.cc | 35 -------------------------- src/node/raw-socket-factory.h | 46 ---------------------------------- src/node/wscript | 2 -- 3 files changed, 83 deletions(-) delete mode 100644 src/node/raw-socket-factory.cc delete mode 100644 src/node/raw-socket-factory.h diff --git a/src/node/raw-socket-factory.cc b/src/node/raw-socket-factory.cc deleted file mode 100644 index 35535aa8e..000000000 --- a/src/node/raw-socket-factory.cc +++ /dev/null @@ -1,35 +0,0 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ -/* - * Copyright (c) 2007 INRIA - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; - * - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Author: Mathieu Lacage - */ -#include "raw-socket-factory.h" -#include "ns3/uinteger.h" - -namespace ns3 { - -NS_OBJECT_ENSURE_REGISTERED (RawSocketFactory); - -TypeId RawSocketFactory::GetTypeId (void) -{ - static TypeId tid = TypeId ("ns3::RawSocketFactory") - .SetParent () - ; - return tid; -} - -} // namespace ns3 diff --git a/src/node/raw-socket-factory.h b/src/node/raw-socket-factory.h deleted file mode 100644 index 0a2f6c89e..000000000 --- a/src/node/raw-socket-factory.h +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ -/* - * Copyright (c) 2007 INRIA - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; - * - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Author: Mathieu Lacage - */ -#ifndef RAW_SOCKET_FACTORY_H -#define RAW_SOCKET_FACTORY_H - -#include "socket-factory.h" - -namespace ns3 { - -class Socket; - -/** - * \ingroup socket - * - * \brief API to create RAW socket instances - * - * This abstract class defines the API for RAW socket factory. - * - */ -class RawSocketFactory : public SocketFactory -{ -public: - static TypeId GetTypeId (void); - -}; - -} // namespace ns3 - -#endif /* RAW_SOCKET_FACTORY_H */ diff --git a/src/node/wscript b/src/node/wscript index f64c41d69..1430e63ef 100644 --- a/src/node/wscript +++ b/src/node/wscript @@ -30,7 +30,6 @@ def build(bld): 'packet-socket.cc', 'udp-socket.cc', 'udp-socket-factory.cc', - 'raw-socket-factory.cc', 'tcp-socket.cc', 'tcp-socket-factory.cc', 'ipv4.cc', @@ -77,7 +76,6 @@ def build(bld): 'packet-socket-factory.h', 'udp-socket.h', 'udp-socket-factory.h', - 'raw-socket-factory.h', 'tcp-socket.h', 'tcp-socket-factory.h', 'ipv4.h',