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
|
Method Summary |
void |
close()
|
java.lang.String |
createDisplay(boolean singleConnection,
java.lang.String authenticationProtocol,
java.lang.String authenticationCookie,
int screen)
|
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
java.lang.Throwable cause)
|
void |
initialize()
|
void |
messageReceived(org.apache.mina.core.session.IoSession session,
java.lang.Object message)
|
void |
sessionClosed(org.apache.mina.core.session.IoSession session)
|
void |
sessionCreated(org.apache.mina.core.session.IoSession session)
|
| 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 java.lang.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 java.lang.String createDisplay(boolean singleConnection,
java.lang.String authenticationProtocol,
java.lang.String authenticationCookie,
int screen)
throws java.io.IOException
- Throws:
java.io.IOException
sessionCreated
public void sessionCreated(org.apache.mina.core.session.IoSession session)
throws java.lang.Exception
- Specified by:
sessionCreated in interface org.apache.mina.core.service.IoHandler- Overrides:
sessionCreated in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
java.lang.Exception
sessionClosed
public void sessionClosed(org.apache.mina.core.session.IoSession session)
throws java.lang.Exception
- Specified by:
sessionClosed in interface org.apache.mina.core.service.IoHandler- Overrides:
sessionClosed in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
java.lang.Exception
messageReceived
public void messageReceived(org.apache.mina.core.session.IoSession session,
java.lang.Object message)
throws java.lang.Exception
- Specified by:
messageReceived in interface org.apache.mina.core.service.IoHandler- Overrides:
messageReceived in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
java.lang.Exception
exceptionCaught
public void exceptionCaught(org.apache.mina.core.session.IoSession session,
java.lang.Throwable cause)
throws java.lang.Exception
- Specified by:
exceptionCaught in interface org.apache.mina.core.service.IoHandler- Overrides:
exceptionCaught in class org.apache.mina.core.service.IoHandlerAdapter
- Throws:
java.lang.Exception
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.