Definition at line 148 of file nxcl.h.
◆ getNXClientLib()
◆ haveResumableSessions()
void nxcl::Nxcl::haveResumableSessions |
( |
list< NXResumeData > |
resumable | ) |
|
|
virtual |
◆ noResumableSessions()
void nxcl::Nxcl::noResumableSessions |
( |
void |
| ) |
|
|
virtual |
◆ receiveSettings()
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
- See also
- sessionData based on its contents.
- Returns
- 0 if settings received ok, -1 if we didn't receive at least the nxserver host and the nxuser name.
◆ requestConfirmation()
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);
◆ sendDbusErrorMsg()
void nxcl::Nxcl::sendDbusErrorMsg |
( |
string & |
errorMsg | ) |
|
|
virtual |
◆ sendDbusInfoMsg() [1/2]
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.
◆ sendDbusInfoMsg() [2/2]
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.
◆ serverCapacityReached()
void nxcl::Nxcl::serverCapacityReached |
( |
void |
| ) |
|
|
virtual |
◆ setSessionDefaults()
void nxcl::Nxcl::setSessionDefaults |
( |
void |
| ) |
|
Set default values for.
- See also
- sessionData
◆ setupDbus() [1/2]
void nxcl::Nxcl::setupDbus |
( |
int |
id | ) |
|
Sets dbusNum to be.
- id, then calls
- See also
- setupDbus().
- Parameters
-
id | The number to use to set up the dbus connection (used as a suffix for interface names). |
◆ setupDbus() [2/2]
void nxcl::Nxcl::setupDbus |
( |
void |
| ) |
|
Sets up a connection to the dbus daemon, based on the member attribute.
- See also
- dbusNum.
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
◆ startTheNXConnection()
void nxcl::Nxcl::startTheNXConnection |
( |
void |
| ) |
|
Configure the.
- See also
- nxclientlib object and then call its
-
invokeSSH method.
This also calls nxclientlib.setResolution to detect the size of your screen (that's why nxcl links to X libraries).
◆ callbacks
Public pointer to the callback functions
Definition at line 254 of file nxcl.h.
The documentation for this class was generated from the following file: