class THTTPSessionEvent : public THTTPEvent |
A HTTP session status message. Status messages consist of a UID and a status code within that UID. Extension dlls that needs to create new status messages should use their own UID and create status codes within that UID.
Public Member Functions | |
---|---|
THTTPSessionEvent ( TInt , TUint ) | |
THTTPSessionEvent ( TStandardEvent ) | |
THTTPSessionEvent ( TSessionEvent ) | |
TBool | operator!= ( TSessionEvent ) |
THTTPSessionEvent & | operator= ( TSessionEvent ) |
TBool | operator== ( TSessionEvent ) |
Public Member Enumerations | |
---|---|
enum |
TSessionEvent
{
EConnect = KSessionEventBaseStatus, EDisconnect = KSessionEventBaseStatus + 1, EConnectedOK = KSessionEventBaseStatus + 2, EConnectedWithReducedCapabilities = KSessionEventBaseStatus + 3, EDisconnected = KSessionEventBaseStatus + 4, EAuthenticatedOK = KSessionEventBaseStatus + 5, EAuthenticationFailure = KSessionEventBaseStatus + 6, EConnectionTimedOut = KSessionEventBaseStatus + 7 } |
enum |
TSessionWarning
{
ENotConnected = KSessionWarningBaseStatus, EExceptionInfo = KSessionWarningBaseStatus + 1, ERedirected = KSessionWarningBaseStatus + 2, EAlreadyConnecting = KSessionWarningBaseStatus + 3, EAlreadyConnected = KSessionWarningBaseStatus + 4, EAlreadyDisconnecting = KSessionWarningBaseStatus + 5, EAlreadyDisconnected = KSessionWarningBaseStatus + 6 } |
Inherited Enumerations | |
---|---|
THTTPEvent:TDirection | |
THTTPEvent:TStandardEvent | |
THTTPEvent:TTransactionEvent | |
THTTPEvent:TTransactionWarning |
Inherited Attributes | |
---|---|
THTTPEvent::iIsSessionEventFlag | |
THTTPEvent::iStatus | |
THTTPEvent::iUID |
THTTPSessionEvent | ( | TInt | aStatus, |
TUint | aUID = KHTTPUid | ||
) | [inline] |
Constructor
THTTPSessionEvent | ( | TStandardEvent | aStatus = EAnySessionEvent | ) | [inline] |
Constructor (using a standard event and the HTTP UID)
TStandardEvent aStatus = EAnySessionEvent | The standard event to use. |
THTTPSessionEvent | ( | TSessionEvent | aStatus | ) | [inline] |
Constructor (using a session event and the HTTP UID)
TSessionEvent aStatus | The session event to use. |
TBool | operator!= | ( | TSessionEvent | aStatus | ) | const [inline] |
TSessionEvent aStatus |
THTTPSessionEvent & | operator= | ( | TSessionEvent | aStatus | ) | [inline] |
Assigns a session event code to an event object
TSessionEvent aStatus | The session event. |
TBool | operator== | ( | TSessionEvent | aStatus | ) | const [inline] |
TSessionEvent aStatus |
The TSessionEvents type defines the evenst that correspond to the of a session entity. Outgoing events originate from the client or from filters. Incoming events originate from the protocol handler or from filters, and clients should handle these.
EConnect = KSessionEventBaseStatus |
A session connection should be initiated. An outgoing event. |
EDisconnect = KSessionEventBaseStatus + 1 |
The session should be disconnected. An outgoing event. |
EConnectedOK = KSessionEventBaseStatus + 2 |
The session has been successfully connected. None of the client requested capabilities were denied or reduced by the proxy. An incoming event. |
EConnectedWithReducedCapabilities = KSessionEventBaseStatus + 3 |
The session has been connected, but with one or more of the client requested capabilities denied or reduced by the proxy. An incoming event. |
EDisconnected = KSessionEventBaseStatus + 4 |
The session has been disconnected. This either confirms an earlier EDisconnect event or indicates a forced disconnection by the proxy. An incoming event. |
EAuthenticatedOK = KSessionEventBaseStatus + 5 |
The authentication handshake succeeded with the automatic validation of the (proxy) server certificate. |
EAuthenticationFailure = KSessionEventBaseStatus + 6 |
The authentication handshake failed. |
EConnectionTimedOut = KSessionEventBaseStatus + 7 |
The connection attempt to the proxy timed out. |
HTTP session warning events.
ENotConnected = KSessionWarningBaseStatus |
The client has requested a transaction event that requires a session to be connected or the connection to be initiated, but neither is currently true. The transaction event will be left pending until the session is connected. An incoming event. |
EExceptionInfo = KSessionWarningBaseStatus + 1 |
The proxy has sent some information that is not related to a transaction and has no effect on the state of the session. The information from the proxy is in the EProxyExceptionInfo property. |
ERedirected = KSessionWarningBaseStatus + 2 |
The client connection request was (permanently) redirected to a new WAP proxy address. The client should check the EWspProxyAddress property for the new address. The client's access-point database can then be updated with this address. No notification is given of a temporary redirection. |
EAlreadyConnecting = KSessionWarningBaseStatus + 3 |
The client has requested a session event that is not valid whilst the WSP session is trying to establish a connection. |
EAlreadyConnected = KSessionWarningBaseStatus + 4 |
The client has requested a session event that is not valid whilst the WSP session is in the Connected state. |
EAlreadyDisconnecting = KSessionWarningBaseStatus + 5 |
The client has requested a session event that is not valid whilst the WSP session is trying to close the connection. |
EAlreadyDisconnected = KSessionWarningBaseStatus + 6 |
The client has requested a session event that is not valid whilst the WSP session is in the Null (or disconnected) state. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.