BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface 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

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.

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

Definition at line 111 of file message_oriented_connection.cpp.

Member Function Documentation

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

Definition at line 123 of file message_oriented_connection.cpp.

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.

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

Definition at line 289 of file message_oriented_connection.cpp.

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.

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

Definition at line 295 of file message_oriented_connection.cpp.

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.

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

Definition at line 342 of file message_oriented_connection.cpp.

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

Definition at line 336 of file message_oriented_connection.cpp.

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

Definition at line 348 of file message_oriented_connection.cpp.

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

Definition at line 117 of file message_oriented_connection.cpp.

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

Definition at line 330 of file message_oriented_connection.cpp.

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

Definition at line 324 of file message_oriented_connection.cpp.

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

Definition at line 251 of file message_oriented_connection.cpp.


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