#include <ClientHttpSessionFactory.h> [code]
Inherits Protocols::Generics::TransportFactoryStatus.
Inheritance diagram for Protocols::Http::ClientHttpSessionFactory:


Definition at line 55 of file ClientHttpSessionFactory.h.
Public Member Functions | |
| ClientHttpSessionFactory (TransportFactory *) | |
| Creates a ClientHttpSessionFactory object. | |
| ~ClientHttpSessionFactory () | |
| Destructor. | |
| ClientHttpSession * | createSession (Transport *, ClientHttpSessionStatus *) |
| Creates a new ClientHttpSession object for an existing Transport object. | |
| void | createSession (const Uri &, ClientHttpSessionStatus *, ClientHttpSessionFactoryStatus *) |
| Create a new ClientHttpSession object for a given Uri. | |
| void | destroySession (ClientHttpSession *) |
| Destroys a ClientHttpSession object created by this factory object. | |
| void | transportFactorySucceeded (const Uri &, Transport *) |
| Handler for a successfully created Transport object notification. | |
| void | transportFactoryFailed (const Uri &) |
| Handler for the failed Transport object creation notification. | |
Static Public Member Functions | |
| static Uri | makeTransportUri (const Uri &httpUri) |
| Helper that converts uri to a transport URI. | |
Private Types | |
| typedef QHash< Uri, EstablishingSession * > | EstablishingSessions |
| typedef QHash< ClientHttpSession *, Transport * > | Sessions |
Static Private Member Functions | |
| static Uri | makeTcpUriFromHttpUri (const Uri &uri) |
| Helper that converts uri to a tcp: URI. | |
Private Attributes | |
| TransportFactory * | transportFactory_ |
| EstablishingSessions | establishingSessions_ |
| Sessions | sessions_ |
Classes | |
| struct | EstablishingSession |
|
|
Definition at line 89 of file ClientHttpSessionFactory.h. |
|
|
Definition at line 90 of file ClientHttpSessionFactory.h. |
|
|
Creates a ClientHttpSessionFactory object.
Definition at line 35 of file ClientHttpSessionFactory.cpp. |
|
|
Destructor. Destroys all open ClientHttpSession objects as well as their associated Transport objects.
Definition at line 51 of file ClientHttpSessionFactory.cpp. |
|
||||||||||||||||
|
Create a new ClientHttpSession object for a given Uri.
Definition at line 109 of file ClientHttpSessionFactory.cpp. |
|
||||||||||||
|
Creates a new ClientHttpSession object for an existing Transport object.
Definition at line 88 of file ClientHttpSessionFactory.cpp. |
|
|
Destroys a ClientHttpSession object created by this factory object.
Definition at line 135 of file ClientHttpSessionFactory.cpp. |
|
|
Helper that converts uri to a tcp: URI. The tcp: URI returned has the read and write buffer sizes set to 8192 bytes. Definition at line 206 of file ClientHttpSessionFactory.cpp. |
|
|
Helper that converts uri to a transport URI.
Definition at line 191 of file ClientHttpSessionFactory.cpp. |
|
|
Handler for the failed Transport object creation notification.
Implements Protocols::Generics::TransportFactoryStatus. Definition at line 174 of file ClientHttpSessionFactory.cpp. |
|
||||||||||||
|
Handler for a successfully created Transport object notification.
Implements Protocols::Generics::TransportFactoryStatus. Definition at line 154 of file ClientHttpSessionFactory.cpp. |
|
|
Definition at line 93 of file ClientHttpSessionFactory.h. |
|
|
Definition at line 94 of file ClientHttpSessionFactory.h. |
|
|
Definition at line 92 of file ClientHttpSessionFactory.h. |