MSSLSocketNotify Class Reference

class MSSLSocketNotify

Abstract base class used to notify the SSL socket server that various events have occurred. The class provides several up-call member functions.

Since
v5.0
No longer used by networking

Member Functions Documentation

SSLCanClose()

void SSLCanClose ( ) [pure virtual]

Indicates that the SAP has finished closing down.

SSLCanSend()

void SSLCanSend ( ) [pure virtual]

Indicates that new buffer space is available.

SSLConnectComplete()

void SSLConnectComplete ( ) [pure virtual]

Indicates that a connection attempt has completed successfully.

SSLDeliver(const TDesC8 &, TUint)

void SSLDeliver ( const TDesC8 & aDesc,
TUint aRestingData
) [pure virtual]

Called with unencrypted data to be given to the client application.

Parameters

const TDesC8 & aDesc Descriptor holding the unencrypted data.
TUint aRestingData

SSLDisconnectIndication(void)

void SSLDisconnectIndication ( void ) [pure virtual]

Called when the connection is closed due to an error.

Parameters

void

SSLDisconnectIndication(TDesC8 &)

void SSLDisconnectIndication ( TDesC8 & aDisconnectData ) [pure virtual]

Called when the connection is closed due to an error.

Parameters

TDesC8 & aDisconnectData Descriptor holding the disconnect data.

SSLDisconnectIndication(TInt)

void SSLDisconnectIndication ( TInt aError ) [pure virtual]

Called when the connection is closed due to an error.

Parameters

TInt aError The disconnect error.

SSLError(TInt)

void SSLError ( TInt anError ) [pure virtual]

Tells the socket server that an error state has arisen within the protocol.

It should not be used to report programmatic errors, either in the protocol itself or the socket server (a panic should be used in these cases).

Parameters

TInt anError Error that has arisen.

SSLIoctlComplete(TDesC8 *)

void SSLIoctlComplete ( TDesC8 * aBuf ) [pure virtual]

Parameters

TDesC8 * aBuf

SSLWrite(const TDesC8 &, TUint, TSockAddr *)

TUint SSLWrite ( const TDesC8 & aDesc,
TUint options,
TSockAddr * aAddr = NULL
) [pure virtual]

Parameters

const TDesC8 & aDesc
TUint options
TSockAddr * aAddr = NULL