org.gnome.SessionManager.Client
Prev | Part II. Internal D-Bus API | Next

## Name

org.gnome.SessionManager.Client — Registered Clients

## Methods

    GetAppId            (OUT s app_id);
    GetStartupId        (OUT s startup_id);
    GetRestartStyleHint (OUT u hint);
    GetUnixProcessId    (OUT u pid);
    GetStatus           (OUT u status);
    Stop                ();

## Description

This interface exports the clients that have registered themselves with gnome-session, either via the D-Bus API or via the X11 Session Management Protocol. You can obtain a list of clients by calling the manager's GetClients() method.

## Method Details

### The GetAppId() method

    GetAppId (OUT s app_id);

Return the application ID associated with this client.

`OUT s `app_id``:

  The identifier for the associated application

### The GetStartupId() method

    GetStartupId (OUT s startup_id);

Return the startup ID associated with this client.

`OUT s `startup_id``:

  The startup identifier

### The GetRestartStyleHint() method

    GetRestartStyleHint (OUT u hint);

Return the restart style hint for this client.

`OUT u `hint``:

  The restart style hint

### The GetUnixProcessId() method

    GetUnixProcessId (OUT u pid);

Return the Unix process identifier for this client.

`OUT u `pid``:

  The Unix process identifier

### The GetStatus() method

    GetStatus (OUT u status);

Return the status of this client.

`OUT u `status``:

  The client status

### The Stop() method

    Stop ();

Initiate a request to terminate this application via XSMP.

Prev | Up | Next
org.gnome.SessionManager | Home | org.gnome.SessionManager.ClientPrivate