public class XDetails
extends java.lang.Object
| Constructor and Description |
|---|
XDetails()
Constructor.
|
XDetails(java.io.File xAuthorityFile,
java.lang.String display)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SshConfiguration configuration)
Apply the discovered details to the configuration.
|
byte[] |
getX11Cookie()
Get the cookie.
|
java.lang.String |
getX11Host()
Get the host.
|
int |
getX11Port()
Get the port.
|
void |
setX11Cookie(byte[] x11Cookie)
Set the cookie.
|
public XDetails()
throws java.io.IOException
java.io.IOExceptionpublic XDetails(java.io.File xAuthorityFile,
java.lang.String display)
throws java.io.IOException
xAuthorityFile - X authority filedisplay - DISPLAY environment variable valuejava.io.IOExceptionpublic void configure(SshConfiguration configuration)
configuration - configurationpublic int getX11Port()
public java.lang.String getX11Host()
public byte[] getX11Cookie()
public void setX11Cookie(byte[] x11Cookie)
x11Cookie - cookieCopyright © 2018. All rights reserved.