C# Class Granados.X11.X11ChannelHandler

A channel event handler for the X11 forwarding.
Inheritance: SimpleSSHChannelEventHandler
ファイルを表示 Open project: poderosaproject/poderosa

Public Methods

Method Description
Dispose ( ) : void
OnClosed ( bool byServer ) : void
OnConnectionLost ( ) : void
OnData ( Granados.IO.DataFragment data ) : void

Implements ISSHChannelEventHandler.OnData(DataFragment).

OnEOF ( ) : void
X11ChannelHandler ( ISSHChannel channel, IX11Socket x11sock, string spoofedAuthProtocolName, byte spoofedAuthCookie, string authProtocolName, byte authCookie ) : System

Constructor

Private Methods

Method Description
CompareBytes ( ByteBuffer buff, int offset, byte data ) : bool
OnDataFromXServer ( Granados.IO.DataFragment data ) : void

Handles incoming data from the X server.

OnXSocketClosed ( ) : void

Called when the socket has been closed by peer

ProcessSetupMessage ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnClosed() public method

public OnClosed ( bool byServer ) : void
byServer bool
return void

OnConnectionLost() public method

public OnConnectionLost ( ) : void
return void

OnData() public method

Implements ISSHChannelEventHandler.OnData(DataFragment).
public OnData ( Granados.IO.DataFragment data ) : void
data Granados.IO.DataFragment
return void

OnEOF() public method

public OnEOF ( ) : void
return void

X11ChannelHandler() public method

Constructor
public X11ChannelHandler ( ISSHChannel channel, IX11Socket x11sock, string spoofedAuthProtocolName, byte spoofedAuthCookie, string authProtocolName, byte authCookie ) : System
channel ISSHChannel SSH channel
x11sock IX11Socket a socket which is already established the connection with the X11 server
spoofedAuthProtocolName string spoofed authorization protocol name
spoofedAuthCookie byte spoofed authorization cookie
authProtocolName string authorization protocol name actually used for the authorization
authCookie byte authorization cookie actually used for the authorization
return System