}
public Channel createChannel(MultiplexedConnection connection, String type) {
if(type.equals(RemoteTunnelChannel.CHANNEL_TYPE)) {
RemoteTunnelChannel channel = new RemoteTunnelChannel(agent);
channel.addListener(new RemoteTunnelChannelListener(agent));
return channel;
}
return null;
}