The QRemoteServiceControl class manages instances of remote service objects. More...
#include <QRemoteServiceControl>
QRemoteServiceControl ( QObject * parent = 0 ) | |
~QRemoteServiceControl () | |
void | publishServices ( const QString & ident ) |
bool | quitOnLastInstanceClosed () const |
void | setQuitOnLastInstanceClosed ( const bool quit ) |
void | lastInstanceClosed () |
The QRemoteServiceControl class manages instances of remote service objects.
This class instanciates IPC based service objects which have been registered via QRemoteServiceClassRegister. It owns each created service object instance and ensures that the platform specific IPC mechanism publishes the required service object to other processes in the system.
See also QRemoteServiceClassRegister.
Access functions:
bool | quitOnLastInstanceClosed () const |
void | setQuitOnLastInstanceClosed ( const bool quit ) |
Creates a service control instance with the given parent.
Destroys the service control instance
Publishes every service that has been registered using QRemoteServiceClassRegister::registerType(). ident is the service specific IPC address under which the service can be reached. This address must match the address provided in the services xml descriptor (see <filepath> tag).