Primera PTBurn 3 SDK Bedienungsanleitung Seite 38

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 68
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 37
PTBurnSDK Page38of68
©2011PrimeraTechnology,Inc.PrimeraisaregisteredtrademarkandBravoisatrademarkofPrimeraTechnology,Inc.Allothertrademarks
arethepropertyoftheirrespectivecompanies.
4 ClientCommands
PTBurnclientscansendcommandstothePTBurnserver.
Todothis,theclientshouldcreateanewfileintheJobRequestSharedFolderwiththe
filenameextensionof.PTMwiththesamefilenameastheJRQfileyouarereferencing.
4.1 AbortCommand
Theabortcommandwillabortaparticularjob.The.ptmfilemusthavethesamefilenameas
anexistingJobRequestFileandthevalidcontentsareshownbelow(notethefilenamesmust
matchexceptforthefilenameextensions).
Message=ABORT
ClientID=XXX
WhereXXXisthe
sameClientIDthatisspecifiedinthecorrespondingJobRequestFile.Youcan
abortanyjobbyspecifying“Administrator”fortheClientID.
Forexample,iftheclientsubmitsajobwiththeJobRequestFilenameof:
MyJob1.JRQ
andthentheclientdecidesthatthisjobshouldbeaborted,theclientmustcreateanewfile
called:
MyJob1.PTM
NotethattheClientIDmustbespecifiedanditMUSTmatchtheClientIDinthecorresponding
JobRequestFiletheabortrequestwillberejectediftheClientIDdoesnotmatch.
FortheMyJob1example(seeabove)thecontentsofMyJob1.PTMwouldbe:
Message=ABORT
ClientID=Kevin
4.2 ShutdownAfterJobCommand
The“ShutdownAfterJob”commandwillshutdowntheServersoftwareafteranyinprocess
jobsarecompleted(havea.inpextension).Thiscommandwillpreventanynewjobsfrom
beingputintoan“inprocess”state.Theunitwillfinishallactionsonthe“inprocess”jobsand
thenshutdown.The
.ptmfilecanhaveanynameandshouldbeformattedasfollows:
Message=SHUTDOWN_AFTERJOB
ClientID=Administrator
TheClientIDshouldALWAYSbefixedto“Administrator”.
4.3 ShutdownImmediateCommand
The“ShutdownImmediate”commandwillshutdowntheServersoftwareimmediatelyafterthe
messageisprocessed.Messagesareprocessedapproximatelyevery10seconds.Itisonly
advisedtousethismessageinanemergency.Uponusingthiscommandthesystemwillbeleft
Seitenansicht 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 67 68

Kommentare zu diesen Handbüchern

Keine Kommentare