←Select platform

ChannelFields Constructor

Summary

Initializes a new instance of the ChannelFields class.

Syntax

C#
VB
C++
public ChannelFields( 
   string channelId, 
   string[] newChannels, 
   string closeChannel, 
   Nullable<int> requestId 
) 
  
Public Function New( _ 
   ByVal channelId As String, _ 
   ByVal newChannels() As String, _ 
   ByVal closeChannel As String, _ 
   ByVal requestId As Nullable(Of Integer) _ 
) 
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip Assembly