

Public Types | |
| typedef stub_con | type |
| typedef websocketpp::lib::shared_ptr< type > | ptr |
| typedef iostream_con::timer_ptr | timer_ptr |
Public Types inherited from websocketpp::transport::iostream::connection< config > | |
| typedef connection< config > | type |
| Type of this connection transport component. More... | |
| typedef lib::shared_ptr< type > | ptr |
| Type of a shared pointer to this connection transport component. More... | |
| typedef config::concurrency_type | concurrency_type |
| transport concurrency policy More... | |
| typedef config::alog_type | alog_type |
| Type of this transport's access logging policy. More... | |
| typedef config::elog_type | elog_type |
| Type of this transport's error logging policy. More... | |
| typedef concurrency_type::scoped_lock_type | scoped_lock_type |
| typedef concurrency_type::mutex_type | mutex_type |
| typedef lib::shared_ptr< timer > | timer_ptr |
Public Member Functions | |
| stub_con (bool is_server, config::alog_type &a, config::elog_type &e) | |
| ptr | get_shared () |
| Get a shared pointer to this component. More... | |
| void | write (std::string msg) |
| void | write (std::vector< websocketpp::transport::buffer > &bufs) |
| void | async_read_at_least (size_t num_bytes, char *buf, size_t len) |
| void | handle_op (websocketpp::lib::error_code const &e) |
| void | async_read_indef (size_t num_bytes, char *buf, size_t len) |
| void | indef_read () |
| void | handle_indef (websocketpp::lib::error_code const &e, size_t amt_read) |
| void | shutdown () |
| void | handle_async_shutdown (websocketpp::lib::error_code const &e) |
Public Member Functions inherited from websocketpp::transport::iostream::connection< config > | |
| connection (bool is_server, alog_type &alog, elog_type &elog) | |
| ptr | get_shared () |
| Get a shared pointer to this component. More... | |
| void | register_ostream (std::ostream *o) |
| Register a std::ostream with the transport for writing output. More... | |
| void | set_uri (uri_ptr) |
| Set uri hook. More... | |
| size_t | read_some (char const *buf, size_t len) |
| Manual input supply (read some) More... | |
| size_t | read_all (char const *buf, size_t len) |
| Manual input supply (read all) More... | |
| size_t | readsome (char const *buf, size_t len) |
| Manual input supply (DEPRECATED) More... | |
| void | eof () |
| Signal EOF. More... | |
| void | fatal_error () |
| Signal transport error. More... | |
| void | set_secure (bool value) |
| Set whether or not this connection is secure. More... | |
| bool | is_secure () const |
| Tests whether or not the underlying transport is secure. More... | |
| void | set_remote_endpoint (std::string value) |
| Set human readable remote endpoint address. More... | |
| std::string | get_remote_endpoint () const |
| Get human readable remote endpoint address. More... | |
| connection_hdl | get_handle () const |
| Get the connection handle. More... | |
| timer_ptr | set_timer (long, timer_handler) |
| Call back a function after a period of time. More... | |
| void | set_write_handler (write_handler h) |
| Sets the write handler. More... | |
| void | set_vector_write_handler (vector_write_handler h) |
| Sets the vectored write handler. More... | |
| void | set_shutdown_handler (shutdown_handler h) |
| Sets the shutdown handler. More... | |
Public Attributes | |
| websocketpp::lib::error_code | ec |
| size_t | indef_read_size |
| char * | indef_read_buf |
| size_t | indef_read_len |
| size_t | indef_read_total |
Additional Inherited Members | |
Protected Member Functions inherited from websocketpp::transport::iostream::connection< config > | |
| void | init (init_handler handler) |
| Initialize the connection transport. More... | |
| void | async_read_at_least (size_t num_bytes, char *buf, size_t len, read_handler handler) |
| Initiate an async_read for at least num_bytes bytes into buf. More... | |
| void | async_write (char const *buf, size_t len, transport::write_handler handler) |
| Asyncronous Transport Write. More... | |
| void | async_write (std::vector< buffer > const &bufs, transport::write_handler handler) |
| Asyncronous Transport Write (scatter-gather) More... | |
| void | set_handle (connection_hdl hdl) |
| Set Connection Handle. More... | |
| lib::error_code | dispatch (dispatch_handler handler) |
| Call given handler back within the transport's event system (if present) More... | |
| void | async_shutdown (transport::shutdown_handler handler) |
| Perform cleanup on socket shutdown_handler. More... | |
Definition at line 56 of file connection.cpp.
| typedef stub_con stub_con::type |
Definition at line 57 of file connection.cpp.
| typedef websocketpp::lib::shared_ptr<type> stub_con::ptr |
Definition at line 58 of file connection.cpp.
Definition at line 59 of file connection.cpp.
|
inline |
Definition at line 61 of file connection.cpp.
|
inline |
Get a shared pointer to this component.
Definition at line 70 of file connection.cpp.
References websocketpp::transport::iostream::connection< config >::get_shared().
|
inline |
Definition at line 74 of file connection.cpp.
References websocketpp::transport::iostream::connection< config >::async_write(), and handle_op().
|
inline |
Definition at line 86 of file connection.cpp.
References websocketpp::transport::iostream::connection< config >::async_write(), and handle_op().
|
inline |
Definition at line 97 of file connection.cpp.
References websocketpp::transport::iostream::connection< config >::async_read_at_least(), and handle_op().
|
inline |
Definition at line 111 of file connection.cpp.
Referenced by async_read_at_least(), and write().
|
inline |
Definition at line 115 of file connection.cpp.
|
inline |
Definition at line 124 of file connection.cpp.
References websocketpp::transport::iostream::connection< config >::async_read_at_least(), and handle_indef().
|
inline |
Definition at line 138 of file connection.cpp.
Referenced by indef_read().
|
inline |
Definition at line 145 of file connection.cpp.
References websocketpp::transport::iostream::connection< config >::async_shutdown(), and handle_async_shutdown().
|
inline |
Definition at line 155 of file connection.cpp.
Referenced by shutdown().
| websocketpp::lib::error_code stub_con::ec |
Definition at line 159 of file connection.cpp.
| size_t stub_con::indef_read_size |
Definition at line 160 of file connection.cpp.
| char* stub_con::indef_read_buf |
Definition at line 161 of file connection.cpp.
| size_t stub_con::indef_read_len |
Definition at line 162 of file connection.cpp.
| size_t stub_con::indef_read_total |
Definition at line 163 of file connection.cpp.