Definition at line 59 of file nxcl.h.
◆ debug()
void nxcl::NxclCallbacks::debug |
( |
string |
msg | ) |
|
|
virtual |
◆ error()
void nxcl::NxclCallbacks::error |
( |
string |
msg | ) |
|
|
virtual |
◆ noSessionsSignal()
void nxcl::NxclCallbacks::noSessionsSignal |
( |
void |
| ) |
|
|
virtual |
Tells nxcl that there are no suspended sessions and that connection is proceeding with a new connection. This fact is sent to the client of nxcl as a dbus message.
Reimplemented from nxcl::NXClientLibExternalCallbacks.
◆ resumeSessionsSignal()
void nxcl::NxclCallbacks::resumeSessionsSignal |
( |
list< NXResumeData > |
resumeData | ) |
|
|
virtual |
◆ serverCapacitySignal()
void nxcl::NxclCallbacks::serverCapacitySignal |
( |
void |
| ) |
|
|
virtual |
This callback sends a message via dbus to the client of the nxcl program saying "the server has
no more capacity". This basically means that there are not enough licences to allow the connection, but it may also occur if there is any sort of RAM limit checking in nxserver (I don't know if this is true).
Reimplemented from nxcl::NXClientLibExternalCallbacks.
◆ setParent()
void nxcl::NxclCallbacks::setParent |
( |
NxclBase * |
p | ) |
|
|
inline |
Accessor function to set a pointer to the parent Nxcl object.
Definition at line 142 of file nxcl.h.
◆ stderrSignal()
void nxcl::NxclCallbacks::stderrSignal |
( |
string |
msg | ) |
|
|
virtual |
◆ stdinSignal()
void nxcl::NxclCallbacks::stdinSignal |
( |
string |
msg | ) |
|
|
virtual |
◆ stdoutSignal()
void nxcl::NxclCallbacks::stdoutSignal |
( |
string |
msg | ) |
|
|
virtual |
This is called when some data comes from the stdout of the nxssh process. This implementation sends a copy of that data to stdout of nxcl, for debugging purposes (and only when DEBUG==1, i.e. –enable-debug-output was given as an option to the configure script.
Reimplemented from nxcl::NXClientLibExternalCallbacks.
◆ write() [1/2]
void nxcl::NxclCallbacks::write |
( |
int |
num, |
|
|
string |
msg |
|
) |
| |
|
virtual |
Send a message to the user with a message number. Here, this is implemented as a message sent on the dbus interface
- Parameters
-
num | A message number.This is for transferring the NoMachine NX message number accompanying the message. This number can be used by the frontend client to determine the progress of the session connection. |
msg | The message string to be sent |
Reimplemented from nxcl::NXClientLibExternalCallbacks.
◆ write() [2/2]
void nxcl::NxclCallbacks::write |
( |
string |
msg | ) |
|
|
virtual |
Send a message to the user. Here, this is implemented as a message sent on the dbus interface
- Parameters
-
msg | The message string to be sent |
Reimplemented from nxcl::NXClientLibExternalCallbacks.
The documentation for this class was generated from the following file: