Represents a link of a CoRE link format. More...
Header: | #include <CoreLink> |
CoreLink() | |
CoapPdu::ContentType | contentType() const |
QString | interfaceDescription() const |
int | maximumSize() const |
bool | observable() const |
QString | path() const |
QString | resourceType() const |
void | setContentType(const CoapPdu::ContentType & contentType) |
void | setInterfaceDescription(const QString & interfaceDescription) |
void | setMaximumSize(const int & maximumSize) |
void | setObservable(const bool & observable) |
void | setPath(const QString & path) |
void | setResourceType(const QString & resourceType) |
void | setTitle(const QString & title) |
QString | title() const |
Represents a link of a CoRE link format.
This class represents a Constrained RESTful Environments (CoRE) Link format according to the RFC6690 specification.
Constructs a CoreLink.
Returns the l{CoapPdu::ContentType} of this CoreLink.
See also setContentType().
Returns the interface description of this CoreLink.
See also setInterfaceDescription().
Returns the maximum payload size of this CoreLink.
See also setMaximumSize().
Returns true if this CoreLink is observable.
See also setObservable().
Returns the path of this CoreLink.
See also setPath().
Returns the resource type of this CoreLink.
See also setResourceType().
Sets the l{CoapPdu::ContentType} of this CoreLink to the given contentType.
See also contentType().
Sets the interface description of this CoreLink to the given interfaceDescription.
See also interfaceDescription().
Sets the maximum payload size of this CoreLink to the given maximumSize.
See also maximumSize().
Sets this CoreLink observable.
See also observable().
Sets the path of this CoreLink.
See also path().
Sets the resource type of this CoreLink to the given resourceType.
See also resourceType().
Sets the title of this CoreLink.
See also title().
Returns the title of this CoreLink.
See also setTitle().