C# Class Granados.X11.X11ConnectionManager

Connection manager
ファイルを表示 Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return ISSHChannelEventHandler

Setup() public method

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

X11ConnectionManager() public method

Constructor
public X11ConnectionManager ( SSHProtocolEventManager protocolEventManager ) : System
protocolEventManager SSHProtocolEventManager protocol event manager
return System