Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayFTP::cClientFTPBase Class Reference

#include <cClientFTPBase.h>

Inheritance diagram for GrayFTP::cClientFTPBase:
Gray::cRefBase GrayLib::cProtocolStream IUnknown GrayFTP::cClientFTP GrayFTP::cClientFTPData

Public Member Functions

 cClientFTPBase (IProtocolFactory *pFactory, IUnkObject *pServerConnection, cStreamInput *pStreamInp, cStreamOutput *pStreamOut)
 
virtual ~cClientFTPBase ()
 
HASHCODE_t get_HashCode () const noexcept
 
cNetServerConnectionget_NetStream () const
 
 IUNKNOWN_DISAMBIG (cRefBase)
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 
- Public Member Functions inherited from GrayLib::cProtocolStream
 cProtocolStream (IProtocolFactory *pProtocolFactory, IUnkObject *pServerConnection, cStreamInput *pStreamInp, cStreamOutput *pStreamOut)
 
virtual ~cProtocolStream ()
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept override
 
 STDMETHOD_ (cString, get_Name)() const override
 
 STDMETHOD_ (cStringA, get_SymName)() const override
 
bool isConnected () const
 
cStreamInputget_StreamInp () const
 
cStreamOutputget_StreamOut () const
 
virtual size_t get_ProtocolMaxMessageSize () const
 
virtual HRESULT DisposeThis ()
 
virtual HRESULT OnTickStream ()
 
virtual HRESULT ProcessStreamPacket ()
 

Public Attributes

TIMESYS_t m_timeLast
 time of last command/action. More...
 
- Public Attributes inherited from GrayLib::cProtocolStream
IProtocolFactory *const m_pProtocolFactory
 What IProtocolFactory produced this? More...
 
IUnkObject *const m_pServerConnection
 the cNetServerConnection or other top level parent for this protocol. More...
 
HASHCODE_t const m_nHashCode
 the m_pClient->get_HashCode() id for this client connection/stream. More...
 

Additional Inherited Members

- Protected Attributes inherited from GrayLib::cProtocolStream
cStreamInputm_pStreamInp
 for use with ProcessStreamPacket() More...
 
cStreamOutputm_pStreamOut
 TX responses back to the remote client go here. (e.g. cNetServerConnection->cNetStream) More...
 
cString m_sName
 a user readable name. Usually the IP address or reverse DNS lookup. can be upgraded as lookup or login becomes avail. m_pClient->get_Name() More...
 

Detailed Description

An FTP connection, control/cmd or data. base class for cClientFTP and cClientFTPData

Constructor & Destructor Documentation

◆ cClientFTPBase()

GrayFTP::cClientFTPBase::cClientFTPBase ( IProtocolFactory pFactory,
IUnkObject *  pServerConnection,
cStreamInput pStreamInp,
cStreamOutput pStreamOut 
)
inline

◆ ~cClientFTPBase()

virtual GrayFTP::cClientFTPBase::~cClientFTPBase ( )
inlinevirtual

Member Function Documentation

◆ get_HashCode()

HASHCODE_t GrayFTP::cClientFTPBase::get_HashCode ( ) const
inlinenoexcept

◆ get_NetStream()

cNetServerConnection* GrayFTP::cClientFTPBase::get_NetStream ( ) const
inline

< Store cNetServerConnection or other top level parent for this protocol.

◆ IUNKNOWN_DISAMBIG()

GrayFTP::cClientFTPBase::IUNKNOWN_DISAMBIG ( cRefBase  )

Member Data Documentation

◆ m_timeLast

TIMESYS_t GrayFTP::cClientFTPBase::m_timeLast

time of last command/action.


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