16 #ifndef AQUA_ClientOutput
17 #define AQUA_ClientOutput
20 #ifndef DABC_SocketThread
65 virtual void OnSocketError(
int errnum,
const std::string &info);
virtual unsigned Write_Check()
Check if output can be done.
dabc::TimeStamp fLastConnect
virtual void OnThreadAssigned()
virtual void OnSocketError(int errnum, const std::string &info)
Generic error handler.
ClientOutput(dabc::Url &url)
virtual unsigned Write_Complete()
Complete writing of the buffer.
virtual void OnRecvCompleted()
Method called when receive operation is completed.
void MakeCallBack(unsigned arg)
virtual double Write_Timeout()
Timeout in seconds for write operation.
virtual double ProcessTimeout(double lastdiff)
virtual bool Write_Init()
This is generic virtual method to initialize output before real work is started.
virtual unsigned Write_Buffer(dabc::Buffer &buf)
Start writing of buffer to output.
virtual void OnSendCompleted()
Method called when send operation is completed.
virtual WorkerAddon * Write_GetAddon()
Returns addon, provided by data output If specified, supposed that I/O object is double-derived from ...
Reference on memory from memory pool.
Interface for implementing any kind of data output.
Socket addon for handling I/O events.
Uniform Resource Locator interpreter.
WorkerAddon(const std::string &name)
Support for AQUA - A1 DAQ system.
Class for acquiring and holding timestamps.