PMS32 Online- Hilfereferenz

MY.CLIENTS.CALLBACK.INTREX

Intrex - Connector zu Intrex


Hilfe: Schnittstelle zu Interx


Code: Schnittstelle zu Interx


Memberliste von Intrex


Liste der Methoden von Intrex


DoJob() - Einen Prozess ausführen

Rückgabe:[Integer], Einen Prozess ausführen
Hilfeinformation
Führt einen Prozess auf dem Backend aus

Aufrufinformation
Integer = My.Clients.CallBack.Intrex.DoJob(tcSessionID as String,tcJob as String,tcParameter as String)
Integer = My.Clients.CallBack.Intrex.DoJob(tcSessionID,tcJob,tcParameter)
Codeinformation


DoJobT() - Einen Prozess zeitversetzt ausführen

Rückgabe:[Integer], Einen Job Zeitversetzt ausführen. Rückgabe ist die JOB-ID
Hilfeinformation
Führt einen Prozess auf dem Backend aus, jedoch zeitversetzt

Aufrufinformation
Integer = My.Clients.CallBack.Intrex.DoJobT(tcSessionID as String,tcJob as String,tcParameter as String)
Integer = My.Clients.CallBack.Intrex.DoJobT(tcSessionID,tcJob,tcParameter)
Codeinformation


DoSql() - Einen SQL ausführen

Rückgabe:[String], Führt einen SQL aus und gibt den XML oder Jason String zurück
Hilfeinformation
Führt einen SQL aus und gibt einen Ergebnisstring zurück

Aufrufinformation
String = My.Clients.CallBack.Intrex.DoSql(tcSessionID as String,tcJob as String,tcSql as String)
String = My.Clients.CallBack.Intrex.DoSql(tcSessionID,tcJob,tcSql)
Codeinformation


GetClients() - Gibt die Client-Pfade zurück

Rückgabe:[String], Gibt die Clients des Pfad-Servers zurcük
Hilfeinformation
Gibt die Bekannten Clients zurück

Aufrufinformation
String = My.Clients.CallBack.Intrex.GetClients(tiActiveClient as Integer)
String = My.Clients.CallBack.Intrex.GetClients(tiActiveClient)
Codeinformation


GetProcessInfo() - Prozessinfo zu DoJobT

Rückgabe:[String], Gibt eine Prozessinfo in Form eines Strings zurück
Hilfeinformation
Prozessinformationen als String

Aufrufinformation
String = My.Clients.CallBack.Intrex.GetProcessInfo(tcSessionID as String,tiProzessID as Integer)
String = My.Clients.CallBack.Intrex.GetProcessInfo(tcSessionID,tiProzessID)
Codeinformation


GetProcessInfoI() - Prozessinfo zu DoJobT

Rückgabe:[Integer], Gibt den Status des angegebenen Prozesses zurück. iStatus = THIS.GetProcessInfoI(iProcessID)
Hilfeinformation
Prozessstatus als Integer

Aufrufinformation
Integer = My.Clients.CallBack.Intrex.GetProcessInfoI(tcSessionID as String,tiProzessID as Integer)
Integer = My.Clients.CallBack.Intrex.GetProcessInfoI(tcSessionID,tiProzessID)
Codeinformation


GetProperty() - Abrufen einer Property in der Klasse

Rückgabe der benannten Property der Klasse. tnAsXML... kann sein: 0=Value, 1=C-Structure, 2=XML
Hilfeinformation
Ruft die Value einer Property in der Klasse ab.
Die Parameter: tcProperty as String
tcProperty: Name der Property in der Klasse

Aufrufinformation
Variant = My.Clients.CallBack.Intrex.GetProperty(tcProperty as String,tnAsXMLStructure as Variant)
Variant = My.Clients.CallBack.Intrex.GetProperty(tcProperty,tnAsXMLStructure)
Codeinformation
*/ Vorausgesetzt wird, dass My bekannt ist...
LOCAL lnError AS Number
lnError = My.Clients.CallBack.Intrex.GetProperty('nError')

GetValue() - Abrufen einer Variablen in der Klasse

Führt das genannte Script aus. Vorhandene Zeiger: poThis=oKlasse, poCom=oNameSpace
Hilfeinformation
Ruft die Value einer Variablen in der Klasse ab.
Die Parameter: tcVariable as String

Aufrufinformation
Variant = My.Clients.CallBack.Intrex.GetValue(tcScript as String)
Variant = My.Clients.CallBack.Intrex.GetValue(tcScript)
Codeinformation
*/ Vorausgesetzt wird, dass My bekannt ist...
LOCAL lcIdx02 AS String
lcIdx02 = My.Clients.CallBack.Intrex.GetValue('My.cIdx02')
IF !ISNULL(m.lcIdx02)
	WAIT WINDOW m.lcIdx02
ELSE
	*/ My in der Klasse nicht bekannt!
ENDIF

LoginError() - Abruf der Fehlermeldung

Rückgabe:[String], Abruf der Fehlermeldung vom Lizenzserver
Hilfeinformation
Abruf des letzten Fehlers

Aufrufinformation
String = My.Clients.CallBack.Intrex.LoginError()
Codeinformation


LoginOut() - Login / Logout

Rückgabe:[Integer], Führt das Login bzw. Logout aus.
Hilfeinformation
Login / Logout an PMS32

Aufrufinformation
Integer = My.Clients.CallBack.Intrex.LoginOut(tcSessionID as String,tcClient as String,tiLogin as Integer)
Integer = My.Clients.CallBack.Intrex.LoginOut(tcSessionID,tcClient,tiLogin)
Codeinformation


SetProperty() - Setzen einer Property in der Klasse

Setzt die Value an die benannte Property. tnAsObject kann sein: 0=Value, 1=C-Structure, 2=XML
Hilfeinformation
Setzt die Value an die benannte Property.
Die Parameter: tcProperty as String,tvValue as Variant,tnAsObject as Integer
tcProperty: Name der Property in der Klasse
tvValue:    Value der Property
tnAsObject: 0=Value, 1=C-Structure, 2=XML
Wird tnAsObject nicht angegeben, so wird 0=Value vorausgesetzt

Aufrufinformation
Variant = My.Clients.CallBack.Intrex.SetProperty(tcProperty as String,tvValue as Variant,tnAsObject as Integer)
Variant = My.Clients.CallBack.Intrex.SetProperty(tcProperty,tvValue,tnAsObject)
Codeinformation
*/ Als Beispielcode für eine Klasse in einem COM+ Server
*/ Vorausgesetzt wird, dass My bekannt ist...
=My.Clients.CallBack.Intrex.SetProperty('nError',0,0)
*/ oder auch...
=My.Clients.CallBack.Intrex.SetProperty('nError',0)

Terminate() -

Den COM+ Server vor dem Release im Aufrufer beenden.
Hilfeinformation

Aufrufinformation
Variant = My.Clients.CallBack.Intrex.Terminate()
Codeinformation


WriteSettings() - Schreiben div. Informationen in ein LOG-File

Mit dieser Methode kann eine Protokollierung div. Informationen in einem LOG File erfolgen.
Hilfeinformation
Mit dieser Methode kann eine Protokollierung div. Informationen in einem LOG File erfolgen.
Diese Methode ist 'nur' bei den NameSpace Servern von PMS zu finden!

Aufrufinformation
Variant = My.Clients.CallBack.Intrex.WriteSettings(tcWann as String)
Variant = My.Clients.CallBack.Intrex.WriteSettings(tcWann)
Codeinformation
*/ Als Beispielcode für eine Klasse in einem COM+ Server
*/ Vorausgesetzt wird, dass My bekannt ist...
=My.Clients.CallBack.Intrex.WriteSettings('Heute um 15:00Uhr')
*/ oder auch...
=My.Clients.CallBack.Intrex.WriteSettings(TTOC(DATETIME(),1))		&& Ausgabe: JJJJMMTThhmmss


Liste der Properties von Intrex


_Clsid - CLS-ID des COM+ Servers

CLS-ID des COM+ Servers. Wird im INIT() ermittelt.
Hilfeinformation
Diese Property gibt es nur bei NameSpace Servern, dies sind Programmteile, die in einem geschützten Speicherbereich ablaufen. Sollten Sie mal von außen auf den NameSpace von PMS32 zugreifen und es fehlt Ihnen die Aufrufinformationen, so kann obiger String aus der Registry ermittelt werden.

Aufrufinformation
String = My.Clients.CallBack.Intrex._Clsid
Codeinformation
LOCAL lcClsID AS String
lcClsID = My.Clients.CallBack.Intrex._Clsid
WAIT WINDOW m.lcClsID

_ComServer - Pfad und Name des COM+ Servers

Dateiname und Pfad des gestarteten COM+ Servers
Hilfeinformation
Diese Property gibt es nur bei NameSpace Servern, dies sind Programmteile, die in einem geschützten Speicherbereich ablaufen.

Aufrufinformation
String = My.Clients.CallBack.Intrex._ComServer
Codeinformation
LOCAL lcComServer AS String
lcComServer = My.Clients.CallBack.Intrex._ComServer
WAIT WINDOW m.lcComServer

_Isreleased_ -


Hilfeinformation

Aufrufinformation
Boolean = My.Clients.CallBack.Intrex._Isreleased_
Codeinformation


_Name - Name der COM+ Klasse


Hilfeinformation

Aufrufinformation
String = My.Clients.CallBack.Intrex._Name
Codeinformation


_Pcreleaselog_ -


Hilfeinformation

Aufrufinformation
Variant = My.Clients.CallBack.Intrex._Pcreleaselog_
Codeinformation


_ServerName - Name der COM+ Server Datei

Name des Servers, wie bei der Initialisierung
Hilfeinformation
Die Property _ServerName gibt den kompletten Klassennamen der EXE bzw. DLL zurück.
Mit diesem Namen und dem Namen der EXE/DLL kann dann die COM+ Klasse instanziiert werden.
Gleiches kann man auch aus den Eigenschaften der Programmklasse EXE/DLL herausfinden.

Aufrufinformation
String = My.Clients.CallBack.Intrex._ServerName
Codeinformation
LOCAL lcServerName AS String
lcServerName = My.Clients.CallBack.Intrex._ServerName
WAIT WINDOW m.lcServerName

_StartMode - Startmodus des aufrufenden Servers

Startmode des externen Aufrufers. Derjenige, der den COM+ Server initialisiert. _StartMode='cMode,cNumber'
Hilfeinformation
Die Property gibt den Startmodus des Aufrufers zurück. Es gibt insgesamt 6 Modi:
0 - Unter VFP Entwicklung
1 - Unter VFP-COM Steuerung
2 - Start als COM.EXE
3 - Start als COM.DLL in Singleprocess
4 - Start als EXE (Standard Programmaufruf)
5 - Start als COM.DLL in Multiprocess

Aufrufinformation
Number = My.Clients.CallBack.Intrex._StartMode
Codeinformation
*/ Abfrage des Modus
WAIT WINDOW My.Clients.CallBack.Intrex._StartMode

_Sys1016 - Verwendeter Speicher

Verwendeter Speicher in Byte
Hilfeinformation
Gibt den verwendeten Speicher des Namespace zurück.
Rückgabe ist Byte.

Aufrufinformation
Integer = My.Clients.CallBack.Intrex._Sys1016
Codeinformation
LOCAL liBytes AS Integer
*/ Abfrage des Speichers
liBytes = My.Clients.CallBack.Intrex._Sys1016
WAIT WINDOW LTRIM(STR(m.liBytes/1024))+" kB"

_Version - Version der Programmdatei

Versionsnummer des Servers im Format H.U.DD.V1V2.BBBB
Hilfeinformation
Versionsnummer nach PMS32 Konvention. H.U.DD.SSHH.bbbb
Die Property _Version gibt die Programmversion (gilt für DLL, EXE und auch für APP) zurück.
H      - Hauptversion
U      - Unterversion
DD      - Datenbankversion
SS      - Servicepack
HH      - Hotfix
bbbb- Buildnumber

Aufrufinformation
String = My.Clients.CallBack.Intrex._Version
Codeinformation
WAIT WINDOW My.Clients.CallBack.Intrex._Version

_VfpVersion - VFP Version

Version von Visual FoxPro
Hilfeinformation
VFP Version der VFP-9 dll.

Aufrufinformation
String = My.Clients.CallBack.Intrex._VfpVersion
Codeinformation
WAIT WINDOW My.Clients.CallBack.Intrex._VfpVersion

cAppNameExe - Name der Applikation

Übertragen des Application.Servername
Hilfeinformation
Mit dieser Property kann der Name der Applikation abgerufen werden.

Aufrufinformation
String = My.Clients.CallBack.Intrex.cAppNameExe
Codeinformation
*/ Als Beispielcode für eine Klasse in einem COM+ Server
*/ Vorausgesetzt wird, dass My bekannt ist...
LOCAL lcName AS String
lcName = My.Clients.CallBack.Intrex.cAppNameExe

cClass -


Hilfeinformation

Aufrufinformation
String = My.Clients.CallBack.Intrex.cClass
Codeinformation


cErrorLic - Fehlermeldung

Fehler des Lizenzservers
Hilfeinformation

Aufrufinformation
String = My.Clients.CallBack.Intrex.cErrorLic
Codeinformation


cMethod - Methode des letzten Fehlers

Methode, in der der Fehler auftrat
Hilfeinformation
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]

Aufrufinformation
String = My.Clients.CallBack.Intrex.cMethod
Codeinformation
*/ Abruf...
WAIT WINDOW My.Clients.CallBack.Intrex.cMethod

cResetInfos - Reset C-Structure

Zurücksetzen von beliebigen Informationen in einem COM+ Server!
Hilfeinformation
Reset C-Structure
Diese Property ist normalerweise WriteOnly! Sie dient zum Zurücksetzen verschiedener Informationen.
#DEFINE CRI_REMOVE_MENUES "REMOVE-MENUES"
#DEFINE CRI_REMOVE_CSFILES "REMOVE-CS-FILES"
#DEFINE CRI_REMOVE_SCRIPTS "REMOVE-CS-SCRIPTS"
#DEFINE CRI_CHANGE_IDX09 "CHANGE-IDX09"
#DEFINE CRI_LOGIN "USER_LOGIN"

Aufrufinformation
String = My.Clients.CallBack.Intrex.cResetInfos
Codeinformation
*/ Verschiedene RESET Befehle...
My.Clients.CallBack.Intrex.cResetInfos = "REMOVE-MENUES"
My.Clients.CallBack.Intrex.cResetInfos = "REMOVE-CS-FILES"
My.Clients.CallBack.Intrex.cResetInfos = "REMOVE-CS-SCRIPTS"
My.Clients.CallBack.Intrex.cResetInfos = "CHANGE-IDX09"
My.Clients.CallBack.Intrex.cResetInfos = "USER_LOGIN"
*/ Je nach Klasse wird ein entsprechender RESET ausgeführt!

nError - Fehlernummer des letzten Fehlers

Fehlernummer: VFP+, PMS-, 0 Kein Fehler!
Hilfeinformation
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.

Aufrufinformation
Number = My.Clients.CallBack.Intrex.nError
Codeinformation
WAIT WINDOW My.Clients.CallBack.Intrex.nError

nLine - Zeilennummer des letzten Fehlers

Zeilennummer des Fehlers. Kann auch 0 sein!
Hilfeinformation
Zeilennummer, in der der letzte Fehler auftrat

Aufrufinformation
Number = My.Clients.CallBack.Intrex.nLine
Codeinformation
WAIT WINDOW My.Clients.CallBack.Intrex.nLine

oClass -


Hilfeinformation

Aufrufinformation
Object = My.Clients.CallBack.Intrex.oClass
Codeinformation


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt