public class ChannelEventAdapter<T extends Channel<?>> extends Object implements ChannelEventListener<T>
ChannelEventListener
interface.Constructor and Description |
---|
ChannelEventAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
onChannelClose(T channel)
The channel has been closed
|
void |
onChannelClosing(T channel)
The channel is closing, but has not sent its SSH_MSG_CHANNEL_CLOSE
|
void |
onChannelEOF(T channel)
The channel has received an EOF from the remote client
|
void |
onChannelOpen(T channel)
The channel has been opened.
|
void |
onWindowAdjust(T channel,
long currentWindowSpace)
When the remote side adjusts its window.
|
public void onChannelOpen(T channel)
ChannelEventListener
onChannelOpen
in interface ChannelEventListener<T extends Channel<?>>
public void onChannelClose(T channel)
ChannelEventListener
onChannelClose
in interface ChannelEventListener<T extends Channel<?>>
public void onChannelEOF(T channel)
ChannelEventListener
onChannelEOF
in interface ChannelEventListener<T extends Channel<?>>
public void onChannelClosing(T channel)
ChannelEventListener
onChannelClosing
in interface ChannelEventListener<T extends Channel<?>>
channel
- Channelpublic void onWindowAdjust(T channel, long currentWindowSpace)
ChannelEventListener
onWindowAdjust
in interface ChannelEventListener<T extends Channel<?>>
Copyright © 2016. All rights reserved.