13 #ifndef __NET_PACKETCONNECTIONHANDLER_H__
14 #define __NET_PACKETCONNECTIONHANDLER_H__
37 void start()
override;
43 virtual void fail(
const hboost::system::error_code& ec,
const char* what);
47 virtual void requestStop(
bool force);
52 void stop(
bool force)
override;
56 std::vector<char> myInternalBuffer;
57 hboost::asio::dynamic_vector_buffer<char, std::allocator<char>> myBuffer;
59 bool myShutdownRequested =
false;
60 bool myIsWriting =
false;
64 #endif // __NET_PACKETCONNECTIONHANDLER_H__
GLuint GLsizei const GLchar * message
hboost::asio::ip::tcp::socket ASIO_TCPSocket
std::enable_shared_from_this< T > UTenable_shared_from_this
NET_PacketSocket & socket()
SIM_API const UT_StringHolder force
virtual void stop(bool force)=0