Public Member Functions | |
core_syntax (const QString &="") | |
QString | returnArg (int index) |
void | setValue (const QString &) |
virtual | ~core_syntax () |
Private Attributes | |
QString | myTxt |
command client server definition - auth_rq -> Authentication request (login+password) - auth_ack <- Authentication OK - end <-> Stop connection - kill_user -> Disconnect an user - send_msg -> Send a popup windows - smb_rq -> Sambstatus request - smb_data <- smbstatus reply - end_smb_rq <- smbstatus command finish - not_imp1 Not implemented - server_info <- Server Information (right for current client : permit disconnect an user,...) - error_auth <- Authentication error (bad password,...) - error_command <- Command error (server informs client : the last command is not recognized) - error_obj <- Server wants to open a dialogbox to visualize an error - echo_request <-> Test if connection is correct (is not dead) - echo_reply <-> connection is correct
syntax:
[command]field1;field2
exemple:
[auth_rq]login;password [end] [smb_rq]
core_syntax::core_syntax | ( | const QString & | mte = "" |
) |
core_syntax::~core_syntax | ( | ) | [virtual] |
QString core_syntax::returnArg | ( | int | index | ) |
Return value of an argument
index | index of argument |
void core_syntax::setValue | ( | const QString & | mte | ) |
mte | line to be analyzed |
QString core_syntax::myTxt [private] |