LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client assembly)
LEAD Technologies, Inc

AddDatabinCallback Delegate






A Leadtools.Jpip.ResponseFields object containing the JPIP fields received from the server.
The DataBinInfo object representing the data-bin received from the server.
An Leadtools.Jpip.EOR value representing the reason for the end of this server response.
User custom state object.
Represents the method that will handle the receiving of new data-bins.
Syntax
public delegate void AddDatabinCallback( 
   ResponseFields fields,
   DataBinInfo dataBin,
   EOR endOfResponseReason,
   object state
)
'Declaration
 
Public Delegate Sub AddDatabinCallback( _
   ByVal fields As ResponseFields, _
   ByVal dataBin As DataBinInfo, _
   ByVal endOfResponseReason As EOR, _
   ByVal state As Object _
) 
'Usage
 
Dim instance As New AddDatabinCallback(AddressOf HandlerMethod)
public delegate void AddDatabinCallback( 
   ResponseFields fields,
   DataBinInfo dataBin,
   EOR endOfResponseReason,
   object state
)
AddDatabinCallback( 
   fields ,
   dataBin ,
   endOfResponseReason ,
   state 
)
public delegate void AddDatabinCallback( 
   ResponseFields^ fields,
   DataBinInfo^ dataBin,
   EOR endOfResponseReason,
   Object^ state
)

Parameters

fields
A Leadtools.Jpip.ResponseFields object containing the JPIP fields received from the server.
dataBin
The DataBinInfo object representing the data-bin received from the server.
endOfResponseReason
An Leadtools.Jpip.EOR value representing the reason for the end of this server response.
state
User custom state object.
Remarks

The first time this delegate is called, the dataBin object will be null, the endOfResponseReason assigned to .None, and the fields object will contain the JPIP fields returned from the server.

In subsequent calls to this delegate, the fields object will be null and the dataBin will contain the data-bin received from the server.

In the last call to this delegate, a Leadtools.Jpip.EOR value will be assigned to the endOfResponseReason parameter as read by the server response, and the dataBin and fields parameters will be null.

Example
For an example, refer to JpipClient.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AddDatabinCallback Members
Leadtools.Jpip.Client Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpip.Client requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features