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 Hashtableprivate static Hashtableprivate static Stringprivate booleanprivate static final intprivate static final intprivate static intprivate Socketprivate static byte[]private static final intFields 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 booleanequals(byte[] foo, byte[] bar) (package private) static byte[]getFakedCookie(Session session) (package private) static voidremoveFakedCookie(Session session) (package private) static intrevtable(byte foo) voidrun()(package private) static void(package private) static void(package private) static voidsetPort(int foo) (package private) voidwrite(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:
writein classChannel- Throws:
IOException
-
equals
private static boolean equals(byte[] foo, byte[] bar)
-