Fetch Document from Image Server

 

Function Name: GetPage_MT

 

Class: ISPack. CPISDocumentTxn

 

Description: This function retrieves a Page from a Document from Image Server in the Specified Buffer.

 

Input Parameters

 

Prototype:

 

public static void GetPage_MT

(

 

 

 

JtsConnection jtsCon,

 

 

String jtsAddress,

 

 

short portId,

 

 

String cabinetName,

 

 

short siteId,

 

 

short volumeId,

 

 

int docIndex,

 

 

String userIndex,

 

 

int   pageNumber,

 

 

ByteArrayOutputStream buf

 

)

 

throws JPISException

 

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

JtsCon

This Object holds a connection to the JTS. However, it can be sent as Null. If it is set to Null, then a new socket connection to JTS will be created by Image Server Client using jtsAddress and portId, passed as a parameter to the function.

 

N/A

JtsAddress

IP Address on which JTS Server is running.

 

N/A

PortId

The port on which JTS is running.

short>0

N/A

cabinetName

Image Server Cabinet Name.

 

N/A

SiteId

Index of Site where SMS is running.

 

N/A

VolumeId

ImageVolumed id at which document is added into the ImageServer.

short>0

N/A

DocIndex

Index of the document in Image Server.

short>0

N/A

UserIndex

This parameter is reserved and it can be used with the default value.

 

 

PageNumber

Page number that has to be fetched from SMS.

 

 

Buf

Output parameter buffer in which page data is returned.