KVIrc  4.9.2
DeveloperAPIs
Protected Slots | Protected Member Functions | Protected Attributes | List of all members
KvsObject_socket Class Reference

#include <KvsObject_socket.h>

+ Inheritance diagram for KvsObject_socket:

Protected Slots

void slotConnected ()
 
void slotDisconnected ()
 
void slotError (QAbstractSocket::SocketError socketError)
 
void slotHostFound ()
 
void slotNewConnection ()
 
void slotReadyRead ()
 
void slotStateChanged (QAbstractSocket::SocketState socketState)
 
- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 

Protected Member Functions

bool bytesAvailable (KviKvsObjectFunctionCall *c)
 
bool close (KviKvsObjectFunctionCall *c)
 
bool connectedEvent (KviKvsObjectFunctionCall *c)
 
bool dataAvailableEvent (KviKvsObjectFunctionCall *c)
 
bool disconnectedEvent (KviKvsObjectFunctionCall *c)
 
bool errorEvent (KviKvsObjectFunctionCall *c)
 
bool functionConnect (KviKvsObjectFunctionCall *c)
 
const char * getStateString (QAbstractSocket::SocketState)
 
bool hostFoundEvent (KviKvsObjectFunctionCall *c)
 
bool incomingConnectionEvent (KviKvsObjectFunctionCall *c)
 
virtual bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
 
bool listen (KviKvsObjectFunctionCall *c)
 
bool localIp (KviKvsObjectFunctionCall *c)
 
bool localPort (KviKvsObjectFunctionCall *c)
 
void makeConnections ()
 
bool read (KviKvsObjectFunctionCall *c)
 
bool remoteIp (KviKvsObjectFunctionCall *c)
 
bool remotePort (KviKvsObjectFunctionCall *c)
 
void setInternalSocket (QAbstractSocket *pSocket)
 
bool setProtocol (KviKvsObjectFunctionCall *c)
 
bool stateChangedEvent (KviKvsObjectFunctionCall *c)
 
bool status (KviKvsObjectFunctionCall *c)
 
bool write (KviKvsObjectFunctionCall *c)
 
- Protected Member Functions inherited from KviKvsObject
virtual bool eventFilter (QObject *o, QEvent *e)
 
bool function_childCount (KviKvsObjectFunctionCall *c)
 
bool function_children (KviKvsObjectFunctionCall *c)
 
bool function_className (KviKvsObjectFunctionCall *c)
 
bool function_destructor (KviKvsObjectFunctionCall *c)
 
bool function_emit (KviKvsObjectFunctionCall *c)
 
bool function_findChild (KviKvsObjectFunctionCall *c)
 
bool function_killTimer (KviKvsObjectFunctionCall *c)
 
bool function_listProperties (KviKvsObjectFunctionCall *c)
 
bool function_name (KviKvsObjectFunctionCall *c)
 
bool function_parent (KviKvsObjectFunctionCall *c)
 
bool function_property (KviKvsObjectFunctionCall *c)
 
bool function_setProperty (KviKvsObjectFunctionCall *c)
 
bool function_signalName (KviKvsObjectFunctionCall *c)
 
bool function_signalSender (KviKvsObjectFunctionCall *c)
 
bool function_startTimer (KviKvsObjectFunctionCall *c)
 
void registerChild (KviKvsObject *c)
 
void registerConnection (KviKvsObjectConnection *con)
 
virtual void timerEvent (QTimerEvent *e)
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Protected Attributes

bool bIsSetFromExternal
 
KviKvsRunTimeContextm_pContext
 
QTcpServer * m_pServer
 
QAbstractSocket * m_pSocket
 
- Protected Attributes inherited from KviKvsObject
bool m_bAboutToDie
 
bool m_bDestructorCalled
 
bool m_bInDelayedDeath
 
bool m_bObjectOwner
 
kvs_hobject_t m_hObject
 
kvs_hobject_t m_hSignalSender
 
KviPointerList< KviKvsObject > * m_pChildList
 
KviKvsObjectClassm_pClass
 
KviKvsObjectConnectionListm_pConnectionList
 
KviKvsHashm_pDataContainer
 
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
m_pFunctionHandlers
 
QObject * m_pObject
 
KviPointerHashTable< QString,
KviKvsObjectConnectionList > * 
m_pSignalDict
 
QString m_szName
 
QString m_szSignalName
 

Additional Inherited Members

- Public Member Functions inherited from KviKvsObject
bool callFunction (KviKvsObject *pCaller, const QString &fncName, const QString &classOverride, KviKvsRunTimeContext *pContext, KviKvsVariant *pRetVal, KviKvsVariantList *pParams)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariantList *pParams=0)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariant *pRetVal, KviKvsVariantList *pParams=0)
 
bool connectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
KviKvsHashdataContainer ()
 
bool die ()
 
bool dieNow ()
 
bool disconnectSignal (const QString &sigName, KviKvsObjectConnection *con)
 
bool disconnectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
int emitSignal (const QString &sigName, KviKvsObjectFunctionCall *pOuterCall, KviKvsVariantList *pParams=0)
 
KviKvsObjectfindChild (const QString &szClass, const QString &szName)
 
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
functionHandlers ()
 
KviKvsObjectClassgetClass (const QString &classOverride=QString())
 
KviKvsObjectClassgetExactClass ()
 
const QString & getName ()
 
kvs_hobject_t handle ()
 
bool inheritsClass (KviKvsObjectClass *pClass)
 
bool inheritsClass (const QString &szClass)
 
void killAllChildrenWithClass (KviKvsObjectClass *cl)
 
 KviKvsObject (KviKvsObjectClass *pClass, KviKvsObject *pParent, const QString &szName)
 
KviKvsObjectFunctionHandlerlookupFunctionHandler (const QString &funcName, const QString &classOverride=QString())
 
QObject * object () const
 
KviKvsObjectparentObject ()
 
QWidget * parentScriptWidget ()
 
void registerPrivateImplementation (const QString &szFunctionName, const QString &szCode)
 
void setObject (QObject *o, bool bIsOwned=true)
 
void setSignalName (const QString &szSigName)
 
void setSignalSender (kvs_hobject_t hObject)
 
kvs_hobject_t signalSender ()
 
virtual ~KviKvsObject ()
 

Member Function Documentation

bool KvsObject_socket::bytesAvailable ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::close ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::connectedEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::dataAvailableEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::disconnectedEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::errorEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::functionConnect ( KviKvsObjectFunctionCall c)
protected
const char * KvsObject_socket::getStateString ( QAbstractSocket::SocketState  state)
protected

References sockstate_tbl.

Referenced by slotStateChanged().

bool KvsObject_socket::hostFoundEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::incomingConnectionEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::init ( KviKvsRunTimeContext pContext,
KviKvsVariantList pParams 
)
protectedvirtual

Reimplemented from KviKvsObject.

References c, m_pServer, and m_pSocket.

bool KvsObject_socket::listen ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::localIp ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::localPort ( KviKvsObjectFunctionCall c)
protected
void KvsObject_socket::makeConnections ( )
protected
bool KvsObject_socket::read ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::remoteIp ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::remotePort ( KviKvsObjectFunctionCall c)
protected
void KvsObject_socket::setInternalSocket ( QAbstractSocket *  pSocket)
inlineprotected
bool KvsObject_socket::setProtocol ( KviKvsObjectFunctionCall c)
protected
void KvsObject_socket::slotConnected ( )
protectedslot

References KviKvsObject::callFunction().

Referenced by makeConnections().

void KvsObject_socket::slotDisconnected ( )
protectedslot

References KviKvsObject::callFunction().

Referenced by makeConnections().

void KvsObject_socket::slotError ( QAbstractSocket::SocketError  socketError)
protectedslot
void KvsObject_socket::slotHostFound ( )
protectedslot

References KviKvsObject::callFunction().

Referenced by makeConnections().

void KvsObject_socket::slotNewConnection ( )
protectedslot
void KvsObject_socket::slotReadyRead ( )
protectedslot
void KvsObject_socket::slotStateChanged ( QAbstractSocket::SocketState  socketState)
protectedslot
bool KvsObject_socket::stateChangedEvent ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::status ( KviKvsObjectFunctionCall c)
protected
bool KvsObject_socket::write ( KviKvsObjectFunctionCall c)
protected

Member Data Documentation

bool KvsObject_socket::bIsSetFromExternal
protected

Referenced by setInternalSocket().

KviKvsRunTimeContext* KvsObject_socket::m_pContext
protected

Referenced by slotNewConnection().

QTcpServer* KvsObject_socket::m_pServer
protected

Referenced by slotNewConnection().

QAbstractSocket* KvsObject_socket::m_pSocket
protected

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