struct CCL::Net::INetworkStream

Overview

Network stream interface (extends IStream). More…

#include <isocket.h>

struct INetworkStream: public CCL::IUnknown
{
    // methods

    virtual ISocket*CCL_API getSocket () = 0;
    virtual void CCL_API setTimeout (int timeout) = 0;
    virtual void CCL_API setPseudoBlocking (tbool state) = 0;
    virtual void CCL_API setCancelCallback (IProgressNotify* callback) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Network stream interface (extends IStream).

Methods

virtual ISocket*CCL_API getSocket () = 0

Get underlying socket.

virtual void CCL_API setTimeout (int timeout) = 0

Set timeout in milliseconds.

virtual void CCL_API setPseudoBlocking (tbool state) = 0

Set pseudo blocking behavior.

virtual void CCL_API setCancelCallback (IProgressNotify* callback) = 0

Set callback interface for cancelation.