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[]cookieprivate static byte[]cookie_hexprivate static java.util.Hashtablefaked_cookie_hex_poolprivate static java.util.Hashtablefaked_cookie_poolprivate static java.lang.Stringhostprivate booleaninitprivate static intLOCAL_MAXIMUM_PACKET_SIZEprivate static intLOCAL_WINDOW_SIZE_MAXprivate static intportprivate java.net.Socketsocketprivate static byte[]tableprivate static intTIMEOUT-
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 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 voidsetCookie(java.lang.String foo)(package private) static voidsetHost(java.lang.String foo)(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 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)
-
-