class RInternalSocket |
A socket intended for use by components running inside the ESOCKV3 server, either within one thread or between threads. Currently, rather than interfacing with esock after the client-server interface (esock wouldn't support this without modification), we just pretend to be esock from the protocol below's point of view.
This implementation *does not* support the use of RMBufChains by clients if the protocol only provides a descriptor interface (and because of the mbuf<->des shim provided by esock, we can never tell that it won't work, but no data will be returned to the client)
Private Member Functions | |
---|---|
TInt | AdoptBlankSocketToCurrentThread ( RInternalSocket &) |
CInternalSocketImpl * | Implementation () |
void | SetImplementation (CInternalSocketImpl *) |
Private Attributes | |
---|---|
CInternalSocketImpl * | iImplementation |
IMPORT_C void | Accept | ( | RInternalSocket & | aBlankSocket, |
TRequestStatus & | aStatus | |||
) |
RSocket documentation
RInternalSocket & aBlankSocket | |
TRequestStatus & aStatus |
IMPORT_C void | Accept | ( | RInternalSocket & | aBlankSocket, |
TDes8 & | aConnectData, | |||
TRequestStatus & | aStatus | |||
) |
RInternalSocket & aBlankSocket | |
TDes8 & aConnectData | |
TRequestStatus & aStatus |
TInt | AdoptBlankSocketToCurrentThread | ( | RInternalSocket & | aBlankSocket | ) | [private] |
RInternalSocket & aBlankSocket |
IMPORT_C TInt | Bind | ( | TSockAddr & | aAddr | ) |
RSocket documentation
TSockAddr & aAddr |
IMPORT_C void | Connect | ( | TSockAddr & | aAddr, |
TRequestStatus & | aStatus | |||
) |
RSocket documentation
TSockAddr & aAddr | |
TRequestStatus & aStatus |
IMPORT_C void | Connect | ( | TSockAddr & | aAddr, |
const TDesC8 & | aConnectDataOut, | |||
TDes8 & | aConnectDataIn, | |||
TRequestStatus & | aStatus | |||
) |
RSocket documentation
TSockAddr & aAddr | |
const TDesC8 & aConnectDataOut | |
TDes8 & aConnectDataIn | |
TRequestStatus & aStatus |
IMPORT_C TInt | GetDisconnectData | ( | TDes8 & | aDesc | ) |
RSocket documentation
TDes8 & aDesc |
IMPORT_C TInt | GetOpt | ( | TUint | aOptionName, |
TUint | aOptionLevel, | |||
TDes8 & | aOption | |||
) |
RSocket documentation
IMPORT_C TInt | GetOpt | ( | TUint | aOptionName, |
TUint | aOptionLevel, | |||
TInt & | aOption | |||
) |
RSocket documentation
IMPORT_C TInt | Info | ( | TProtocolDesc & | aProtocol | ) |
RSocket documentation
TProtocolDesc & aProtocol |
IMPORT_C void | Ioctl | ( | TUint | aCommand, |
TRequestStatus & | aStatus, | |||
TDes8 * | aDesc = NULL, | |||
TUint | aLevel = KLevelUnspecified | |||
) |
RSocket documentation
TUint aCommand | |
TRequestStatus & aStatus | |
TDes8 * aDesc = NULL | |
TUint aLevel = KLevelUnspecified |
IMPORT_C TInt | Listen | ( | TUint | aQSize, |
const TDesC8 & | aConnectData | |||
) |
RSocket documentation
IMPORT_C void | LocalName | ( | TSockAddr & | aAddr | ) |
RSocket documentation
TSockAddr & aAddr |
IMPORT_C TInt | Open | ( | const TDesC & | aName | ) |
Special Open() for this class to mimic RSocket , but without the socket server session being required With the asynchronous nature of COMMS FW this API might cause deadlock scenario, hence this API is deprecated and asynchrnous version is provided.
RInternalSocket::Open(const TDesC& aName, TRequestStatus& aStatus) from 9.5 RSocket documentation
const TDesC & aName |
IMPORT_C TInt | Open | ( | TUint | aAddrFamily, |
TUint | aSockType, | |||
TUint | aProtocol | |||
) |
Special Open() for this class to mimic RSocket , but without the socket server session being required With the asynchronous nature of COMMS FW this API might cause deadlock scenario, hence this API is deprecated and asynchrnous version is provided.
RInternalSocket::Open(TUint aAddrFamily,TUint aSockType,TUint aProtocol, TRequestStatus& aStatus) RSocket documentation
IMPORT_C void | Open | ( | const TDesC & | aName, |
TRequestStatus & | aStatus | |||
) |
const TDesC & aName | |
TRequestStatus & aStatus |
IMPORT_C void | Open | ( | TUint | aAddrFamily, |
TUint | aSockType, | |||
TUint | aProtocol, | |||
TRequestStatus & | aStatus | |||
) |
TUint aAddrFamily | |
TUint aSockType | |
TUint aProtocol | |
TRequestStatus & aStatus |
IMPORT_C void | Read | ( | TDes8 & | aDesc, |
TRequestStatus & | aStatus | |||
) |
RSocket documentation
TDes8 & aDesc | |
TRequestStatus & aStatus |
IMPORT_C void | Read | ( | RMBufChain & | aData, |
TRequestStatus & | aStatus | |||
) |
RMBufChain & aData | |
TRequestStatus & aStatus |
IMPORT_C void | Recv | ( | TDes8 & | aDesc, |
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
RSocket documentation
TDes8 & aDesc | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | Recv | ( | RMBufChain & | aData, |
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
RSocket documentation
RMBufChain & aData | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | Recv | ( | TDes8 & | aDesc, |
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
TDes8 & aDesc | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | Recv | ( | RMBufChain & | aData, |
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
RMBufChain & aData | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | RecvFrom | ( | TDes8 & | aDesc, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
TDes8 & aDesc | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | RecvFrom | ( | RMBufChain & | aData, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
RMBufChain & aData | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | RecvFrom | ( | TDes8 & | aDesc, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
TDes8 & aDesc | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | RecvFrom | ( | RMBufChain & | aData, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
RMBufChain & aData | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | RecvOneOrMore | ( | TDes8 & | aDesc, |
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
RSocket documentation.Note: This API is not having a RMBufChain variant as a RIS::Recv with RMBufChain will give the exact behaviour
TDes8 & aDesc | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | RemoteName | ( | TSockAddr & | aAddr | ) |
RSocket documentation
TSockAddr & aAddr |
IMPORT_C void | Send | ( | const TDesC8 & | aDesc, |
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
RSocket documentation
const TDesC8 & aDesc | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | Send | ( | RMBufChain & | aData, |
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
RSocket documentation
RMBufChain & aData | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | Send | ( | const TDesC8 & | aDesc, |
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
RSocket documentation
const TDesC8 & aDesc | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | Send | ( | RMBufChain & | aData, |
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
RSocket documentation
RMBufChain & aData | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | SendTo | ( | const TDesC8 & | aDesc, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
const TDesC8 & aDesc | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | SendTo | ( | RMBufChain & | aData, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus | |||
) |
RMBufChain & aData | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | SendTo | ( | const TDesC8 & | aDesc, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
const TDesC8 & aDesc | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
IMPORT_C void | SendTo | ( | RMBufChain & | aData, |
TSockAddr & | aAddr, | |||
TUint | aFlags, | |||
TRequestStatus & | aStatus, | |||
TSockXfrLength & | aLen | |||
) |
RMBufChain & aData | |
TSockAddr & aAddr | |
TUint aFlags | |
TRequestStatus & aStatus | |
TSockXfrLength & aLen |
void | SetImplementation | ( | CInternalSocketImpl * | aImplementation | ) | [private, inline] |
CInternalSocketImpl * aImplementation |
IMPORT_C TInt | SetLocalPort | ( | TInt | aPort | ) |
RSocket documentation
TInt aPort |
IMPORT_C TInt | SetOpt | ( | TUint | aOptionName, |
TUint | aOptionLevel, | |||
const TDesC8 & | aOption = TPtrC8 (NULL, 0) | |||
) |
RSocket documentation
IMPORT_C TInt | SetOpt | ( | TUint | aOptionName, |
TUint | aOptionLevel, | |||
TInt | aOption | |||
) |
RSocket documentation
IMPORT_C void | Shutdown | ( | RSocket::TShutdown | aHow, |
TRequestStatus & | aStatus | |||
) |
RSocket documentation
RSocket::TShutdown aHow | |
TRequestStatus & aStatus |
IMPORT_C void | Shutdown | ( | RSocket::TShutdown | aHow, |
const TDesC8 & | aDisconnectDataOut, | |||
TDes8 & | aDisconnectDataIn, | |||
TRequestStatus & | aStatus | |||
) |
RSocket documentation
RSocket::TShutdown aHow | |
const TDesC8 & aDisconnectDataOut | |
TDes8 & aDisconnectDataIn | |
TRequestStatus & aStatus |
IMPORT_C TInt | Transfer | ( | RInternalSocket & | aSource | ) |
Rather than a two-stage Name(), Transfer(), this can be done in a single operation
RInternalSocket & aSource |
IMPORT_C void | Write | ( | const TDesC8 & | aDesc, |
TRequestStatus & | aStatus | |||
) |
RSocket documentation
const TDesC8 & aDesc | |
TRequestStatus & aStatus |
IMPORT_C void | Write | ( | RMBufChain & | aData, |
TRequestStatus & | aStatus | |||
) |
RSocket documentation
RMBufChain & aData | |
TRequestStatus & aStatus |
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.