C# Класс Granados.X11.X11ConnectionManager

Connection manager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

CreateChannelHandler() публичный Метод

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
Результат ISSHChannelEventHandler

Setup() публичный Метод

Setup the connection manager according to the parameters.
public Setup ( X11ForwardingParams param ) : void
param Granados.X11Forwarding.X11ForwardingParams parameters
Результат void

X11ConnectionManager() публичный Метод

Constructor
public X11ConnectionManager ( SSHProtocolEventManager protocolEventManager ) : System
protocolEventManager SSHProtocolEventManager protocol event manager
Результат System