Detailed Description
The Entry class represents a remote service entry to be published on QRemoteServiceRegister.
This class is created using QRemoteServiceRegister::createEntry to supply remote service details matching a valid QServiceInterfaceDescriptor.
A registration entry can then be published for discovery by remote clients.
Member Function Documentation
Entry::Entry()
Constructs a null registration entry.
Entry::Entry(const Entry & other)
Constructs the registration entry that is a copy of other.
Entry::~Entry()
Destroys the registration entry.
Returns the QRemoteServiceRegister::InstanceType of the registration entry.
See also setInstantiationType().
QString Entry::interfaceName() const
Returns the interface name of the registration entry.
This should correspond to the interface name from the service XML description.
See also serviceName() and version().
bool Entry::isValid() const
Checks if the registration entry is currently a valid remote service entry
Returns true if the serviceName(), interfaceName() and version() point to a valid QServiceInterfaceDescriptor, otherwise false.
QString Entry::serviceName() const
Returns the service name of the registration entry.
This should correspond to the service name from the service XML description.
See also interfaceName() and version().
Sets the QRemoteServiceRegister::InstanceType of the registration entry.
If this is not explicitly called, the default instance type for the registration entry is QRemoteServiceRegister::PrivateInstance.
See also instantiationType().
QString Entry::version() const
Returns the version of the registration entry in format x.y.
This should correspond to the interface version from the service XML description.
See also interfaceName() and serviceName().
bool Entry::operator!=(const Entry & other) const
Returns true if this font is different from other; otherwise false.
Entry & Entry::operator=(const Entry & other)
Assigns other to this registration entry and returns a reference to it.
bool Entry::operator==(const Entry & other) const
Returns true if this font is equal to other; otherwise false.