C# Class Granados.X11.X11ConnectionManager

Connection manager
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
CreateChannelHandler ( ISSHChannel channel ) : ISSHChannelEventHandler

Gets a channel event handler for processing the X11 forwarding.

This method will be called when the new X11 forwarding channel is created.

Setup ( X11ForwardingParams param ) : void

Setup the connection manager according to the parameters.

X11ConnectionManager ( SSHProtocolEventManager protocolEventManager ) : System

Constructor

Private Methods

Méthode Description
FindXauthorityFile ( X11ForwardingParams param ) : string
GenerateCookie ( ) : byte[]
GetUntrustedAccessCookie ( Func socketFactory, int display, XauthorityEntry entry ) : byte[]>.Tuple

Obtain a new cookie from the X server for the "Untrusted" access.

This method will be called in the setup procedure of this manager.

Method Details

CreateChannelHandler() public méthode

Gets a channel event handler for processing the X11 forwarding.
This method will be called when the new X11 forwarding channel is created.
public CreateChannelHandler ( ISSHChannel channel ) : ISSHChannelEventHandler
channel ISSHChannel channel object
Résultat ISSHChannelEventHandler

Setup() public méthode

Setup the connection manager according to the parameters.
public Setup ( X11ForwardingParams param ) : void
param Granados.X11Forwarding.X11ForwardingParams parameters
Résultat void

X11ConnectionManager() public méthode

Constructor
public X11ConnectionManager ( SSHProtocolEventManager protocolEventManager ) : System
protocolEventManager SSHProtocolEventManager protocol event manager
Résultat System