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()

voidSSLCanClose()[pure virtual]

Indicates that the SAP has finished closing down.

SSLCanSend()

voidSSLCanSend()[pure virtual]

Indicates that new buffer space is available.

SSLConnectComplete()

voidSSLConnectComplete()[pure virtual]

Indicates that a connection attempt has completed successfully.

SSLDeliver(const TDesC8 &, TUint)

voidSSLDeliver(const TDesC8 &aDesc,
TUintaRestingData
)[pure virtual]

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

Parameters

const TDesC8 & aDescDescriptor holding the unencrypted data.
TUint aRestingData

SSLDisconnectIndication(void)

voidSSLDisconnectIndication(void)[pure virtual]

Called when the connection is closed due to an error.

Parameters

void

SSLDisconnectIndication(TDesC8 &)

voidSSLDisconnectIndication(TDesC8 &aDisconnectData)[pure virtual]

Called when the connection is closed due to an error.

Parameters

TDesC8 & aDisconnectDataDescriptor holding the disconnect data.

SSLDisconnectIndication(TInt)

voidSSLDisconnectIndication(TIntaError)[pure virtual]

Called when the connection is closed due to an error.

Parameters

TInt aErrorThe disconnect error.

SSLError(TInt)

voidSSLError(TIntanError)[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 anErrorError that has arisen.

SSLIoctlComplete(TDesC8 *)

voidSSLIoctlComplete(TDesC8 *aBuf)[pure virtual]

Parameters

TDesC8 * aBuf

SSLWrite(const TDesC8 &, TUint, TSockAddr *)

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

Parameters

const TDesC8 & aDesc
TUint options
TSockAddr * aAddr = NULL