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 void Close ()
IMPORT_C TInt Open ( TInt )
IMPORT_C void SendAsync ( TUint , TRequestStatus &)
IMPORT_C void SendAsync ( TUint , TDes8 *, TDes8 *, TUint , TRequestStatus &)
IMPORT_C TInt SendSync ( TUint )
IMPORT_C TInt SendSync ( TUint , TDes8 *, TDes8 *, TUint )
Private Member Functions
void OpenL ( 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_C RHCIServerSession ( )

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Close the session.

Open(TInt)

IMPORT_C TInt Open ( TInt aInterfaceUid )

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

Parameters

TInt aInterfaceUid

OpenL(TInt)

void OpenL ( TInt aInterfaceUid ) [private]

Parameters

TInt aInterfaceUid

SendAsync(TUint, TRequestStatus &)

IMPORT_C void SendAsync ( TUint aCommand,
TRequestStatus & aStatus
)

Asynchronous request to be sent to HCI.

Parameters

TUint aCommand The actual request, for example SetPower
TRequestStatus & aStatus Used to alert user of completion of request.

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

IMPORT_C void SendAsync ( TUint aCommand,
TDes8 * aDescIn,
TDes8 * aDescOut,
TUint aValue,
TRequestStatus & aStatus
)

Asynchronous request to be sent to HCI.

Parameters

TUint aCommand The actual request, for example SetPower
TDes8 * aDescIn The descriptor carries input information
TDes8 * aDescOut The descriptor carries output information
TUint aValue A value for use with the command.
TRequestStatus & aStatus Used to alert user of completion of request.

SendSync(TUint)

IMPORT_C TInt SendSync ( TUint aCommand )

Synchronous request to be sent to HCI.

Parameters

TUint aCommand The actual request, for example SetPower

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

IMPORT_C TInt SendSync ( TUint aCommand,
TDes8 * aDescIn,
TDes8 * aDescOut,
TUint aValue
)

Synchronous request to be sent to HCI.

Parameters

TUint aCommand The actual request, for example SetPower
TDes8 * aDescIn The descriptor carries input information
TDes8 * aDescOut The descriptor carries output information
TUint aValue A value for use with the command.

Member Data Documentation

RSocketServ iSocketServer

RSocketServ iSocketServer [private]