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
tcp-socket-factory.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007 Georgia Tech Research Corporation
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Raj Bhattacharjea <raj.b@gatech.edu>
7
*/
8
#include "
tcp-socket-factory.h
"
9
10
#include "ns3/double.h"
11
#include "ns3/uinteger.h"
12
13
namespace
ns3
14
{
15
16
NS_OBJECT_ENSURE_REGISTERED
(TcpSocketFactory);
17
18
TypeId
19
TcpSocketFactory::GetTypeId
()
20
{
21
static
TypeId
tid =
22
TypeId
(
"ns3::TcpSocketFactory"
).
SetParent
<
SocketFactory
>().SetGroupName(
"Internet"
);
23
return
tid;
24
}
25
26
}
// namespace ns3
ns3::SocketFactory
Object to create transport layer instances that provide a socket API to applications.
Definition
socket-factory.h:38
ns3::TcpSocketFactory::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
tcp-socket-factory.cc:19
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition
type-id.cc:1001
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition
object-base.h:35
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
tcp-socket-factory.h
src
internet
model
tcp-socket-factory.cc
Generated on Tue Dec 10 2024 18:20:41 for ns-3 by
1.11.0