!QMCLIENT

Top  Previous  Next

 

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.

 

QMConnectbool = session->Connect(host, port, username, password, account)
QMCallsession->Call(subr{, args})
QMClearSelectsession->ClearSelect(listno)
QMClosesession->Close(fno)
QMConnectedbool = session->Connected
QMDeletesession->Delete(fno, id)
QMDeleteusession->Deleteu(fno, id)
QMDisconnectsession->Disconnect
QMEndCommandsession->EndCommand
QMExecutestr = session->Execute(cmd)
QMLogtobool = session->Logto(acc)
QMMarkMappingsession->MarkMapping(fno, state)
QMOpenfno = session->Open(name)
QMReadstr = session->Read(fno, id, err)
QMReadlstr = session->Readl(fnom id, wait, err)
QMReadListstr = session->ReadList(listno, err)
QMReadNextstr = session->ReadNext(listno, err)
QMReadustr = session->Readu(fno, id, wait, err)
QMRecordLocksession->RecordLock(fno, id, update, wait)
QMReleasesession->Release(fno, id)
QMRespondstr = session->Respond(response, err)
QMSelectsession->Select(fno, listno)
QMSelectIndexsession->SelectIndex(fno, indexname, indexvalue, listno)
QMSelectLeftstr = session->SelectLeft(fno, indexname, listno)
QMSelectRightstr = session->SelectRight(fno, indexname, listno)
QMSetLeftsession->Setleft(fno, indexname)
QMSetRightsession->SetRight(fno, indexname)
QMWritesession->Write(fno, id, data)
QMWriteusession->Writeu(fno, id, data)
QMStatussession->ServerStatus
QMErrorsession->Error

 

For a more detailed description, see QMClient.