The !QMCLIENT class module provides an object oriented interface to the QMClient API for use within QMBasic programs.
An QMClient object is instantiated using a QMBasic statement of the form
session = object('!qmclient')
The table below lists the QMClient API calls and their actions available with this object.
QMConnect | bool = session->Connect(host, port, username, password, account) |
QMCall | session->Call(subr{, args}) |
QMClearSelect | session->ClearSelect(listno) |
QMClose | session->Close(fno) |
QMConnected | bool = session->Connected |
QMDelete | session->Delete(fno, id) |
QMDeleteu | session->Deleteu(fno, id) |
QMDisconnect | session->Disconnect |
QMEndCommand | session->EndCommand |
QMExecute | str = session->Execute(cmd) |
QMLogto | bool = session->Logto(acc) |
QMMarkMapping | session->MarkMapping(fno, state) |
QMOpen | fno = session->Open(name) |
QMRead | str = session->Read(fno, id, err) |
QMReadl | str = session->Readl(fnom id, wait, err) |
QMReadList | str = session->ReadList(listno, err) |
QMReadNext | str = session->ReadNext(listno, err) |
QMReadu | str = session->Readu(fno, id, wait, err) |
QMRecordLock | session->RecordLock(fno, id, update, wait) |
QMRelease | session->Release(fno, id) |
QMRespond | str = session->Respond(response, err) |
QMSelect | session->Select(fno, listno) |
QMSelectIndex | session->SelectIndex(fno, indexname, indexvalue, listno) |
QMSelectLeft | str = session->SelectLeft(fno, indexname, listno) |
QMSelectRight | str = session->SelectRight(fno, indexname, listno) |
QMSetLeft | session->Setleft(fno, indexname) |
QMSetRight | session->SetRight(fno, indexname) |
QMWrite | session->Write(fno, id, data) |
QMWriteu | session->Writeu(fno, id, data) |
QMStatus | session->ServerStatus |
For a more detailed description, see QMClient.
|