BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
graphene::net::detail::message_oriented_connection_impl Class Reference

Public Member Functions

fc::tcp_socketget_socket ()
 
void accept ()
 
void connect_to (const fc::ip::endpoint &remote_endpoint)
 
void bind (const fc::ip::endpoint &local_endpoint)
 
 message_oriented_connection_impl (message_oriented_connection *self, message_oriented_connection_delegate *delegate=nullptr)
 
 ~message_oriented_connection_impl ()
 
void send_message (const message &message_to_send)
 
void close_connection ()
 
void destroy_connection ()
 
uint64_t get_total_bytes_sent () const
 
uint64_t get_total_bytes_received () const
 
fc::time_point get_last_message_sent_time () const
 
fc::time_point get_last_message_received_time () const
 
fc::time_point get_connection_time () const
 
fc::sha512 get_shared_secret () const
 

Detailed Description

Definition at line 51 of file message_oriented_connection.cpp.

Constructor & Destructor Documentation

◆ message_oriented_connection_impl()

graphene::net::detail::message_oriented_connection_impl::message_oriented_connection_impl ( message_oriented_connection self,
message_oriented_connection_delegate delegate = nullptr 
)

Definition at line 97 of file message_oriented_connection.cpp.

◆ ~message_oriented_connection_impl()

graphene::net::detail::message_oriented_connection_impl::~message_oriented_connection_impl ( )

Definition at line 111 of file message_oriented_connection.cpp.

Member Function Documentation

◆ accept()

void graphene::net::detail::message_oriented_connection_impl::accept ( )

Definition at line 123 of file message_oriented_connection.cpp.

◆ bind()

void graphene::net::detail::message_oriented_connection_impl::bind ( const fc::ip::endpoint local_endpoint)

Definition at line 141 of file message_oriented_connection.cpp.

◆ close_connection()

void graphene::net::detail::message_oriented_connection_impl::close_connection ( )

Definition at line 313 of file message_oriented_connection.cpp.

◆ connect_to()

void graphene::net::detail::message_oriented_connection_impl::connect_to ( const fc::ip::endpoint remote_endpoint)

Definition at line 132 of file message_oriented_connection.cpp.

◆ destroy_connection()

void graphene::net::detail::message_oriented_connection_impl::destroy_connection ( )

Definition at line 319 of file message_oriented_connection.cpp.

◆ get_connection_time()

fc::time_point graphene::net::detail::message_oriented_connection_impl::get_connection_time ( ) const
inline

Definition at line 93 of file message_oriented_connection.cpp.

◆ get_last_message_received_time()

fc::time_point graphene::net::detail::message_oriented_connection_impl::get_last_message_received_time ( ) const

Definition at line 366 of file message_oriented_connection.cpp.

◆ get_last_message_sent_time()

fc::time_point graphene::net::detail::message_oriented_connection_impl::get_last_message_sent_time ( ) const

Definition at line 360 of file message_oriented_connection.cpp.

◆ get_shared_secret()

fc::sha512 graphene::net::detail::message_oriented_connection_impl::get_shared_secret ( ) const

Definition at line 372 of file message_oriented_connection.cpp.

◆ get_socket()

fc::tcp_socket & graphene::net::detail::message_oriented_connection_impl::get_socket ( )

Definition at line 117 of file message_oriented_connection.cpp.

◆ get_total_bytes_received()

uint64_t graphene::net::detail::message_oriented_connection_impl::get_total_bytes_received ( ) const

Definition at line 354 of file message_oriented_connection.cpp.

◆ get_total_bytes_sent()

uint64_t graphene::net::detail::message_oriented_connection_impl::get_total_bytes_sent ( ) const

Definition at line 348 of file message_oriented_connection.cpp.

◆ send_message()

void graphene::net::detail::message_oriented_connection_impl::send_message ( const message message_to_send)

Definition at line 274 of file message_oriented_connection.cpp.


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