AERA
Public Member Functions | List of all members
tcp_io_device::TcpIoDevice< O, S > Class Template Reference
Inheritance diagram for tcp_io_device::TcpIoDevice< O, S >:
r_exec::MemExec< O, S >

Public Member Functions

 TcpIoDevice (int number_of_servers, int number_of_clients, std::vector< std::pair< std::string, std::string > > server_configurations, std::vector< std::string > client_configurations)
 
int initTCP ()
 
- Public Member Functions inherited from r_exec::MemExec< O, S >
r_code::Codebuild_object (r_code::SysObject *source) const override
 
r_code::Code_build_object (Atom head) const override
 
r_code::Codebuild_object (Atom head) const override
 
r_code::Codecheck_existence (r_code::Code *object) override
 
void inject (O *object, View *view)
 

Detailed Description

template<class O, class S>
class tcp_io_device::TcpIoDevice< O, S >

Definition at line 95 of file tcp_io_device.h.

Member Function Documentation

◆ initTCP()

template<class O , class S >
int tcp_io_device::TcpIoDevice< O, S >::initTCP

Initialize the TCP connection and wait for a client to connect to it.

Parameters
portthe port in which the TCP/IP connection should be communicating with the environment simulation.

Definition at line 109 of file tcp_io_device.cpp.


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