CWapFullySpecCLWSPService Class Reference
class CWapFullySpecCLWSPService : public CBase |
Fully-Specified Connectionless WSP since v8.0
Inherits from
- CWapFullySpecCLWSPService
Public Member Functions |
---|
| ~CWapFullySpecCLWSPService() |
void | CancelReq() |
TInt
| Connect(const TDesC8 &, Wap::TPort, Wap::TBearer, TBool) |
TInt
| GetLocalAddress(HBufC8 *&) |
TInt
| GetLocalPort(Wap::TPort &) |
TInt
| MethodInvoke(TUint, const TDesC &, const TDesC8 &, const TDesC8 &, TUint8) |
TInt
| MethodResult(TDes8 &, TDes8 &, TPckgBuf< TUint8 > &, TWSPStatus &, TRequestStatus &, TUint32) |
IMPORT_C CWapFullySpecCLWSPService * | NewL() |
IMPORT_C CWapFullySpecCLWSPService * | NewL(const TUid &) |
Constructor & Destructor Documentation
CWapFullySpecCLWSPService()
IMPORT_C | CWapFullySpecCLWSPService | ( | ) | [protected] |
~CWapFullySpecCLWSPService()
IMPORT_C | ~CWapFullySpecCLWSPService | ( | ) | [virtual] |
Member Functions Documentation
CancelReq()
void | CancelReq | ( | ) | [pure virtual] |
Cancels a previously-requested MethodResult() notification.
If a message arrives the client will not be notified.
Connect(const TDesC8 &, Wap::TPort, Wap::TBearer, TBool)
Connects to the WAP stack, opening an endpoint that can be used to listen for Push messages from a specified remote host.
All CWapFullySpecCLWSPService implementations must automatically close this endpoint upon destruction.
Parameters
const TDesC8 & aRemoteHost | The bearer-dependent address of the remote host with which the data will be exchanged |
Wap::TPort aRemotePort | The port on the remote host to which data will be sent |
Wap::TBearer aBearer | The bearer to listen on. You cannot use EAll. |
TBool aSecure | Security flag to indicate whether WTLS should be used or not |
ConstructL()
IMPORT_C void | ConstructL | ( | ) | [protected] |
GetLocalAddress(HBufC8 *&)
TInt
| GetLocalAddress | ( | HBufC8 *& | aLocalHost | ) | [pure virtual] |
Gets the local address of this endpoint.
Parameters
HBufC8 *& aLocalHost | On return, the address of the local host. Clients must pass in a reference to a NULL HBufC8 pointer. The function allocates a new HBufC8 buffer to hold the address, and passes ownership of the buffer to the client. |
GetLocalPort(Wap::TPort &)
Gets the local port of this endpoint.
This is useful if the port was chosen automatically.
MethodInvoke(TUint, const TDesC &, const TDesC8 &, const TDesC8 &, TUint8)
Sends a request to a remote endpoint.
MethodResult(TDes8 &, TDes8 &, TPckgBuf< TUint8 > &, TWSPStatus &, TRequestStatus &, TUint32)
Waits for a datagram to be received
NewL()
Fully-specified Connection-less WSP New interface and implementation Allocates and creates a new CWapFullySpecCLWSPService object.
-
leave
- System wide error codes.
NewL(const TUid &)
Parameters
const TUid & aImplementation | |
Member Data Documentation
TUid
iDtor_ID_Key
TUid
| iDtor_ID_Key | [private] |
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.