A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
udp-socket-factory.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007 INRIA
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
7
*/
8
#ifndef UDP_SOCKET_FACTORY_H
9
#define UDP_SOCKET_FACTORY_H
10
11
#include "ns3/socket-factory.h"
12
13
namespace
ns3
14
{
15
16
class
Socket;
17
18
/**
19
* @ingroup socket
20
* @ingroup udp
21
*
22
* @brief API to create UDP socket instances
23
*
24
* This abstract class defines the API for UDP socket factory.
25
* All UDP implementations must provide an implementation of CreateSocket
26
* below.
27
*
28
* @see UdpSocketFactoryImpl
29
*/
30
class
UdpSocketFactory
:
public
SocketFactory
31
{
32
public
:
33
/**
34
* @brief Get the type ID.
35
* @return the object TypeId
36
*/
37
static
TypeId
GetTypeId
();
38
};
39
40
}
// namespace ns3
41
42
#endif
/* UDP_SOCKET_FACTORY_H */
ns3::SocketFactory
Object to create transport layer instances that provide a socket API to applications.
Definition
socket-factory.h:38
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::UdpSocketFactory
API to create UDP socket instances.
Definition
udp-socket-factory.h:31
ns3::UdpSocketFactory::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
udp-socket-factory.cc:18
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
internet
model
udp-socket-factory.h
Generated on Tue Dec 10 2024 18:20:41 for ns-3 by
1.11.0