Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
dev::p2p::RLPXSocket Class Reference

Shared pointer wrapper for ASIO TCP socket. More...

#include <RLPXSocket.h>

Inheritance diagram for dev::p2p::RLPXSocket:
[legend]
Collaboration diagram for dev::p2p::RLPXSocket:
[legend]

Public Member Functions

 RLPXSocket (ba::io_service &_ioService)
 
 ~RLPXSocket ()
 
bool isConnected () const
 
void close ()
 
bi::tcp::endpoint remoteEndpoint ()
 
bi::tcp::socket & ref ()
 

Protected Attributes

bi::tcp::socket m_socket
 

Detailed Description

Shared pointer wrapper for ASIO TCP socket.

Thread Safety Distinct Objects: Safe. Shared objects: Unsafe.

Definition at line 39 of file RLPXSocket.h.

Constructor & Destructor Documentation

dev::p2p::RLPXSocket::RLPXSocket ( ba::io_service &  _ioService)
inline

Definition at line 42 of file RLPXSocket.h.

dev::p2p::RLPXSocket::~RLPXSocket ( )
inline

Definition at line 43 of file RLPXSocket.h.

Here is the call graph for this function:

Member Function Documentation

void dev::p2p::RLPXSocket::close ( )
inline

Definition at line 46 of file RLPXSocket.h.

Here is the caller graph for this function:

bool dev::p2p::RLPXSocket::isConnected ( ) const
inline

Definition at line 45 of file RLPXSocket.h.

bi::tcp::socket& dev::p2p::RLPXSocket::ref ( )
inline

Definition at line 48 of file RLPXSocket.h.

bi::tcp::endpoint dev::p2p::RLPXSocket::remoteEndpoint ( )
inline

Definition at line 47 of file RLPXSocket.h.

Member Data Documentation

bi::tcp::socket dev::p2p::RLPXSocket::m_socket
protected

Definition at line 51 of file RLPXSocket.h.


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