summaryrefslogtreecommitdiff
path: root/Bus/Ivy/BufferedSocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Bus/Ivy/BufferedSocket.h')
-rw-r--r--Bus/Ivy/BufferedSocket.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/Bus/Ivy/BufferedSocket.h b/Bus/Ivy/BufferedSocket.h
deleted file mode 100644
index 851ead1..0000000
--- a/Bus/Ivy/BufferedSocket.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// BufferedSocket.h: interface for the CBufferedSocket class.
-//
-//////////////////////////////////////////////////////////////////////
-
-
-#pragma once
-
-
-#include "ThreadedSocket.h"
-
-class CBufferedSocket : public CThreadedSocket
-{
-// DECLARE_DYNAMIC(CBufferedSocket)
-public:
- CBufferedSocket();
- virtual ~CBufferedSocket();
- void OnReceive( int nErrorCode );
- void OnSend( int nErrorCode );
- void OnConnect(int nErrorCode);
- virtual void OnReceive( char *line );
- virtual void Accept(CBufferedSocket& rConnectedSocket,
- SOCKADDR* lpSockAddr = NULL, int* lpSockAddrLen = NULL);
- void SetSeparator( char sep );
- void Send ( const char * data );
-protected:
- bool connected; /* wait to be connected before sending any Data */
- int separator;
- /* buffer de reception de l'application */
- long buffer_size;
- char *buffer;
- char *current_ptr;
- // Buffer Emission
- CRITICAL_SECTION m_CritSection;
- ivy::list<ivy::string> buf_out;
-};
-