HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_SecureNetworkStream Class Reference

#include <NET_WebStream.h>

+ Inheritance diagram for NET_SecureNetworkStream:

Public Member Functions

 NET_SecureNetworkStream ()=delete
 
 NET_SecureNetworkStream (UT_UniquePtr< UT_NetSocket > socket)
 
 NET_SecureNetworkStream (UT_UniquePtr< NET_SecureSocket > socket)
 
 NET_SecureNetworkStream (const NET_SecureNetworkStream &)=delete
 
NET_SecureNetworkStreamoperator= (const NET_SecureNetworkStream &)=delete
 
 NET_SecureNetworkStream (NET_SecureNetworkStream &&stream)
 
NET_SecureNetworkStreamoperator= (NET_SecureNetworkStream &&stream)
 
bool sendFile (UT_IFStream &fstream, exint count, exint &offset) override
 
int getFD () const override
 
int port () const override
 
int peek (void *data, int len, int timeout_ms=-1) override
 
int read (UT_WorkBuffer &wbuf, unsigned len, int timeout=-1) override
 
bool readPacket (UT_WorkBuffer &wbuf, int timeout=-1) override
 
bool write (const UT_WorkBuffer &data) override
 
bool write (const UT_StringHolder &data) override
 
int write (const UT_StringView &data, int &nwritten) override
 
int writePacket (const UT_WorkBuffer &data) override
 
int writePacket (const char *data, exint length) override
 
int dataAvailable (int timeout=0) override
 
- Public Member Functions inherited from NET_WebStream
 NET_WebStream ()=default
 
virtual ~NET_WebStream ()
 
bool isValid () const
 

Additional Inherited Members

- Protected Attributes inherited from NET_WebStream
bool myIsValid
 

Detailed Description

Definition at line 153 of file NET_WebStream.h.

Constructor & Destructor Documentation

NET_SecureNetworkStream::NET_SecureNetworkStream ( )
delete
NET_SecureNetworkStream::NET_SecureNetworkStream ( UT_UniquePtr< UT_NetSocket socket)
explicit
NET_SecureNetworkStream::NET_SecureNetworkStream ( UT_UniquePtr< NET_SecureSocket >  socket)
explicit
NET_SecureNetworkStream::NET_SecureNetworkStream ( const NET_SecureNetworkStream )
delete
NET_SecureNetworkStream::NET_SecureNetworkStream ( NET_SecureNetworkStream &&  stream)
inline

Definition at line 163 of file NET_WebStream.h.

Member Function Documentation

int NET_SecureNetworkStream::dataAvailable ( int  timeout = 0)
overridevirtual

Implements NET_WebStream.

int NET_SecureNetworkStream::getFD ( ) const
overridevirtual

Implements NET_WebStream.

NET_SecureNetworkStream& NET_SecureNetworkStream::operator= ( const NET_SecureNetworkStream )
delete
NET_SecureNetworkStream& NET_SecureNetworkStream::operator= ( NET_SecureNetworkStream &&  stream)
inline

Definition at line 167 of file NET_WebStream.h.

int NET_SecureNetworkStream::peek ( void data,
int  len,
int  timeout_ms = -1 
)
overridevirtual

Implements NET_WebStream.

int NET_SecureNetworkStream::port ( ) const
inlineoverridevirtual

Reimplemented from NET_WebStream.

Definition at line 175 of file NET_WebStream.h.

int NET_SecureNetworkStream::read ( UT_WorkBuffer wbuf,
unsigned  len,
int  timeout = -1 
)
overridevirtual

Implements NET_WebStream.

bool NET_SecureNetworkStream::readPacket ( UT_WorkBuffer wbuf,
int  timeout = -1 
)
overridevirtual

Implements NET_WebStream.

bool NET_SecureNetworkStream::sendFile ( UT_IFStream fstream,
exint  count,
exint offset 
)
overridevirtual

Implements NET_WebStream.

bool NET_SecureNetworkStream::write ( const UT_WorkBuffer data)
overridevirtual

Implements NET_WebStream.

bool NET_SecureNetworkStream::write ( const UT_StringHolder data)
overridevirtual

Implements NET_WebStream.

int NET_SecureNetworkStream::write ( const UT_StringView data,
int nwritten 
)
overridevirtual

Implements NET_WebStream.

int NET_SecureNetworkStream::writePacket ( const UT_WorkBuffer data)
overridevirtual

Implements NET_WebStream.

int NET_SecureNetworkStream::writePacket ( const char *  data,
exint  length 
)
overridevirtual

Implements NET_WebStream.


The documentation for this class was generated from the following file: