ns-3-dce
dce-1.9-30-g161c559
A Direct Code Execution for ns-3 Network Simulator
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
linux-udp-socket-factory-impl.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2012 NICT
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Hajime Tazaki <tazaki@nict.go.jp>
19
*/
20
#ifndef LINUX_UDP_SOCKET_FACTORY_IMPL_H
21
#define LINUX_UDP_SOCKET_FACTORY_IMPL_H
22
23
#include "
linux-udp-socket-factory.h
"
24
#include "ns3/ptr.h"
25
#include "ns3/node.h"
26
27
namespace
ns3
{
28
37
class
LinuxUdpSocketFactoryImpl
:
public
LinuxUdpSocketFactory
38
{
39
public
:
47
virtual
Ptr<Socket>
CreateSocket
(
void
);
48
49
protected
:
50
private
:
51
};
52
53
}
// namespace ns3
54
55
#endif
/* LINUX_UDP_SOCKET_FACTORY_IMPL_H */
ns3::LinuxUdpSocketFactory
API to create UDP socket instances.
Definition:
linux-udp-socket-factory.h:40
linux-udp-socket-factory.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Definition:
ccn-client-helper.cc:11
ns3::LinuxUdpSocketFactoryImpl::CreateSocket
virtual Ptr< Socket > CreateSocket(void)
Implements a method to create a Udp-based socket and return a base class smart pointer to the socket...
Definition:
linux-udp-socket-factory-impl.cc:33
ns3::LinuxUdpSocketFactoryImpl
Object to create UDP socket instances.
Definition:
linux-udp-socket-factory-impl.h:37
model
linux
linux-udp-socket-factory-impl.h
Generated on Fri Mar 9 2018 06:27:08 for ns-3-dce by
1.8.11