home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
dos
/
netz
/
netware
/
nwqueue.doc
< prev
next >
Wrap
Text File
|
1992-01-28
|
6KB
|
119 lines
QUEUE SERVICES
==============
AboutServicingQueueJobAndFile (QueueID : OT_BinderyID; JobNumber : WORD;
VAR FileName : FileOfByte) : WORD;
Used to abort the servicing of a job, closes the asscoiated file, and removes
the job entry from the queue.
-------------------------------------------------------------------------------
AttachQueueServerToQueue (QueueID : OT_BinderyID) : WORD;
Attaches a station to a queue as a queue (job) server.
-------------------------------------------------------------------------------
ChangeQueueJobEntry (QueueID : OT_BinderyID; Job : JobStruct) : WORD;
Changes information in a job's entry.
-------------------------------------------------------------------------------
ChangeQueueJobPosition (QueueID : OT_BinderyID; JobNumber : WORD;
NewPosition : BYTE) : WORD;
Changes a job's position in a queue.
-------------------------------------------------------------------------------
ChangeToClientRights (QueueID : OT_BinderyID; JobNumber : WORD) : WORD;
Allows a queue (job) server to assume the login identity of the client that
placed the job in the queue.
-------------------------------------------------------------------------------
CloseFileAndAbortQueueJob (QueueID : OT_BinderyID; JobNumber : WORD;
VAR FileName : FileOfByte) : WORD;
Removes a job from a queue and closes the associated file.
-------------------------------------------------------------------------------
CloseFileAndStartQueueJob (QueueID : OT_BinderyID; JobNumber : WORD;
VAR FileName : FileOfByte) : WORD;
Closes an associated file and releases the job for servicing.
-------------------------------------------------------------------------------
CreateQueue (QueueName : ObjectNameType; QueueType : OT_BinderyType;
DirectoryHandle : BYTE; PathName : QueuePathNameType;
VAR QueueID : OT_BinderyID) : WORD;
Creates a new queue on a file server.
-------------------------------------------------------------------------------
CreateQueueJobAndFile (QueueID : OT_BinderyID; VAR Job : JobStruct;
VAR FileName : FileOfByte) : WORD;
Places a new job in a queue.
-------------------------------------------------------------------------------
DestroyQueue (QueueID : OT_BinderyID) : WORD;
Removes a queue from the bindery and file system of a file server.
-------------------------------------------------------------------------------
DetachQueueServerFromQueue (QueueID : OT_BinderyID) : WORD;
Removes the requesting station from the queue's list of active queue (job)
servers.
-------------------------------------------------------------------------------
FinishServicingQueueJobAndFile (QueueID : OT_BinderyID; JobNumber : WORD;
Charge : LONGINT;
VAR FileName : FileOfByte) : WORD;
Allows a queue (job) server to signal QMS when it has completed a job.
-------------------------------------------------------------------------------
GetQueueJobList (QueueID : OT_BinderyID; VAR JobCount : WORD;
VAR JobNumberList : Word250ArrayType;
MaxJobNumbers : WORD) : WORD;
Provides a list of all jobs contained in a queue.
-------------------------------------------------------------------------------
GetQueueJobFileSize (QueueID : OT_BinderyID; JobNumber : WORD;
VAR SizeOfFile : LONGINT) : WORD;
Finds the size of the associated file for a job queue.
-------------------------------------------------------------------------------
ReadQueueCurrentStatus (QueueID : OT_BinderyID; VAR QueueStatus : WORD;
VAR NumberOfJobs, NumberOfServers : WORD;
VAR ServerIDList : Longint25ArrayType;
VAR ServerStationList : Word25ArrayType;
MaxNumberOfServers : WORD) : WORD;
Reads the current status of a queue.
-------------------------------------------------------------------------------
ReadQueueJobEntry (QueueID : OT_BinderyID; JobNumber : WORD;
VAR Job : JobStruct) : WORD;
Retrieves information about a job in a queue.
-------------------------------------------------------------------------------
ReadQueueServerCurrentStatus (QueueID : OT_BinderyID; ServerID : OT_BinderyID;
ServerStation : WORD;
VAR ServerStatusRecord : Byte64ArrayType) : WORD;
Reads the current status record of an attached queue (job) server.
-------------------------------------------------------------------------------
RemoveJobFromQueue (QueueID : OT_BinderyID; JobNumber : WORD) : WORD;
Removes a job from a queue.
-------------------------------------------------------------------------------
RestoreQueueServerRights : WORD;
Restores a server's own login identity after it has assumed the client's
rights.
-------------------------------------------------------------------------------
ServiceQueueJobAndOpenFile (QueueID : OT_BinderyID; TargetJobType : WORD;
VAR Job : JobStruct;
VAR FileName : FileOfByte) : WORD;
Allows a queue server to request a new job for servicing.
-------------------------------------------------------------------------------
SetQueueCurrentStatus (QueueID : OT_BinderyID; QueueStatus : WORD) : WORD;
Controls the addition of jobs and job servers toa queue by setting or
clearing bits int the queueStatus byte.
-------------------------------------------------------------------------------
SetQueueServerCurrentStatus (QueueID : OT_BinderyID;
ServerStatusRecord : Byte64ArrayType) : WORD;
Updates QMS's copy of a queue (job) server's status record.
------------------------------------------------------------------------------