GComm  0.2.3
Public Member Functions | Friends | List of all members
gcomm::AsioTcpSocket Class Reference
Inheritance diagram for gcomm::AsioTcpSocket:
gcomm::Socket

Public Member Functions

 AsioTcpSocket (AsioProtonet &net, const gu::URI &uri)
 
void failed_handler (const asio::error_code &ec, const std::string &func, int line)
 
void connect_handler (const asio::error_code &ec)
 
void connect (const gu::URI &uri)
 
void close ()
 
void write_handler (const asio::error_code &ec, size_t bytes_transferred)
 
int send (const Datagram &dg)
 
size_t read_completion_condition (const asio::error_code &ec, const size_t bytes_transferred)
 
void read_handler (const asio::error_code &ec, const size_t bytes_transferred)
 
void async_receive ()
 
size_t mtu () const
 
std::string local_addr () const
 
std::string remote_addr () const
 
State state () const
 
SocketId id () const
 
- Public Member Functions inherited from gcomm::Socket
 Socket (const gu::URI &uri)
 

Friends

class gcomm::AsioTcpAcceptor
 

Additional Inherited Members

- Public Types inherited from gcomm::Socket
enum  State {
  S_CLOSED, S_CONNECTING, S_CONNECTED, S_FAILED,
  S_CLOSING
}
 
- Static Public Attributes inherited from gcomm::Socket
static const std::string OptNonBlocking
 
static const std::string OptIfAddr
 
static const std::string OptIfLoop
 
static const std::string OptCRC32
 
static const std::string OptMcastTTL
 
- Protected Attributes inherited from gcomm::Socket
const gu::URI uri_
 

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