Electroneum
Loading...
Searching...
No Matches
epee::levin::levin_client_impl Class Reference

#include <levin_client.h>

Inheritance diagram for epee::levin::levin_client_impl:
Collaboration diagram for epee::levin::levin_client_impl:

Public Member Functions

 levin_client_impl ()
virtual ~levin_client_impl ()
bool connect (u_long ip, int port, unsigned int timeout, const std::string &bind_ip="0.0.0.0")
bool connect (const std::string &addr, int port, unsigned int timeout, const std::string &bind_ip="0.0.0.0")
bool is_connected ()
bool disconnect ()
virtual int invoke (int command, const epee::span< const uint8_t > in_buff, std::string &buff_out)
virtual int notify (int command, const std::string &in_buff)

Protected Attributes

net_utils::blocked_mode_client m_transport

Detailed Description

Definition at line 49 of file levin_client.h.

Constructor & Destructor Documentation

◆ levin_client_impl()

epee::levin::levin_client_impl::levin_client_impl ( )

◆ ~levin_client_impl()

virtual epee::levin::levin_client_impl::~levin_client_impl ( )
virtual

Member Function Documentation

◆ connect() [1/2]

bool epee::levin::levin_client_impl::connect ( const std::string & addr,
int port,
unsigned int timeout,
const std::string & bind_ip = "0.0.0.0" )

◆ connect() [2/2]

bool epee::levin::levin_client_impl::connect ( u_long ip,
int port,
unsigned int timeout,
const std::string & bind_ip = "0.0.0.0" )

◆ disconnect()

bool epee::levin::levin_client_impl::disconnect ( )
Here is the caller graph for this function:

◆ invoke()

virtual int epee::levin::levin_client_impl::invoke ( int command,
const epee::span< const uint8_t > in_buff,
std::string & buff_out )
virtual

◆ is_connected()

bool epee::levin::levin_client_impl::is_connected ( )

◆ notify()

virtual int epee::levin::levin_client_impl::notify ( int command,
const std::string & in_buff )
virtual

Member Data Documentation

◆ m_transport

net_utils::blocked_mode_client epee::levin::levin_client_impl::m_transport
protected

Definition at line 64 of file levin_client.h.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/net/levin_client.h