CBluetoothSocket Class Reference

class CBluetoothSocket : public CBase

This allows Bluetooth ACL socket-based services to be run.

It allows all user-plane data flow to occur, plus control-plane Bluetooth baseband modification capabilities.

For a more detailed description of RBTBaseband functionality see the class and function documentation for RBTPhysicalLinkAdapter.

This class doesn't provide the functionality to directly activate Active mode (this is implementated in class RBTPhysicalLinkAdapter.) RBTPhysicalLinkAdapter::ActivateActiveRequester() Explicit Active mode requests are made automatically when using the Automatic Sniff Requester utility provided by this class.

CBluetoothSocket::SetAutomaticSniffMode

RBTPhysicalLinkAdapter

Inherits from

Public Member Functions
~CBluetoothSocket()
IMPORT_C TIntAccept(CBluetoothSocket &)
IMPORT_C TIntAccept(CBluetoothSocket &, TDes8 &)
IMPORT_C TIntActivateBasebandEventNotifier(TUint32)
IMPORT_C TIntActivateParkRequester()
IMPORT_C TIntActivateSniffRequester()
IMPORT_C TIntAllowLowPowerModes(TUint32)
IMPORT_C TIntAllowRoleSwitch()
IMPORT_C voidAsyncDelete()
IMPORT_C TBoolAutomaticSniffMode()
RBTBaseband &BTBaseband()
CBTBasebandManager &BTBasebandManager()
IMPORT_C TIntBind(TSockAddr &)
IMPORT_C voidCancelAccept()
IMPORT_C voidCancelAll()
IMPORT_C voidCancelBasebandEventNotifier()
IMPORT_C voidCancelConnect()
IMPORT_C voidCancelIoctl()
IMPORT_C TIntCancelLowPowerModeRequester()
IMPORT_C voidCancelRead()
IMPORT_C voidCancelRecv()
IMPORT_C voidCancelSend()
IMPORT_C voidCancelWrite()
IMPORT_C TIntConnect(TBTSockAddr &)
IMPORT_C TIntConnect(TBTSockAddr &, const TDesC8 &, TDes8 &)
IMPORT_C TIntConnect(TBTSockAddr &, TUint16)
IMPORT_C TIntGetDisconnectData(TDes8 &)
IMPORT_C TIntGetOpt(TUint, TUint, TDes8 &)
IMPORT_C TIntGetOpt(TUint, TUint, TInt &)
voidHandleAcceptCompleteL(TInt)
voidHandleActivateBasebandEventNotifierCompleteL(TInt, TBTBasebandEventNotification)
voidHandleConnectCompleteL(TInt)
voidHandleIoctlCompleteL(TInt)
voidHandleReceiveCompleteL(TInt)
voidHandleSendCompleteL(TInt)
voidHandleShutdownCompleteL(TInt)
IMPORT_C TIntInfo(TProtocolDesc &)
IMPORT_C TIntIoctl(TUint, TUint, TDes8 *)
IMPORT_C TIntIoctl(TUint, TDes8 *, TUint)
IMPORT_C TIntListen(TUint)
IMPORT_C TIntListen(TUint, const TDesC8 &)
IMPORT_C TIntListen(TUint, TUint16)
IMPORT_C voidLocalName(TSockAddr &)
IMPORT_C TUintLocalPort()
IMPORT_C TIntName(TName &)
IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint)
IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint, RConnection &)
IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &, RSocketServ &, const TDesC &)
IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &, RSocketServ &)
IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &, RSocketServ &, RSocket &)
IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint)
IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint, RConnection &)
IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &, RSocketServ &, const TDesC &)
IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &, RSocketServ &)
IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &, RSocketServ &, RSocket &)
MBluetoothSocketNotifier &Notifier()
IMPORT_C TIntPhysicalLinkState(TUint32 &)
IMPORT_C TIntPreventLowPowerModes(TUint32)
IMPORT_C TIntPreventRoleSwitch()
IMPORT_C TIntRead(TDes8 &)
IMPORT_C TIntRecv(TDes8 &, TUint)
IMPORT_C TIntRecv(TDes8 &, TUint, TSockXfrLength &)
IMPORT_C TIntRecvFrom(TDes8 &, TSockAddr &, TUint)
IMPORT_C TIntRecvFrom(TDes8 &, TSockAddr &, TUint, TSockXfrLength &)
IMPORT_C TIntRecvOneOrMore(TDes8 &, TUint, TSockXfrLength &)
IMPORT_C voidRemoteName(TSockAddr &)
IMPORT_C TIntRequestChangeSupportedPacketTypes(TUint16)
IMPORT_C TIntRequestMasterRole()
IMPORT_C TIntRequestSlaveRole()
IMPORT_C TIntSend(const TDesC8 &, TUint)
IMPORT_C TIntSend(const TDesC8 &, TUint, TSockXfrLength &)
IMPORT_C TIntSendTo(const TDesC8 &, TSockAddr &, TUint)
IMPORT_C TIntSendTo(const TDesC8 &, TSockAddr &, TUint, TSockXfrLength &)
IMPORT_C TIntSetAutomaticSniffMode(TBool)
IMPORT_C TIntSetAutomaticSniffMode(TBool, TInt)
IMPORT_C TIntSetLocalPort(TInt)
IMPORT_C voidSetNotifier(MBluetoothSocketNotifier &)
IMPORT_C TIntSetOpt(TUint, TUint, TInt)
IMPORT_C TIntSetOpt(TUint, TUint, const TDesC8 &)
IMPORT_C TIntSetOption(TUint, TUint, const TDesC8 &)
IMPORT_C TIntShutdown(RSocket::TShutdown)
IMPORT_C TIntShutdown(RSocket::TShutdown, const TDesC8 &, TDes8 &)
RSocket &Socket()
RSocketServ &SocketServer()
IMPORT_C TIntTransfer(RSocketServ &, const TDesC &)
IMPORT_C TIntWrite(const TDesC8 &)
Private Member Functions
CBluetoothSocket(MBluetoothSocketNotifier &, RSocketServ &)
TInt AsyncDeleteCallBack(TAny *)
voidConfigureSocket()
voidConstructL(TUint, TUint)
voidConstructL(TUint, TUint, RConnection &)
voidConstructL(const TDesC &)
voidConstructL()
voidConstructL(RSocket &)
voidInitialiseL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CAsyncCallBack *iAsyncDestroyer
CAutoSniffDelayTimer *iAutoSniffDelayTimer
CBTAccepter *iBTAccepter
RBTBaseband iBTBaseband
CBTBasebandChangeEventDelegate *iBTBasebandChangeEventDelegate
CBTBasebandChangeEventNotifier *iBTBasebandChangeEventNotifier
CBTBasebandManager *iBTBasebandManager
CBTConnecter *iBTConnecter
CBTIoctler *iBTIoctler
CBTReceiver *iBTReceiver
CBTSender *iBTSender
CBTShutdowner *iBTShutdowner
MBluetoothSocketNotifier *iNotifier
TUint32 iNotifierEventMask
TBool iReceiving
TBool iSending
TBTSockAddr iSockAddr
RSocketServ &iSockServer
RSocket iSocket

Constructor & Destructor Documentation

CBluetoothSocket(MBluetoothSocketNotifier &, RSocketServ &)

CBluetoothSocket(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer
)[private]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer

~CBluetoothSocket()

IMPORT_C~CBluetoothSocket()

Member Functions Documentation

Accept(CBluetoothSocket &)

IMPORT_C TIntAccept(CBluetoothSocket &aBlankSocket)

Parameters

CBluetoothSocket & aBlankSocket

Accept(CBluetoothSocket &, TDes8 &)

IMPORT_C TIntAccept(CBluetoothSocket &aBlankSocket,
TDes8 &aConnectData
)

Parameters

CBluetoothSocket & aBlankSocket
TDes8 & aConnectData

ActivateBasebandEventNotifier(TUint32)

IMPORT_C TIntActivateBasebandEventNotifier(TUint32aEventTypes)

Parameters

TUint32 aEventTypes

ActivateParkRequester()

IMPORT_C TIntActivateParkRequester()

ActivateSniffRequester()

IMPORT_C TIntActivateSniffRequester()

AllowLowPowerModes(TUint32)

IMPORT_C TIntAllowLowPowerModes(TUint32aLowPowerModes)

Parameters

TUint32 aLowPowerModes

AllowRoleSwitch()

IMPORT_C TIntAllowRoleSwitch()

AsyncDelete()

IMPORT_C voidAsyncDelete()

AsyncDeleteCallBack(TAny *)

TInt AsyncDeleteCallBack(TAny *aThisPtr)[private, static]

Parameters

TAny * aThisPtr

AutomaticSniffMode()

IMPORT_C TBoolAutomaticSniffMode()const

BTBaseband()

RBTBaseband &BTBaseband()

BTBasebandManager()

CBTBasebandManager &BTBasebandManager()

Bind(TSockAddr &)

IMPORT_C TIntBind(TSockAddr &aSockAddr)

Parameters

TSockAddr & aSockAddr

CancelAccept()

IMPORT_C voidCancelAccept()

CancelAll()

IMPORT_C voidCancelAll()

CancelBasebandEventNotifier()

IMPORT_C voidCancelBasebandEventNotifier()

CancelConnect()

IMPORT_C voidCancelConnect()

CancelIoctl()

IMPORT_C voidCancelIoctl()

CancelLowPowerModeRequester()

IMPORT_C TIntCancelLowPowerModeRequester()

CancelRead()

IMPORT_C voidCancelRead()

CancelRecv()

IMPORT_C voidCancelRecv()

CancelSend()

IMPORT_C voidCancelSend()

CancelWrite()

IMPORT_C voidCancelWrite()

ConfigureSocket()

voidConfigureSocket()[private]

Connect(TBTSockAddr &)

IMPORT_C TIntConnect(TBTSockAddr &aSockAddr)

Parameters

TBTSockAddr & aSockAddr

Connect(TBTSockAddr &, const TDesC8 &, TDes8 &)

IMPORT_C TIntConnect(TBTSockAddr &aSockAddr,
const TDesC8 &aConnectDataOut,
TDes8 &aConnectDataIn
)

Parameters

TBTSockAddr & aSockAddr
const TDesC8 & aConnectDataOut
TDes8 & aConnectDataIn

Connect(TBTSockAddr &, TUint16)

IMPORT_C TIntConnect(TBTSockAddr &aAddr,
TUint16aServiceBits
)

Parameters

TBTSockAddr & aAddr
TUint16 aServiceBits

ConstructL(TUint, TUint)

voidConstructL(TUintaSockType,
TUintaProtocol
)[private]

Parameters

TUint aSockType
TUint aProtocol

ConstructL(TUint, TUint, RConnection &)

voidConstructL(TUintaSockType,
TUintaProtocol,
RConnection &aConnection
)[private]

Parameters

TUint aSockType
TUint aProtocol
RConnection & aConnection

ConstructL(const TDesC &)

voidConstructL(const TDesC &aName)[private]

Parameters

const TDesC & aName

ConstructL()

voidConstructL()[private]

ConstructL(RSocket &)

voidConstructL(RSocket &aSocket)[private]

Parameters

RSocket & aSocket

GetDisconnectData(TDes8 &)

IMPORT_C TIntGetDisconnectData(TDes8 &aDesc)

Parameters

TDes8 & aDesc

GetOpt(TUint, TUint, TDes8 &)

IMPORT_C TIntGetOpt(TUintaOptionName,
TUintaOptionLevel,
TDes8 &aOption
)

Parameters

TUint aOptionName
TUint aOptionLevel
TDes8 & aOption

GetOpt(TUint, TUint, TInt &)

IMPORT_C TIntGetOpt(TUintaOptionName,
TUintaOptionLevel,
TInt &aOption
)

Parameters

TUint aOptionName
TUint aOptionLevel
TInt & aOption

HandleAcceptCompleteL(TInt)

voidHandleAcceptCompleteL(TIntaErr)

Parameters

TInt aErr

HandleActivateBasebandEventNotifierCompleteL(TInt, TBTBasebandEventNotification)

voidHandleActivateBasebandEventNotifierCompleteL(TIntaErr,
TBTBasebandEventNotificationaEventNotification
)

Parameters

TInt aErr
TBTBasebandEventNotification aEventNotification

HandleConnectCompleteL(TInt)

voidHandleConnectCompleteL(TIntaErr)

Parameters

TInt aErr

HandleIoctlCompleteL(TInt)

voidHandleIoctlCompleteL(TIntaErr)

Parameters

TInt aErr

HandleReceiveCompleteL(TInt)

voidHandleReceiveCompleteL(TIntaErr)

Parameters

TInt aErr

HandleSendCompleteL(TInt)

voidHandleSendCompleteL(TIntaErr)

Parameters

TInt aErr

HandleShutdownCompleteL(TInt)

voidHandleShutdownCompleteL(TIntaErr)

Parameters

TInt aErr

Info(TProtocolDesc &)

IMPORT_C TIntInfo(TProtocolDesc &aProtocol)

Parameters

TProtocolDesc & aProtocol

InitialiseL()

voidInitialiseL()[private]

Ioctl(TUint, TUint, TDes8 *)

IMPORT_C TIntIoctl(TUintaLevel,
TUintaCommand,
TDes8 *aDesc
)

Parameters

TUint aLevel
TUint aCommand
TDes8 * aDesc

Ioctl(TUint, TDes8 *, TUint)

IMPORT_C TIntIoctl(TUintaCommand,
TDes8 *aDesc = NULL,
TUintaLevel =  KLevelUnspecified
)

Parameters

TUint aCommand
TDes8 * aDesc = NULL
TUint aLevel =  KLevelUnspecified

Listen(TUint)

IMPORT_C TIntListen(TUintqSize)

Parameters

TUint qSize

Listen(TUint, const TDesC8 &)

IMPORT_C TIntListen(TUintqSize,
const TDesC8 &aConnectData
)

Parameters

TUint qSize
const TDesC8 & aConnectData

Listen(TUint, TUint16)

IMPORT_C TIntListen(TUintqSize,
TUint16aServiceBits
)

Parameters

TUint qSize
TUint16 aServiceBits

LocalName(TSockAddr &)

IMPORT_C voidLocalName(TSockAddr &aSockAddr)

Parameters

TSockAddr & aSockAddr

LocalPort()

IMPORT_C TUintLocalPort()

Name(TName &)

IMPORT_C TIntName(TName &aName)

Parameters

TName & aName

NewL(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint)

IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
TUintaSockType,
TUintaProtocol
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
TUint aSockType
TUint aProtocol

NewL(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint, RConnection &)

IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
TUintaSockType,
TUintaProtocol,
RConnection &aConnection
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
TUint aSockType
TUint aProtocol
RConnection & aConnection

NewL(MBluetoothSocketNotifier &, RSocketServ &, const TDesC &)

IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
const TDesC &aName
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
const TDesC & aName

NewL(MBluetoothSocketNotifier &, RSocketServ &)

IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer

NewL(MBluetoothSocketNotifier &, RSocketServ &, RSocket &)

IMPORT_C CBluetoothSocket *NewL(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
RSocket &aSocket
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
RSocket & aSocket

NewLC(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint)

IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
TUintaSockType,
TUintaProtocol
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
TUint aSockType
TUint aProtocol

NewLC(MBluetoothSocketNotifier &, RSocketServ &, TUint, TUint, RConnection &)

IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
TUintaSockType,
TUintaProtocol,
RConnection &aConnection
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
TUint aSockType
TUint aProtocol
RConnection & aConnection

NewLC(MBluetoothSocketNotifier &, RSocketServ &, const TDesC &)

IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
const TDesC &aName
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
const TDesC & aName

NewLC(MBluetoothSocketNotifier &, RSocketServ &)

IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer

NewLC(MBluetoothSocketNotifier &, RSocketServ &, RSocket &)

IMPORT_C CBluetoothSocket *NewLC(MBluetoothSocketNotifier &aNotifier,
RSocketServ &aServer,
RSocket &aSocket
)[static]

Parameters

MBluetoothSocketNotifier & aNotifier
RSocketServ & aServer
RSocket & aSocket

Notifier()

MBluetoothSocketNotifier &Notifier()

PhysicalLinkState(TUint32 &)

IMPORT_C TIntPhysicalLinkState(TUint32 &aState)

Parameters

TUint32 & aState

PreventLowPowerModes(TUint32)

IMPORT_C TIntPreventLowPowerModes(TUint32aLowPowerModes)

Parameters

TUint32 aLowPowerModes

PreventRoleSwitch()

IMPORT_C TIntPreventRoleSwitch()

Read(TDes8 &)

IMPORT_C TIntRead(TDes8 &aDesc)

Parameters

TDes8 & aDesc

Recv(TDes8 &, TUint)

IMPORT_C TIntRecv(TDes8 &aDesc,
TUintflags
)

Parameters

TDes8 & aDesc
TUint flags

Recv(TDes8 &, TUint, TSockXfrLength &)

IMPORT_C TIntRecv(TDes8 &aDesc,
TUintflags,
TSockXfrLength &aLen
)

Parameters

TDes8 & aDesc
TUint flags
TSockXfrLength & aLen

RecvFrom(TDes8 &, TSockAddr &, TUint)

IMPORT_C TIntRecvFrom(TDes8 &aDesc,
TSockAddr &aSockAddr,
TUintflags
)

Parameters

TDes8 & aDesc
TSockAddr & aSockAddr
TUint flags

RecvFrom(TDes8 &, TSockAddr &, TUint, TSockXfrLength &)

IMPORT_C TIntRecvFrom(TDes8 &aDesc,
TSockAddr &aSockAddr,
TUintflags,
TSockXfrLength &aLen
)

Parameters

TDes8 & aDesc
TSockAddr & aSockAddr
TUint flags
TSockXfrLength & aLen

RecvOneOrMore(TDes8 &, TUint, TSockXfrLength &)

IMPORT_C TIntRecvOneOrMore(TDes8 &aDesc,
TUintflags,
TSockXfrLength &aLen
)

Parameters

TDes8 & aDesc
TUint flags
TSockXfrLength & aLen

RemoteName(TSockAddr &)

IMPORT_C voidRemoteName(TSockAddr &aSockAddr)

Parameters

TSockAddr & aSockAddr

RequestChangeSupportedPacketTypes(TUint16)

IMPORT_C TIntRequestChangeSupportedPacketTypes(TUint16aPacketTypes)

Parameters

TUint16 aPacketTypes

RequestMasterRole()

IMPORT_C TIntRequestMasterRole()

RequestSlaveRole()

IMPORT_C TIntRequestSlaveRole()

Send(const TDesC8 &, TUint)

IMPORT_C TIntSend(const TDesC8 &aDesc,
TUintsomeFlags
)

Parameters

const TDesC8 & aDesc
TUint someFlags

Send(const TDesC8 &, TUint, TSockXfrLength &)

IMPORT_C TIntSend(const TDesC8 &aDesc,
TUintsomeFlags,
TSockXfrLength &aLen
)

Parameters

const TDesC8 & aDesc
TUint someFlags
TSockXfrLength & aLen

SendTo(const TDesC8 &, TSockAddr &, TUint)

IMPORT_C TIntSendTo(const TDesC8 &aDesc,
TSockAddr &aSockAddr,
TUintflags
)

Parameters

const TDesC8 & aDesc
TSockAddr & aSockAddr
TUint flags

SendTo(const TDesC8 &, TSockAddr &, TUint, TSockXfrLength &)

IMPORT_C TIntSendTo(const TDesC8 &aDesc,
TSockAddr &aSockAddr,
TUintflags,
TSockXfrLength &aLen
)

Parameters

const TDesC8 & aDesc
TSockAddr & aSockAddr
TUint flags
TSockXfrLength & aLen

SetAutomaticSniffMode(TBool)

IMPORT_C TIntSetAutomaticSniffMode(TBoolaAutoSniffMode)

Parameters

TBool aAutoSniffMode

SetAutomaticSniffMode(TBool, TInt)

IMPORT_C TIntSetAutomaticSniffMode(TBoolaAutoSniffMode,
TIntaIdleSecondsBeforeSniffRequest
)

Parameters

TBool aAutoSniffMode
TInt aIdleSecondsBeforeSniffRequest

SetLocalPort(TInt)

IMPORT_C TIntSetLocalPort(TIntaPort)

Parameters

TInt aPort

SetNotifier(MBluetoothSocketNotifier &)

IMPORT_C voidSetNotifier(MBluetoothSocketNotifier &aNewNotifier)

Parameters

MBluetoothSocketNotifier & aNewNotifier

SetOpt(TUint, TUint, TInt)

IMPORT_C TIntSetOpt(TUintaOptionName,
TUintaOptionLevel,
TIntaOption
)

Parameters

TUint aOptionName
TUint aOptionLevel
TInt aOption

SetOpt(TUint, TUint, const TDesC8 &)

IMPORT_C TIntSetOpt(TUintaOptionName,
TUintaOptionLevel,
const TDesC8 &aOption =  TPtrC8(NULL, 0)
)

Parameters

TUint aOptionName
TUint aOptionLevel
const TDesC8 & aOption =  TPtrC8(NULL, 0)

SetOption(TUint, TUint, const TDesC8 &)

IMPORT_C TIntSetOption(TUintaOptionName,
TUintaOptionLevel,
const TDesC8 &aOption
)

Parameters

TUint aOptionName
TUint aOptionLevel
const TDesC8 & aOption

Shutdown(RSocket::TShutdown)

IMPORT_C TIntShutdown(RSocket::TShutdownaHow)

Parameters

RSocket::TShutdown aHow

Shutdown(RSocket::TShutdown, const TDesC8 &, TDes8 &)

IMPORT_C TIntShutdown(RSocket::TShutdownaHow,
const TDesC8 &aDisconnectDataOut,
TDes8 &aDisconnectDataIn
)

Parameters

RSocket::TShutdown aHow
const TDesC8 & aDisconnectDataOut
TDes8 & aDisconnectDataIn

Socket()

RSocket &Socket()

SocketServer()

RSocketServ &SocketServer()

Transfer(RSocketServ &, const TDesC &)

IMPORT_C TIntTransfer(RSocketServ &aServer,
const TDesC &aName
)

Parameters

RSocketServ & aServer
const TDesC & aName

Write(const TDesC8 &)

IMPORT_C TIntWrite(const TDesC8 &aDesc)

Parameters

const TDesC8 & aDesc

Member Data Documentation

CAsyncCallBack * iAsyncDestroyer

CAsyncCallBack *iAsyncDestroyer[private]

CAutoSniffDelayTimer * iAutoSniffDelayTimer

CAutoSniffDelayTimer *iAutoSniffDelayTimer[private]

CBTAccepter * iBTAccepter

CBTAccepter *iBTAccepter[private]

RBTBaseband iBTBaseband

RBTBaseband iBTBaseband[private]

CBTBasebandChangeEventDelegate * iBTBasebandChangeEventDelegate

CBTBasebandChangeEventDelegate *iBTBasebandChangeEventDelegate[private]

CBTBasebandChangeEventNotifier * iBTBasebandChangeEventNotifier

CBTBasebandChangeEventNotifier *iBTBasebandChangeEventNotifier[private]

CBTBasebandManager * iBTBasebandManager

CBTBasebandManager *iBTBasebandManager[private]

CBTConnecter * iBTConnecter

CBTConnecter *iBTConnecter[private]

CBTIoctler * iBTIoctler

CBTIoctler *iBTIoctler[private]

CBTReceiver * iBTReceiver

CBTReceiver *iBTReceiver[private]

CBTSender * iBTSender

CBTSender *iBTSender[private]

CBTShutdowner * iBTShutdowner

CBTShutdowner *iBTShutdowner[private]

MBluetoothSocketNotifier * iNotifier

MBluetoothSocketNotifier *iNotifier[private]

TUint32 iNotifierEventMask

TUint32 iNotifierEventMask[private]

TBool iReceiving

TBool iReceiving[private]

TBool iSending

TBool iSending[private]

TBTSockAddr iSockAddr

TBTSockAddr iSockAddr[private]

RSocketServ & iSockServer

RSocketServ &iSockServer[private]

RSocket iSocket

RSocket iSocket[private]