C# Class NRepeat.TcpVNCRepeater

Inheritance: IProxy
ファイルを表示 Open project: jeremychild/NRepeat

Public Methods

Method Description
Start ( ) : void

Start the VNC Repeater

Stop ( ) : void

Stop the VNC Repeater

TcpVNCRepeater ( short port ) : System
TcpVNCRepeater ( short port, IPAddress ipAddress ) : System
TcpVNCRepeater ( short port, IPAddress ipAddress, int buffer ) : System

Private Methods

Method Description
AcceptConnections ( ) : Task

Accept connections

ProxyClientConnection ( TcpClient client, VNCRepeaterDefinition definition, int bufferSize ) : Task

Process the client with a predetermined buffer size

ProxyClientDataToServer ( TcpClient client, VNCRepeaterDefinition definition, NetworkStream serverStream, NetworkStream clientStream, int bufferSize, CancellationToken cancellationToken ) : void

Send and receive data between the Client and Server

ProxyServerDataToClient ( NetworkStream serverStream, VNCRepeaterDefinition definition, NetworkStream clientStream, int bufferSize, CancellationToken cancellationToken ) : void

Send and receive data between the Server and Client

Method Details

Start() public method

Start the VNC Repeater
public Start ( ) : void
return void

Stop() public method

Stop the VNC Repeater
public Stop ( ) : void
return void

TcpVNCRepeater() public method

public TcpVNCRepeater ( short port ) : System
port short
return System

TcpVNCRepeater() public method

public TcpVNCRepeater ( short port, IPAddress ipAddress ) : System
port short
ipAddress IPAddress
return System

TcpVNCRepeater() public method

public TcpVNCRepeater ( short port, IPAddress ipAddress, int buffer ) : System
port short
ipAddress IPAddress
buffer int
return System