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