public interface

ConnectListener

net.schmizz.sshj.connection.channel.forwarded.ConnectListener
Known Indirect Subclasses

Class Overview

A connect listener is just that: it listens for new forwarded channels and can be delegated charge of them.

Summary

Public Methods
abstract void gotConnect(Channel.Forwarded chan)
Notify this listener of a new forwarded channel.

Public Methods

public abstract void gotConnect (Channel.Forwarded chan)

Notify this listener of a new forwarded channel. An implementation should firstly confirm or reject that channel.

Parameters
chan The forwarded channel
Throws
IOException if there is a problem handling the channel