Package com.jcraft.jsch
Class ChannelX11
- java.lang.Object
-
- com.jcraft.jsch.Channel
-
- com.jcraft.jsch.ChannelX11
-
- All Implemented Interfaces:
java.lang.Runnable
class ChannelX11 extends Channel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jcraft.jsch.Channel
Channel.MyPipedInputStream, Channel.PassiveInputStream, Channel.PassiveOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
cache
(package private) static byte[]
cookie
private static byte[]
cookie_hex
private static java.util.Hashtable
faked_cookie_hex_pool
private static java.util.Hashtable
faked_cookie_pool
private static java.lang.String
host
private boolean
init
private static int
LOCAL_MAXIMUM_PACKET_SIZE
private static int
LOCAL_WINDOW_SIZE_MAX
private static int
port
private java.net.Socket
socket
private static byte[]
table
private static int
TIMEOUT
-
Fields inherited from class com.jcraft.jsch.Channel
close, connected, connectTimeout, eof_local, eof_remote, exitstatus, id, index, io, lmpsize, lwsize, lwsize_max, notifyme, open_confirmation, recipient, reply, rmpsize, rwsize, SSH_MSG_CHANNEL_OPEN_CONFIRMATION, SSH_MSG_CHANNEL_OPEN_FAILURE, SSH_MSG_CHANNEL_WINDOW_ADJUST, SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, SSH_OPEN_CONNECT_FAILED, SSH_OPEN_RESOURCE_SHORTAGE, SSH_OPEN_UNKNOWN_CHANNEL_TYPE, thread, type
-
-
Constructor Summary
Constructors Constructor Description ChannelX11()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private byte[]
addCache(byte[] foo, int s, int l)
private static boolean
equals(byte[] foo, byte[] bar)
(package private) static byte[]
getFakedCookie(Session session)
(package private) static void
removeFakedCookie(Session session)
(package private) static int
revtable(byte foo)
void
run()
(package private) static void
setCookie(java.lang.String foo)
(package private) static void
setHost(java.lang.String foo)
(package private) static void
setPort(int foo)
(package private) void
write(byte[] foo, int s, int l)
-
Methods inherited from class com.jcraft.jsch.Channel
addRemoteWindowSize, close, connect, connect, del, disconnect, disconnect, eof, eof_remote, genChannelOpenPacket, getChannel, getChannel, getData, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getRecipient, getSession, init, isClosed, isConnected, isEOF, sendChannelOpen, sendOpenConfirmation, sendOpenFailure, sendSignal, setExitStatus, setExtOutputStream, setExtOutputStream, setInputStream, setInputStream, setLocalPacketSize, setLocalWindowSize, setLocalWindowSizeMax, setOutputStream, setOutputStream, setRecipient, setRemotePacketSize, setRemoteWindowSize, setSession, setXForwarding, start, write, write_ext
-
-
-
-
Field Detail
-
LOCAL_WINDOW_SIZE_MAX
private static final int LOCAL_WINDOW_SIZE_MAX
- See Also:
- Constant Field Values
-
LOCAL_MAXIMUM_PACKET_SIZE
private static final int LOCAL_MAXIMUM_PACKET_SIZE
- See Also:
- Constant Field Values
-
TIMEOUT
private static final int TIMEOUT
- See Also:
- Constant Field Values
-
host
private static java.lang.String host
-
port
private static int port
-
init
private boolean init
-
cookie
static byte[] cookie
-
cookie_hex
private static byte[] cookie_hex
-
faked_cookie_pool
private static java.util.Hashtable faked_cookie_pool
-
faked_cookie_hex_pool
private static java.util.Hashtable faked_cookie_hex_pool
-
table
private static byte[] table
-
socket
private java.net.Socket socket
-
cache
private byte[] cache
-
-
Method Detail
-
revtable
static int revtable(byte foo)
-
setCookie
static void setCookie(java.lang.String foo)
-
setHost
static void setHost(java.lang.String foo)
-
setPort
static void setPort(int foo)
-
getFakedCookie
static byte[] getFakedCookie(Session session)
-
removeFakedCookie
static void removeFakedCookie(Session session)
-
run
public void run()
-
addCache
private byte[] addCache(byte[] foo, int s, int l)
-
write
void write(byte[] foo, int s, int l) throws java.io.IOException
-
equals
private static boolean equals(byte[] foo, byte[] bar)
-
-