summaryrefslogtreecommitdiff
path: root/i/marvin/src/socket/socket_databuffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/socket/socket_databuffer.hh')
-rw-r--r--i/marvin/src/socket/socket_databuffer.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/i/marvin/src/socket/socket_databuffer.hh b/i/marvin/src/socket/socket_databuffer.hh
index 64dac86..01f239b 100644
--- a/i/marvin/src/socket/socket_databuffer.hh
+++ b/i/marvin/src/socket/socket_databuffer.hh
@@ -28,6 +28,15 @@
/// TCP/IP
class SocketDataBuffer : public SocketClient
{
+ public:
+ /// Constructeur
+ SocketDataBuffer(void);
+ /// Constructeur accept
+ SocketDataBuffer(SocketServer & socketServer);
+ /// Récupère un DataBuffer
+ bool read (DataBuffer & dbReaded, bool bloquant);
+ /// Ecrit un DB dans le socket
+ void write (const DataBuffer & db);
};
#endif // socket_databuffer_hh