| class TL2CAPSockAddr : public TBTSockAddr |
L2CAP Socket Address.
Use this class to specify a local or remote L2CAP connection end-point, that is Device Address and PSM/CID. When unconnected, the Port() specifies the PSM, once connected it refers to the CID. TBTSockAddr
| Public Member Functions | |
|---|---|
| TL2CAPSockAddr () | |
| TL2CAPSockAddr (const TSockAddr &) | |
| IMPORT_C TL2CAPSockAddr & | Cast (const TSockAddr &) |
| IMPORT_C TL2CAPPort | Port () |
| IMPORT_C void | SetPort (const TL2CAPPort ) |
| Inherited Attributes | |
|---|---|
| TBuf8< KMaxSockAddrSize >::iBuf | |
| TDes8::__DECLARE_TEST | |
| TDes8::iMaxLength | |
| IMPORT_C | TL2CAPSockAddr | ( | const TSockAddr & | aSockAddr | ) |
Construct from a BT address.
| const TSockAddr & aSockAddr | BT address used to populate the object. |
| IMPORT_C TL2CAPSockAddr & | Cast | ( | const TSockAddr & | aAddr | ) | [static] |
Utility function to downcast a TSockAddr to a TBTSockAddr
| const TSockAddr & aAddr |
| IMPORT_C void | SetPort | ( | const TL2CAPPort | aHomePort | ) |
| const TL2CAPPort aHomePort |
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.