RHCIServerSession Class Reference

class RHCIServerSession : public RSessionBase

Class to be used to transfer requests from a Bluetooth client to the HCI using the client server mechanism to bypass Esock and the Bluetooth stack.

Inherits from

Public Member Functions
RHCIServerSession()
IMPORT_C voidClose()
IMPORT_C TIntOpen(TInt)
IMPORT_C voidSendAsync(TUint, TRequestStatus &)
IMPORT_C voidSendAsync(TUint, TDes8 *, TDes8 *, TUint, TRequestStatus &)
IMPORT_C TIntSendSync(TUint)
IMPORT_C TIntSendSync(TUint, TDes8 *, TDes8 *, TUint)
Private Member Functions
voidOpenL(TInt)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
RSocketServ iSocketServer
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RHCIServerSession()

IMPORT_CRHCIServerSession()

Member Functions Documentation

Close()

IMPORT_C voidClose()

Close the session.

Open(TInt)

IMPORT_C TIntOpen(TIntaInterfaceUid)

Connect the handle to the server. Must be called before all other methods (except Version and Close).

Parameters

TInt aInterfaceUid

OpenL(TInt)

voidOpenL(TIntaInterfaceUid)[private]

Parameters

TInt aInterfaceUid

SendAsync(TUint, TRequestStatus &)

IMPORT_C voidSendAsync(TUintaCommand,
TRequestStatus &aStatus
)

Asynchronous request to be sent to HCI.

Parameters

TUint aCommandThe actual request, for example SetPower
TRequestStatus & aStatusUsed to alert user of completion of request.

SendAsync(TUint, TDes8 *, TDes8 *, TUint, TRequestStatus &)

IMPORT_C voidSendAsync(TUintaCommand,
TDes8 *aDescIn,
TDes8 *aDescOut,
TUintaValue,
TRequestStatus &aStatus
)

Asynchronous request to be sent to HCI.

Parameters

TUint aCommandThe actual request, for example SetPower
TDes8 * aDescInThe descriptor carries input information
TDes8 * aDescOutThe descriptor carries output information
TUint aValueA value for use with the command.
TRequestStatus & aStatusUsed to alert user of completion of request.

SendSync(TUint)

IMPORT_C TIntSendSync(TUintaCommand)

Synchronous request to be sent to HCI.

Parameters

TUint aCommandThe actual request, for example SetPower

SendSync(TUint, TDes8 *, TDes8 *, TUint)

IMPORT_C TIntSendSync(TUintaCommand,
TDes8 *aDescIn,
TDes8 *aDescOut,
TUintaValue
)

Synchronous request to be sent to HCI.

Parameters

TUint aCommandThe actual request, for example SetPower
TDes8 * aDescInThe descriptor carries input information
TDes8 * aDescOutThe descriptor carries output information
TUint aValueA value for use with the command.

Member Data Documentation

RSocketServ iSocketServer

RSocketServ iSocketServer[private]