Package com.jcraft.jsch
Class ChannelX11
java.lang.Object
com.jcraft.jsch.Channel
com.jcraft.jsch.ChannelX11
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jcraft.jsch.Channel
Channel.MyPipedInputStream, Channel.PassiveInputStream, Channel.PassiveOutputStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
(package private) static byte[]
private static byte[]
private static Hashtable
private static Hashtable
private static String
private boolean
private static final int
private static final int
private static int
private Socket
private static byte[]
private static final int
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 -
Method Summary
Modifier and TypeMethodDescriptionprivate 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
(package private) static void
(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 Details
-
LOCAL_WINDOW_SIZE_MAX
private static final int LOCAL_WINDOW_SIZE_MAX- See Also:
-
LOCAL_MAXIMUM_PACKET_SIZE
private static final int LOCAL_MAXIMUM_PACKET_SIZE- See Also:
-
TIMEOUT
private static final int TIMEOUT- See Also:
-
host
-
port
private static int port -
init
private boolean init -
cookie
static byte[] cookie -
cookie_hex
private static byte[] cookie_hex -
faked_cookie_pool
-
faked_cookie_hex_pool
-
table
private static byte[] table -
socket
-
cache
private byte[] cache
-
-
Constructor Details
-
ChannelX11
ChannelX11()
-
-
Method Details
-
revtable
static int revtable(byte foo) -
setCookie
-
setHost
-
setPort
static void setPort(int foo) -
getFakedCookie
-
removeFakedCookie
-
run
public void run() -
addCache
private byte[] addCache(byte[] foo, int s, int l) -
write
- Overrides:
write
in classChannel
- Throws:
IOException
-
equals
private static boolean equals(byte[] foo, byte[] bar)
-