org.apache.sshd.server.x11
Class X11ForwardSupport
java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.apache.sshd.server.x11.X11ForwardSupport
- All Implemented Interfaces:
- org.apache.mina.core.service.IoHandler
public class X11ForwardSupport
- extends org.apache.mina.core.service.IoHandlerAdapter
- Author:
- Apache MINA SSHD Project
Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
messageSent, sessionIdle, sessionOpened |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X11_DISPLAY_OFFSET
public static final int X11_DISPLAY_OFFSET
- See Also:
- Constant Field Values
MAX_DISPLAYS
public static final int MAX_DISPLAYS
- See Also:
- Constant Field Values
ENV_DISPLAY
public static final String ENV_DISPLAY
- Key for the user DISPLAY variable
- See Also:
- Constant Field Values
log
protected final org.slf4j.Logger log
X11ForwardSupport
public X11ForwardSupport(ServerSession session)
initialize
public void initialize()
close
public void close()
createDisplay
public String createDisplay(boolean singleConnection,
String authenticationProtocol,
String authenticationCookie,
int screen)
throws IOException
- Throws:
IOException
sessionCreated
public void sessionCreated(org.apache.mina.core.session.IoSession session)
throws Exception
- Specified by:
sessionCreated
in interface org.apache.mina.core.service.IoHandler
- Overrides:
sessionCreated
in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
Exception
sessionClosed
public void sessionClosed(org.apache.mina.core.session.IoSession session)
throws Exception
- Specified by:
sessionClosed
in interface org.apache.mina.core.service.IoHandler
- Overrides:
sessionClosed
in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
Exception
messageReceived
public void messageReceived(org.apache.mina.core.session.IoSession session,
Object message)
throws Exception
- Specified by:
messageReceived
in interface org.apache.mina.core.service.IoHandler
- Overrides:
messageReceived
in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
Exception
exceptionCaught
public void exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable cause)
throws Exception
- Specified by:
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
- Overrides:
exceptionCaught
in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
Exception
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.