public static class

RemotePortForwarder.ForwardedTCPIPChannel

extends AbstractForwardedChannel
java.lang.Object
   ↳ net.schmizz.sshj.connection.channel.AbstractChannel
     ↳ net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
       ↳ net.schmizz.sshj.connection.channel.forwarded.RemotePortForwarder.ForwardedTCPIPChannel

Class Overview

A forwarded-tcpip channel.

Summary

Constants
String TYPE
[Expand]
Inherited Constants
From class net.schmizz.sshj.connection.channel.AbstractChannel
Fields
private final RemotePortForwarder.Forward fwd
[Expand]
Inherited Fields
From class net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
From class net.schmizz.sshj.connection.channel.AbstractChannel
Public Constructors
RemotePortForwarder.ForwardedTCPIPChannel(Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, String origIP, int origPort)
Public Methods
RemotePortForwarder.Forward getParentForward()
[Expand]
Inherited Methods
From class net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
From class net.schmizz.sshj.connection.channel.AbstractChannel
From class java.lang.Object
From interface java.io.Closeable
From interface net.schmizz.sshj.common.ErrorNotifiable
From interface net.schmizz.sshj.common.SSHPacketHandler
From interface net.schmizz.sshj.connection.channel.Channel
From interface net.schmizz.sshj.connection.channel.Channel.Forwarded

Constants

public static final String TYPE

Constant Value: "forwarded-tcpip"

Fields

private final RemotePortForwarder.Forward fwd

Public Constructors

public RemotePortForwarder.ForwardedTCPIPChannel (Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, String origIP, int origPort)

Parameters
conn
recipient
remoteWinSize
remoteMaxPacketSize
fwd
origIP
origPort

Public Methods

public RemotePortForwarder.Forward getParentForward ()

Returns
  • the forwarding from which this channel originates.