nxcl @VERSION@
|
Public Member Functions | |
Nxcl (int n) | |
void | setupDbus (void) |
Sets up a connection to the dbus daemon, based on the member attribute. | |
void | setupDbus (int id) |
Sets dbusNum to be. | |
int | receiveSettings (void) |
Wait for a dbus message containing session settings. | |
void | setSessionDefaults (void) |
Set default values for. | |
void | startTheNXConnection (void) |
Configure the. | |
NXClientLib * | getNXClientLib (void) |
void | haveResumableSessions (list< NXResumeData > resumable) |
void | noResumableSessions (void) |
void | requestConfirmation (string msg) |
void | serverCapacityReached (void) |
void | sendDbusInfoMsg (string &info) |
void | sendDbusInfoMsg (int num, string &info) |
void | sendDbusErrorMsg (string &errorMsg) |
Public Attributes | |
NxclCallbacks | callbacks |
void nxcl::Nxcl::haveResumableSessions | ( | list< NXResumeData > | resumable | ) | [virtual] |
void nxcl::Nxcl::noResumableSessions | ( | void | ) | [virtual] |
int nxcl::Nxcl::receiveSettings | ( | void | ) |
Wait for a dbus message containing session settings.
This waits for a dbus signal message called 'sessionConfig' to come in on the listen interface, then sets
void nxcl::Nxcl::requestConfirmation | ( | string | msg | ) |
This _should_ send a dbus message to the client of nxcl, saying "You've never connected to this (NX)SSH server before, do you wish to continue?"
For now, it just sets this->nxclientlib.getSession()->setContinue (true);
void nxcl::Nxcl::sendDbusErrorMsg | ( | string & | errorMsg | ) | [virtual] |
Send an error message via dbus.
Reimplemented from nxcl::NxclBase.
void nxcl::Nxcl::sendDbusInfoMsg | ( | string & | info | ) | [virtual] |
Send an informational status message - these are so that the frontend client can show the user some progress information in the UI.
Reimplemented from nxcl::NxclBase.
void nxcl::Nxcl::sendDbusInfoMsg | ( | int | num, |
string & | info | ||
) | [virtual] |
Send an informational status message - these are so that the frontend client can show the user some progress information in the UI. This one includes the NX message number.
Reimplemented from nxcl::NxclBase.
void nxcl::Nxcl::serverCapacityReached | ( | void | ) | [virtual] |
void nxcl::Nxcl::setSessionDefaults | ( | void | ) |
Set default values for.
void nxcl::Nxcl::setupDbus | ( | int | id | ) |
Sets dbusNum to be.
id | The number to use to set up the dbus connection (used as a suffix for interface names). |
void nxcl::Nxcl::setupDbus | ( | void | ) |
Sets up a connection to the dbus daemon, based on the member attribute.
Sets the connection up to listen for messages on the interface org.freenx.nxcl.clientX where X starts at 0 and the first available number is taken (if another nxcl is running with org.freenx.nxcl.client0, then 1 is chosen). Messages are sent out on the interface org.freenx.nxcl.nxclX
void nxcl::Nxcl::startTheNXConnection | ( | void | ) |
Configure the.
This also calls nxclientlib.setResolution to detect the size of your screen (that's why nxcl links to X libraries).