Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
proc::proc_t::isolated_session_t Struct Reference

One live isolated session, as the host needs to see it. More...

#include <src/process.h>

Public Attributes

uint32_t launch_session_id {}
std::string client_uuid
std::string client_name
std::string app_id
std::string app_name
std::string profile
 "desktop" or "application".
std::string compositor
std::string seat
std::string display
std::string account_user
 Empty where the session runs as the Hermes user.
uint32_t account_uid {}
std::string unit
 The systemd unit, where the session has one.
std::string audio_sink
 Empty where the session shares the host's audio.
bool running {}
 False for one whose compositor has died but was not reaped.
int64_t uptime_seconds {}

Detailed Description

One live isolated session, as the host needs to see it.

A session outlives the stream that started it - that is what lets a client reconnect to the desktop it left - so "who is streaming" is not the same question as "what is running on this machine", and the second one had no answer until now. Enough is reported here to tell one session from another and to decide which to end: whose it is, what it is running, where it is running, and whether it still is.

Definition at line 315 of file process.h.

Member Data Documentation

◆ account_uid

uint32_t proc::proc_t::isolated_session_t::account_uid {}

Definition at line 326 of file process.h.

◆ account_user

std::string proc::proc_t::isolated_session_t::account_user

Empty where the session runs as the Hermes user.

Definition at line 325 of file process.h.

◆ app_id

std::string proc::proc_t::isolated_session_t::app_id

Definition at line 319 of file process.h.

◆ app_name

std::string proc::proc_t::isolated_session_t::app_name

Definition at line 320 of file process.h.

◆ audio_sink

std::string proc::proc_t::isolated_session_t::audio_sink

Empty where the session shares the host's audio.

Definition at line 328 of file process.h.

◆ client_name

std::string proc::proc_t::isolated_session_t::client_name

Definition at line 318 of file process.h.

◆ client_uuid

std::string proc::proc_t::isolated_session_t::client_uuid

Definition at line 317 of file process.h.

◆ compositor

std::string proc::proc_t::isolated_session_t::compositor

Definition at line 322 of file process.h.

◆ display

std::string proc::proc_t::isolated_session_t::display

Definition at line 324 of file process.h.

◆ launch_session_id

uint32_t proc::proc_t::isolated_session_t::launch_session_id {}

Definition at line 316 of file process.h.

◆ profile

std::string proc::proc_t::isolated_session_t::profile

"desktop" or "application".

Definition at line 321 of file process.h.

◆ running

bool proc::proc_t::isolated_session_t::running {}

False for one whose compositor has died but was not reaped.

Definition at line 329 of file process.h.

◆ seat

std::string proc::proc_t::isolated_session_t::seat

Definition at line 323 of file process.h.

◆ unit

std::string proc::proc_t::isolated_session_t::unit

The systemd unit, where the session has one.

Definition at line 327 of file process.h.

◆ uptime_seconds

int64_t proc::proc_t::isolated_session_t::uptime_seconds {}

Definition at line 330 of file process.h.


The documentation for this struct was generated from the following file: