Into

Modules

Documentation

moduleNetworking

The networking module contains classes for building client/server applications.

The most important features in this module is the remote object framework implemented by PiiRemoteObjectServer and PiiRemoteObjectClient. It provides a simple and easy-to-use HTTP-based alternative to QtDBus. The framework doesn't try to be universal and support any programming language (although JavaScript works). That said, the HTTP-based protocol is easy to implement and provides a natural interface to web applications, without the need for external daemons/services. Furthermore, the "native" Qt implementation has the advantage that no stub compilers or adaptors are needed.

The networking module also provides PiiNetworkServer, a generic multi-threaded server for network applications. It is used to implement a multi-threaded web server. HTTP clients and servers can be implemented easily with the aid of PiiHttpDevice. PiiMultipartDecoder makes it easy to parse multi-part MIME messages such as form submissions.

Namespaces

namespace

Definitions and functions used commonly by networking classes.

Other classes

class

Default implementation of the PiiStreamFilter interface.

struct

A generic socket descriptor that can be used with many native socket descriptor types.

class

A class that stores header information for multipart messages as defined in RFC 1341, 2045, and 2387.

class

An I/O device for HTTP/1.1 communication.

class

Thrown when a HTTP request handler cannot complete a request.

class

An implementation of the HTTP protocol.

class

A HTTP server.

class

A threaded server that runs an application layer protocol over a local socket.

class

Used to indicate error conditions in MIME headers.

class

A class that stores header information for multipart messages as defined in RFC 1341, 2045, and 2387.

class

A class that decodes MIME multipart messages.

class

An output filter that buffers data into itself until #flush() is called.

class

A generic client for network connections.

class

Used to indicate errors in network connections.

class

An interface for all network communication protocols.

class

An implementation of a threaded network server.

class

A worker thread that handles an incoming network connection.

class

A class that provides a client-side interface for a PiiQObjectServer.

class

An object that maps QObject's functions and properties into the URI space of a PiiHttpProtocol.

class

A wrapper class that works as a generic socket device.

class

An output filter that buffers data into itself until flushFilter() is called.

class

An interface for stream filters.

class

A threaded TCP server.

Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.