MGenericSecureSocket Class Reference
class MGenericSecureSocket
|
Interface to provide Generic Secure Socket Functionality.
Member Functions Documentation
CancelRead()
void
|
CancelRead
|
(
|
)
|
[pure virtual]
|
Cancel the current read operation
CancelRecv()
void
|
CancelRecv
|
(
|
)
|
[pure virtual]
|
Cancel the current recv operation
CancelSend()
void
|
CancelSend
|
(
|
)
|
[pure virtual]
|
Cancel the current send operation
Close()
void
|
Close
|
(
|
)
|
[pure virtual]
|
GetOpt(TUint, TUint, TDes8 &)
Parameters
TUint
aOptionName
|
An integer constant which identifies an option.
|
TUint
aOptionLevel
|
An integer constant which identifies level of an option
|
TDes8
& aOption
|
Option value packaged in a descriptor.
|
LocalName(TSockAddr &)
void
|
LocalName
|
(
|
TSockAddr
&
|
aAddr
|
)
|
[pure virtual]
|
Gets the local address of a bound socket.
Parameters
TSockAddr
& aAddr
|
Local address which is filled in on return.
|
Read(TDes8 &, TRequestStatus &)
Read data from the generic socket for the secure socket
Parameters
TDes8
& aDataRead
|
encrypted data read for the secure socket
|
TRequestStatus
& aStatus
|
Request Status. On return KErrNone if successful, otherwise another of the system-wide error
|
Recv(TDes8 &, TUint, TRequestStatus &)
Receive data from the generic socket for the secure socket
Parameters
TDes8
& aDataReceived
|
encrypted data received for the secure socket
|
TUint
aFlags
|
Flags which are passed through to protocol
|
TRequestStatus
& aStatus
|
Request Status. On return KErrNone if successful, otherwise another of the system-wide error
|
RemoteName(TSockAddr &)
void
|
RemoteName
|
(
|
TSockAddr
&
|
aAddr
|
)
|
[pure virtual]
|
Gets the remote address of a bound socket.
Parameters
TSockAddr
& aAddr
|
Remote address which is filled in on return.
|
Send(const TDesC8 &, TUint, TRequestStatus &)
Send data over the generic socket for the secure socket
Parameters
const
TDesC8
& aDataToSend
|
encrypted data to send for secure socket
|
TUint
aFlags
|
Flags which are passed through to protocol
|
TRequestStatus
& aStatus
|
Request Status
|
SetOpt(TUint, TUint, const TDesC8 &)
Parameters
TUint
aOptionName
|
An integer constant which identifies an option.
|
TUint
aOptionLevel
|
An integer constant which identifies level of an option
|
const
TDesC8
& aOption
|
Option value packaged in a descriptor.
|
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.