using System;
using System.Net;
using Renci.SshNet.Common;
namespace Renci.SshNet.Channels
{
///
/// A "forwarded-tcpip" SSH channel.
///
internal interface IChannelForwardedTcpip : IDisposable
{
///
/// Occurs when an exception is thrown while processing channel messages.
///
event EventHandler Exception;
///
/// Binds the channel to the specified endpoint.
///
/// The endpoint to connect to.
/// The forwarded port for which the channel is opened.
void Bind(IPEndPoint remoteEndpoint, IForwardedPort forwardedPort);
}
}