ns3-bgp  0.2
BGP module for ns-3.
Public Member Functions | List of all members
ns3::BgpNs3SocketIn Class Reference

Simple container class for FSM to receive data from peer. More...

#include <bgp-ns3-socket-in.h>

Inheritance diagram for ns3::BgpNs3SocketIn:
Inheritance graph
[legend]
Collaboration diagram for ns3::BgpNs3SocketIn:
Collaboration graph
[legend]

Public Member Functions

 BgpNs3SocketIn (Ptr< BgpNs3Fsm > fsm)
 Construct the container. More...
 
void HandleRead (Ptr< Socket > socket)
 Handle reading from socket. More...
 

Detailed Description

Simple container class for FSM to receive data from peer.

Definition at line 24 of file bgp-ns3-socket-in.h.

Constructor & Destructor Documentation

◆ BgpNs3SocketIn()

ns3::BgpNs3SocketIn::BgpNs3SocketIn ( Ptr< BgpNs3Fsm fsm)

Construct the container.

Parameters
fsmFSM to use.

Definition at line 21 of file bgp-ns3-socket-in.cc.

Member Function Documentation

◆ HandleRead()

void ns3::BgpNs3SocketIn::HandleRead ( Ptr< Socket >  socket)

Handle reading from socket.

Parameters
socketsocket to read from.

Definition at line 30 of file bgp-ns3-socket-in.cc.

Referenced by ns3::Session::Drop().


The documentation for this class was generated from the following files: