class TAvdtpSockAddr : public TBTSockAddr |
An AVDTP Socket Address is composed of a Bluetooth device address, an AVDTP session type (eg Media, Reporting or Recovery), and a SEID.
Public Member Functions | |
---|---|
TAvdtpSockAddr() | |
TAvdtpSockAddr(const TSockAddr &) | |
IMPORT_C TAvdtpSockAddr & | Cast(const TSockAddr &) |
IMPORT_C TSEID | SEID() |
IMPORT_C TAvdtpTransportSessionType | Session() |
IMPORT_C void | SetSEID(TSEID) |
IMPORT_C void | SetSession(TAvdtpTransportSessionType) |
Inherited Attributes | |
---|---|
TBuf8< KMaxSockAddrSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
IMPORT_C | TAvdtpSockAddr | ( | ) |
Default constructor using 0 as the parameter for setPort()
IMPORT_C | TAvdtpSockAddr | ( | const TSockAddr & | aSockAddr | ) | [explicit] |
Copy constructor
const TSockAddr & aSockAddr | reference to the original socket address |
IMPORT_C TAvdtpSockAddr & | Cast | ( | const TSockAddr & | aSockAddr | ) | [static] |
Utility function to downcast a TSockAddr to a TAvdtpSockAddr
const TSockAddr & aSockAddr | reference to base class socket address |
IMPORT_C TSEID | SEID | ( | ) | const |
Getter for the stream endpoint identifier (SEID) from the socket address
IMPORT_C void | SetSEID | ( | TSEID | aSEID | ) |
Sets the Stream endpoint identifier (SEID) into the socket address
TSEID aSEID | the SEID to set - can be remote or local |
IMPORT_C void | SetSession | ( | TAvdtpTransportSessionType | aSession | ) |
Sets the AVDTP session type into the socket address
TAvdtpTransportSessionType aSession | the session (eg EMedia) |
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.