Zeroconf::CServiceParam Class Reference
A parameter advertised with a service. More...
#include <zeroconfserviceparam.h>
Public Member Functions | |
| const TDesC & | Name () |
| Returns the name of this service parameter. | |
| const TDesC & | Value () |
| Returns the value of this service parameter. | |
| ~CServiceParam () | |
| Frees any memory associated with the service parameter. | |
Static Public Member Functions | |
| static CServiceParam * | NewLC (RReadStream &aStream) |
| Constructs a new service parameter from the given read stream. | |
Protected Member Functions | |
| CServiceParam () | |
| Constructs a new, empty service parameter. | |
Protected Attributes | |
| HBufC * | iName |
| HBufC * | iValue |
Detailed Description
A parameter advertised with a service.A key-value parameter advertised with a service to impart extra configuration data needed to correctly connect to and use the service running on a remote host.
Constructor & Destructor Documentation
| Zeroconf::CServiceParam::~CServiceParam | ( | ) |
Frees any memory associated with the service parameter.
Frees any memory associated with the service parameter.
| Zeroconf::CServiceParam::CServiceParam | ( | ) | [protected] |
Constructs a new, empty service parameter.
Constructs a new, empty service parameter.
Member Function Documentation
| static CServiceParam* Zeroconf::CServiceParam::NewLC | ( | RReadStream & | aStream | ) | [static] |
Constructs a new service parameter from the given read stream.
Constructs a new service parameter from the given read stream.
- Returns:
- A fully constructed service parameter object.
| const TDesC& Zeroconf::CServiceParam::Name | ( | ) |
Returns the name of this service parameter.
Returns the name of this service parameter as a unicode descriptor.
- Returns:
- The key name fofthis parameter.
| const TDesC& Zeroconf::CServiceParam::Value | ( | ) |
Returns the value of this service parameter.
Returns the name of this service parameter as a unicode descriptor.
- Returns:
- The value of this service parameter.
