!QMCLIENT

!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. All names are case insensitive.

 

QMConnectbool = session->Connect(host, port, username, password, account)
QMConnectPoolbool = session->Connect(host, port, username, password, account, pool)
QMCallsession->Call(subr{, args})
QMClearFilesession->ClearFile(fno)
QMClearSelectsession->ClearSelect(listno)
QMClosesession->Close(fno)
QMConnectedbool = session->Connected
QMCreateObjectobjno = session->CreateObject(class {, args})
QMDeletesession->Delete(fno, id)
QMDeleteusession->Deleteu(fno, id)
QMDestroyObjectsession->DestroyObject(objno)
QMDisconnectsession->Disconnect
QMEndCommandsession->EndCommand
QMEnterPackagen = session->EnterPackage(name)
QMErrorsession->Error
QMEvaluatestr = session->Evaluate(dict.fno, name, data, id)
QMEvalConvstr = session->EvalConv(dict.fno, name, data, id)
QMEvaluatestr = session->Evaluate(dict.fno, name, data, id)
QMExecutestr = session->Execute(cmd, err)
QMExitPackagen = session->ExitPackage(name)
QMGetstr = session->Get(objno, name {, args})
QMGetVarstr = session->GetVar(name)
QMIConvstr = session->Iconv(data, code)
QMIConvsstr = session->IConvs(data, code)
QMIndicesstr = session->Indices(fno, name)
QMIsECSbool = session->IsECS
QMLogtobool = session->Logto(acc)
QMMarkMappingsession->MarkMapping(fno, state)
QMNextPartialstr = session->NextPartial(fno, listno)
QMOConvstr = session->Oconv(data, code)
QMOConvsstr = session->OConvs(data, code)
QMOpenfno = session->Open(name)
QMOpenSeqfno = session->OpenSeq(filename, id, modes)
QMPoolIdlesession->PoolIdle
QMReadstr = session->Read(fno, id, err)
QMReadBlkstr = session->ReadBlk(fno, bytes)
QMReadlstr = session->Readl(fno id, wait, err)
QMReadListstr = session->ReadList(listno, err)
QMReadNextstr = session->ReadNext(listno, err)
QMReadSeqstr = session->ReadSeq(fno, err)
QMReadustr = session->Readu(fno, id, wait, err)
QMRecordLocksession->RecordLock(fno, id, update, wait)
QMRecordLockedn = session->RecordLocked(fno, id)
QMReleasesession->Release(fno, id)
QMRespondstr = session->Respond(response, err)
QMRevisionstr = session->Revision
QMSeeksession->Seek(fno, offset, relto)
QMSelectsession->Select(fno, listno)
QMSelectIndexsession->SelectIndex(fno, indexname, indexvalue, listno)
QMSelectLeftstr = session->SelectLeft(fno, indexname, listno)
QMSelectPartialstr = session->SelectPartial(fno, listno)
QMSelectRightstr = session->SelectRight(fno, indexname, listno)
QMSetsession->Set(objno, name {, args})
QMSetLeftsession->SetLeft(fno, indexname)
QMSetRightsession->SetRight(fno, indexname)
QMStatussession->ServerStatus
QMTrapCallAbortsession->TrapCallAbort(mode)
QMWritesession->Write(fno, id, data)
QMWriteBlksession->WriteBlk(fno, data)
QMWriteSeqsession->WriteSeq(fno, data)
QMWriteSeqKeysession->WriteSeqKey(fno, data)
QMWriteusession->Writeu(fno, id, data)
QMWriteuSeqKeysession->WriteuSeqKey(fno, data)

 

For a more detailed description, see QMClient.