C# Class Granados.X11.X11ChannelHandler

A channel event handler for the X11 forwarding.
Inheritance: SimpleSSHChannelEventHandler
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

OnClosed() public méthode

public OnClosed ( bool byServer ) : void
byServer bool
Résultat void

OnConnectionLost() public méthode

public OnConnectionLost ( ) : void
Résultat void

OnData() public méthode

Implements ISSHChannelEventHandler.OnData(DataFragment).
public OnData ( Granados.IO.DataFragment data ) : void
data Granados.IO.DataFragment
Résultat void

OnEOF() public méthode

public OnEOF ( ) : void
Résultat void

X11ChannelHandler() public méthode

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
Résultat System