Public Member Enumerations | |
---|---|
enum | TWspBearer { EAny, EIP, ESMS7, ESMS, ..., EWAPSMS } |
enum | TWspCapability { EAliasAddresses, EExtendedMethods, EHeaderCodePages, EMethodMOR, ..., EAllCapabilities } |
enum | TWspMethodState { ENullMethod, ERequesting, EWaiting, EWaiting2, ..., EAborting } |
enum | TWspPrimitive { ESConnect, ESDisconnect, ESSuspend, ESResume, ..., ESPushAbort } |
enum | TWspProtocolOptions { ELargeDataTransfer, EAcknowledgementHeaders, ESessionResumeFacility, EPushFacility, EConfirmedPushFacility } |
enum | TWspReason { EProtoErr, EDisconnect, ESuspend, EResume, ..., ESessionStateFailure } |
enum | TWspSession { EWspConnectionOriented, EWspConnectionLess } |
enum | TWspSessionState { ENull, EConnecting, EConnected, ESuspending, ..., EResuming } |
All type definitions and enumerations used in WSP are in placed in a wider WAP namespace, to avoid name conflicts with other components.
The enum TWspCapabilty is used to select a capability to reset (if required) before setting the value of the capability.
The TWspProtocolOptions type represents the optional protocol functions defined in the WSP Specification, July 2001. When the client sends the Protocol Capability to the server, it indicates which functions it will accept from the server. The server returns from the set of functions sent by the client those that it will perform.
The TWspReason type is used by to report the cause of a particular indication primitive. The WSP Specification, July 2001, specifies a given set that MUST be recognised (6.2.5). Further values may be added.
Enumerator | Value | Description |
---|---|---|
EProtoErr | 0xE0 |
The rules of the protocol were broken and in its current state, the peer could not perform the specified operation. E.g. the PDU was not allowed. |
EDisconnect | 0xE1 |
The session was disconnected while the operation was still in progress. |
ESuspend | 0xE2 |
The session was suspended while the operation was still in progress. |
EResume | 0xE3 |
The session was resumed while the operation was still in progress. |
ECongestion | 0xE4 |
The request could not be processed due to a lack of resources. |
EConnectErr | 0xE5 |
The connection was prevented due to an error. |
EMRUExceeded | 0xE6 |
The SDU size in a request exceeded the maximum negotiated SDU size. |
EMORExceeded | 0xE7 |
The negotiated value of the maximum outstanding transactions (either for push or method transactions) has been exceeded. |
EPeerReq | 0xE8 |
The operation was aborted by the Provider. |
ENetErr | 0xE9 |
An underlying network error prevented the completion of a request. |
EUserReq | 0xEA |
The cause of the indication was an action by the Client. |
EUserRfs | 0xEB |
The client has refesed the Push message, no specific reason, no retries. |
EUserPnd | 0xEC |
The Push message cannot be delivered to the intended destination. |
EUserDcr | 0xED |
The Push message was discarded due to resource shortage. |
EUserDcu | 0xEE |
The content-type of the Push message cannot be processed. |
ETemporaryRedirectedProxy | 0 |
The session connect request has been redirected to a new proxy. This is a temporary redirection and the original proxy should be used in the future when trying to access this service. This is not defined by the WSP Specification. |
EPermanentRedirectedProxy |
The session connect request has been redirected to a new proxy. This is a permanent redirection and the new proxy should be used in the future when trying to access this service. The client will be notified of this event and the HTTP session property EWspProxyAddressnew will contain the new proxy's address. The client should update its access point database. This is not defined by the WSP Specification. | |
EChangedProxyInSuspendedSession |
The client had disconnected the session, but as Suspend Resume facility was being used, the session was suspended. The client then changed the proxy and did a connect. The suspended session cannot be resumed, so the the current session must be disconnected (with this reason) and a session connect initiated with the new proxy. This is not defined by the WSP Specification. | |
EWtlsConfigurationFailed |
The client's WSP session was disconnected in the Connecting state because configuration of the underlying WTLS layer failed prior to the phase 1 WTLS handshake. | |
EWtlsPhase1HandshakeFailed |
The client's WSP session was disconnected in the Connecting state because phase 1 of the WTLS handshake failed. | |
EWtlsPhase2HandshakeFailed |
The client's WSP session was disconnected in the Connecting state because phase 2 of the WTLS handshake failed. | |
EWtlsInvalidServerCert |
The client's WSP session was disconnected in the Connecting state because the proxy's WTLS certificate was invalid - e.g. badly formed, or out of date. | |
EWtlsUntrustedServerCert |
The client's WSP session was disconnected in the Connecting state because the proxy's WTLS certificate could not be trusted. This means it was not signed by any root certificate on the device, and the security policy criteria could not determine further whether it could be trusted or not. | |
EWtlsNegotiatedConfigRejected |
The client's WSP session was disconnected in the Connecting state because the negotiated WTLS configuration at completion of the secure handshake was rejected by criteria in the security policy. | |
EOutOfMemory |
The client's transaction or session has failed due to an out-of-memory situation. | |
ESessionStateFailure |
The client's session has entered an inconsistent state, probably due to a failure caused by an out-of-memory situation. |