~socket_server();
- bool fill_buffer(long long usec_timeout=-1);
+ bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL);
};
/** @brief Socket based connection
: server_connection(_timeout), socket_handler(_sock,_stype)
{ }
+ ~socket_server_connection();
+
std::ostream* get_logstream(log_level_values level)
{ return server_connection::get_logstream(level); }
{ socket_write(data); }
public:
- bool fill_buffer(long long usec_timeout=-1)
- { return socket_handler::fill_buffer(buffer,usec_timeout); }
+ bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL)
+ { return socket_handler::fill_buffer(buffer,usec_timeout,usec_timeout_remaining); }
- void close();
+ virtual void close();
};
}