Primera PTBurn 3 SDK Manual de usuario Pagina 38

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 67 68

Comentarios a estos manuales

Sin comentarios