Checkpoint. Code does not run. Still converting over to new

event loop model.  Streams, stream filters, and sockets are
converted.  Client proxies are almost converted.  CServer is
in progress.  Removed all HTTP code.  Haven't converted the
necessary win32 arch stuff.
This commit is contained in:
crs
2004-02-01 21:09:22 +00:00
parent 618aa7fedd
commit 848aee7a3a
64 changed files with 2581 additions and 2942 deletions

View File

@@ -13,27 +13,24 @@
*/
#include "CClientProxy.h"
#include "IInputStream.h"
#include "IOutputStream.h"
#include "IStream.h"
//
// CClientProxy
//
CClientProxy::CClientProxy(IServer* server, const CString& name,
IInputStream* input, IOutputStream* output) :
CClientProxy::CClientProxy(IServer* server,
const CString& name, IStream* stream) :
m_server(server),
m_name(name),
m_input(input),
m_output(output)
m_stream(stream)
{
// do nothing
}
CClientProxy::~CClientProxy()
{
delete m_output;
delete m_input;
delete m_stream;
}
IServer*
@@ -42,16 +39,10 @@ CClientProxy::getServer() const
return m_server;
}
IInputStream*
CClientProxy::getInputStream() const
IStream*
CClientProxy::getStream() const
{
return m_input;
}
IOutputStream*
CClientProxy::getOutputStream() const
{
return m_output;
return m_stream;
}
CString