public abstract class

AbstractForwardedChannelOpener

extends Object
implements ForwardedChannelOpener
java.lang.Object
   ↳ net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannelOpener
Known Direct Subclasses

Class Overview

Base class for ForwardedChannelOpener's.

Summary

Fields
protected final String chanType
protected final Connection conn
protected final Logger log
Protected Constructors
AbstractForwardedChannelOpener(String chanType, Connection conn)
Public Methods
String getChannelType()
Returns the name of the channel type this opener can next.
Protected Methods
void callListener(ConnectListener listener, Channel.Forwarded chan)
Calls the listener with the new channel in a separate thread.
[Expand]
Inherited Methods
From class java.lang.Object
From interface net.schmizz.sshj.connection.channel.forwarded.ForwardedChannelOpener

Fields

protected final String chanType

protected final Connection conn

protected final Logger log

Protected Constructors

protected AbstractForwardedChannelOpener (String chanType, Connection conn)

Parameters
chanType
conn

Public Methods

public String getChannelType ()

Returns the name of the channel type this opener can next.

Protected Methods

protected void callListener (ConnectListener listener, Channel.Forwarded chan)

Calls the listener with the new channel in a separate thread.

Parameters
listener
chan