summaryrefslogtreecommitdiff
path: root/i
diff options
context:
space:
mode:
Diffstat (limited to 'i')
-rw-r--r--i/marvin/src/socket/socket_client.hh6
-rw-r--r--i/marvin/src/socket/socket_databuffer.hh9
2 files changed, 9 insertions, 6 deletions
diff --git a/i/marvin/src/socket/socket_client.hh b/i/marvin/src/socket/socket_client.hh
index 56d7afa..066f5fd 100644
--- a/i/marvin/src/socket/socket_client.hh
+++ b/i/marvin/src/socket/socket_client.hh
@@ -55,12 +55,6 @@ class SocketClient :public NonCopyable
bool read (std::string & strReaded, bool bloquant);
/// écrit dans le socket
void write (const std::string & str);
- /// lit un charactère du socket
- //char getChar (bool bloquant);
- /// écrit un charactère dans le socket
- //void putChar (char c);
- /// Récupère le FD du socket
- //int getFD (void);
};
#endif //socket_client_hh
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