Confdump Agent  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Static Public Member Functions | Properties | Private Member Functions | Private Attributes
Confdump::System::Linux::Socket Class Reference

A socket open on this system. More...

#include <Socket.hpp>

Inheritance diagram for Confdump::System::Linux::Socket:
Confdump::System::ManagedElement

List of all members.

Public Member Functions

 Socket ()
virtual ~Socket ()
QString inode () const
QString protocolName () const
QString localAddressString () const
QString remoteAddressString () const
QString stateString () const

Static Public Member Functions

static std::vector
< boost::shared_ptr< Socket > > 
allSystemInstances (boost::shared_ptr< LinuxDumper > driver, QString protocolName)

Properties

QString inode
QString protocolName
QString localAddressString
QString remoteAddressString
QString stateString

Private Member Functions

void setInode (QString inode)
void setProtocolName (QString protocolName)
void setLocalAddressString (QString localAddressString)
void setRemoteAddressString (QString remoteAddressString)
void setStateString (QString stateString)

Private Attributes

QString inode_
QString protocolName_
QString localAddressString_
QString remoteAddressString_
QString stateString_

Detailed Description

A socket open on this system.

Note: the (private) setters expect raw system strings.

Definition at line 45 of file Linux/Socket.hpp.


Constructor & Destructor Documentation

Definition at line 125 of file Linux/Socket.cpp.

Definition at line 130 of file Linux/Socket.cpp.


Member Function Documentation

std::vector< shared_ptr< Socket > > Confdump::System::Linux::Socket::allSystemInstances ( boost::shared_ptr< LinuxDumper driver,
QString  protocolName 
) [static]

Definition at line 189 of file Linux/Socket.cpp.

References setProtocolName().

QString Confdump::System::Linux::Socket::inode ( ) const [inline]

Definition at line 58 of file Linux/Socket.hpp.

References inode_.

Referenced by setInode().

Referenced by setProtocolName().

void Confdump::System::Linux::Socket::setInode ( QString  inode) [inline, private]

Definition at line 67 of file Linux/Socket.hpp.

References inode(), and inode_.

void Confdump::System::Linux::Socket::setLocalAddressString ( QString  localAddressString) [private]

Definition at line 159 of file Linux/Socket.cpp.

References localAddressString_.

void Confdump::System::Linux::Socket::setProtocolName ( QString  protocolName) [private]

Definition at line 154 of file Linux/Socket.cpp.

References protocolName(), and protocolName_.

Referenced by allSystemInstances().

void Confdump::System::Linux::Socket::setRemoteAddressString ( QString  remoteAddressString) [private]

Definition at line 164 of file Linux/Socket.cpp.

References remoteAddressString_.

void Confdump::System::Linux::Socket::setStateString ( QString  stateString) [private]

Definition at line 169 of file Linux/Socket.cpp.

References stateString_.


Member Data Documentation

Definition at line 73 of file Linux/Socket.hpp.

Referenced by inode(), and setInode().

Definition at line 74 of file Linux/Socket.hpp.

Referenced by setLocalAddressString().

Definition at line 74 of file Linux/Socket.hpp.

Referenced by setProtocolName().

Definition at line 74 of file Linux/Socket.hpp.

Referenced by setRemoteAddressString().

Definition at line 74 of file Linux/Socket.hpp.

Referenced by setStateString().


Property Documentation

Definition at line 48 of file Linux/Socket.hpp.

Definition at line 50 of file Linux/Socket.hpp.

Definition at line 49 of file Linux/Socket.hpp.

Definition at line 51 of file Linux/Socket.hpp.

Definition at line 52 of file Linux/Socket.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends