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

ChannelFields Constructor (ChannelFields)






The value for the JPIP server assigned channel ID.
The value which names one or more transport protocols that the client is willing to accept.
Closes one or more open channels in a session.
Specifies a Request ID value.
Initializes a new instance of the ChannelFields class.
Syntax
public ChannelFields( 
   string channelId,
   string[] newChannels,
   string closeChannel,
   Nullable<int> requestId
)
'Declaration
 
Public Function New( _
   ByVal channelId As String, _
   ByVal newChannels() As String, _
   ByVal closeChannel As String, _
   ByVal requestId As Nullable(Of Integer) _
)
'Usage
 
Dim channelId As String
Dim newChannels() As String
Dim closeChannel As String
Dim requestId As Nullable(Of Integer)
 
Dim instance As New ChannelFields(channelId, newChannels, closeChannel, requestId)
public ChannelFields( 
   string channelId,
   string[] newChannels,
   string closeChannel,
   IReference<int> requestId
)
function ChannelFields( 
   channelId ,
   newChannels ,
   closeChannel ,
   requestId 
)
public:
ChannelFields( 
   String^ channelId,
   array<String^>^ newChannels,
   String^ closeChannel,
   Nullable<int> requestId
)

Parameters

channelId
The value for the JPIP server assigned channel ID.
newChannels
The value which names one or more transport protocols that the client is willing to accept.
closeChannel
Closes one or more open channels in a session.
requestId
Specifies a Request ID value.
Remarks

The newChannels is used to request a new JPIP channel. If no Channel ID request field is present, the request is for a new session. Otherwise, the request is for a new channel in the same session as the channel identified by the Channel ID request field.

Refer to JpipChannelTypes for valid values for the newChannels parameter.

To close all channels associated with a session, specify the value "*" in the closeChannel.

Example
For an example, refer to Leadtools.Jpip.RequestEncoder.HttpRequestEncoder.
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

ChannelFields Class
ChannelFields Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.Jpip requires a JPIP Module and a server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features