Public Member Functions | |
| TunnelSession (tcp::socket c, tcp::socket r) | |
| void | start () |
Public Attributes | |
| tcp::socket | client_ |
| tcp::socket | remote_ |
| std::array< char, 64 *1024 > | cbuf_ {} |
| std::array< char, 64 *1024 > | rbuf_ {} |
Private Member Functions | |
| void | pump_c2r () |
| void | pump_r2c () |
| void | shutdown () |
Private Attributes | |
| std::atomic< bool > | closed_ {false} |
Definition at line 185 of file bastionguard_cef.cpp.
|
inline |
Definition at line 191 of file bastionguard_cef.cpp.
|
inlineprivate |
Definition at line 197 of file bastionguard_cef.cpp.
References cbuf_, client_, pump_c2r(), remote_, and shutdown().
Referenced by pump_c2r(), and start().
|
inlineprivate |
Definition at line 210 of file bastionguard_cef.cpp.
References client_, pump_r2c(), rbuf_, remote_, and shutdown().
Referenced by pump_r2c(), and start().
|
inlineprivate |
Definition at line 223 of file bastionguard_cef.cpp.
References client_, closed_, and remote_.
Referenced by pump_c2r(), and pump_r2c().
|
inline |
Definition at line 194 of file bastionguard_cef.cpp.
References pump_c2r(), and pump_r2c().
| std::array<char, 64 * 1024> TunnelSession::cbuf_ {} |
Definition at line 188 of file bastionguard_cef.cpp.
Referenced by pump_c2r().
| tcp::socket TunnelSession::client_ |
Definition at line 186 of file bastionguard_cef.cpp.
Referenced by pump_c2r(), pump_r2c(), shutdown(), and TunnelSession().
|
private |
Definition at line 230 of file bastionguard_cef.cpp.
Referenced by shutdown().
| std::array<char, 64 * 1024> TunnelSession::rbuf_ {} |
Definition at line 189 of file bastionguard_cef.cpp.
Referenced by pump_r2c().
| tcp::socket TunnelSession::remote_ |
Definition at line 187 of file bastionguard_cef.cpp.
Referenced by pump_c2r(), pump_r2c(), shutdown(), and TunnelSession().