KNetwork::KUnixSocketAddress Class Reference
A Unix (local) socket address. More...
#include <ksocketaddress.h>
Inheritance diagram for KNetwork::KUnixSocketAddress:


Public Member Functions | |
KUnixSocketAddress () | |
KUnixSocketAddress (const sockaddr *sa, Q_UINT16 len) | |
KUnixSocketAddress (const KUnixSocketAddress &other) | |
KUnixSocketAddress (const QString &pathname) | |
virtual | ~KUnixSocketAddress () |
KUnixSocketAddress & | operator= (const KUnixSocketAddress &other) |
operator const sockaddr_un * () const | |
QString | pathname () const |
KUnixSocketAddress & | setPathname (const QString &path) |
Protected Member Functions | |
KUnixSocketAddress (KSocketAddressData *d) |
Detailed Description
A Unix (local) socket address.This is a Unix socket address.
Note that this class uses QStrings to represent filenames, which means the proper encoding is used to translate into valid filesystem file names.
- Author:
- Thiago Macieira <thiago.macieira@kdemail.net>
Definition at line 830 of file ksocketaddress.h.
Constructor & Destructor Documentation
|
Default constructor. Creates an empty object. |
|
Creates this object with the given raw data. If the sockaddr structure does not contain a Local namespace (Unix) socket, this object will be created empty.
|
|
Copy constructor. Creates a copy of the other object, sharing the data explicitly.
|
|
Constructs an object from the given pathname.
|
|
Destructor.
|
Member Function Documentation
|
Copy operator. Copies the contents of the other object into this one. Data is explicitly shared.
|
|
Cast operator to sockaddr_un.
Definition at line 878 of file ksocketaddress.h. |
|
Returns the pathname associated with this object. Will return QString::null if this object is empty. |
|
Sets the pathname for the object.
|
The documentation for this class was generated from the following file: