Leadtools.Jpip Requires JPIP module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ChannelFields Constructor
See Also 
Leadtools.Jpip Namespace > ChannelFields Class : ChannelFields Constructor



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.
Initializes a new instance of the ChannelFields class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal channelId As String, _
   ByVal newChannels() As String, _
   ByVal closeChannel As String, _
   ByVal requestId As Nullable(Of Integer) _
)
Visual Basic (Usage)Copy Code
Dim channelId As String
Dim newChannels() As String
Dim closeChannel As String
Dim requestId As Nullable(Of Integer)
 
Dim instance As ChannelFields(channelId, newChannels, closeChannel, requestId)
C# 
public ChannelFields( 
   string channelId,
   string[] newChannels,
   string closeChannel,
   Nullable<int> requestId
)
C++/CLI 
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.

Example

For an example, refer to HttpRequestEncoder.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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