Java Doc for ChannelManager.java in  » Net » Ganymed-SSH-2 » ch » ethz » ssh2 » channel » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Ganymed SSH 2 » ch.ethz.ssh2.channel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   ch.ethz.ssh2.channel.ChannelManager

ChannelManager
public class ChannelManager implements MessageHandler(Code)
ChannelManager. Please read the comments in Channel.java.

Besides the crypto part, this is the core of the library.
author:
   Christian Plattner, plattner@inf.ethz.ch
version:
   $Id: ChannelManager.java,v 1.15 2006/08/11 12:24:01 cplattne Exp $




Constructor Summary
public  ChannelManager(TransportManager tm)
    

Method Summary
public  X11ServerDatacheckX11Cookie(String hexFakeCookie)
    
public  voidcloseAllChannels()
    
public  voidcloseChannel(Channel c, String reason, boolean force)
    
public  intgetAvailable(Channel c, boolean extended)
    
public  intgetChannelData(Channel c, boolean extended, byte[] target, int off, int len)
    
public  voidhandleMessage(byte[] msg, int msglen)
    
public  voidmsgChannelClose(byte[] msg, int msglen)
    
public  voidmsgChannelData(byte[] msg, int msglen)
    
public  voidmsgChannelEOF(byte[] msg, int msglen)
    
public  voidmsgChannelExtendedData(byte[] msg, int msglen)
    
public  voidmsgChannelFailure(byte[] msg, int msglen)
    
public  voidmsgChannelOpen(byte[] msg, int msglen)
    
public  voidmsgChannelOpenConfirmation(byte[] msg, int msglen)
    
public  voidmsgChannelOpenFailure(byte[] msg, int msglen)
    
public  voidmsgChannelRequest(byte[] msg, int msglen)
    
public  voidmsgChannelSuccess(byte[] msg, int msglen)
    
public  voidmsgChannelWindowAdjust(byte[] msg, int msglen)
    
public  voidmsgGlobalFailure()
    
public  voidmsgGlobalRequest(byte[] msg, int msglen)
    
public  voidmsgGlobalSuccess()
    
public  ChannelopenDirectTCPIPChannel(String host_to_connect, int port_to_connect, String originator_IP_address, int originator_port)
    
public  ChannelopenSessionChannel()
    
public  voidregisterThread(IChannelWorkerThread thr)
    
public  voidregisterX11Cookie(String hexFakeCookie, X11ServerData data)
    
public  voidrequestCancelGlobalForward(int bindPort)
    
public  voidrequestExecCommand(Channel c, String cmd)
    
public  intrequestGlobalForward(String bindAddress, int bindPort, String targetAddress, int targetPort)
    
public  voidrequestPTY(Channel c, String term, int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels, byte[] terminal_modes)
    
public  voidrequestShell(Channel c)
    
public  voidrequestSubSystem(Channel c, String subSystemName)
    
public  voidrequestX11(Channel c, boolean singleConnection, String x11AuthenticationProtocol, String x11AuthenticationCookie, int x11ScreenNumber)
    
public  voidsendData(Channel c, byte[] buffer, int pos, int len)
    
public  voidsendEOF(Channel c)
    
public  voidsendOpenConfirmation(Channel c)
    
public  voidunRegisterX11Cookie(String hexFakeCookie, boolean killChannels)
    
public  intwaitForCondition(Channel c, long timeout, int condition_mask)
     Wait until for a condition.


Constructor Detail
ChannelManager
public ChannelManager(TransportManager tm)(Code)




Method Detail
checkX11Cookie
public X11ServerData checkX11Cookie(String hexFakeCookie)(Code)



closeAllChannels
public void closeAllChannels()(Code)



closeChannel
public void closeChannel(Channel c, String reason, boolean force) throws IOException(Code)



getAvailable
public int getAvailable(Channel c, boolean extended) throws IOException(Code)



getChannelData
public int getChannelData(Channel c, boolean extended, byte[] target, int off, int len) throws IOException(Code)



handleMessage
public void handleMessage(byte[] msg, int msglen) throws IOException(Code)



msgChannelClose
public void msgChannelClose(byte[] msg, int msglen) throws IOException(Code)



msgChannelData
public void msgChannelData(byte[] msg, int msglen) throws IOException(Code)



msgChannelEOF
public void msgChannelEOF(byte[] msg, int msglen) throws IOException(Code)



msgChannelExtendedData
public void msgChannelExtendedData(byte[] msg, int msglen) throws IOException(Code)



msgChannelFailure
public void msgChannelFailure(byte[] msg, int msglen) throws IOException(Code)



msgChannelOpen
public void msgChannelOpen(byte[] msg, int msglen) throws IOException(Code)



msgChannelOpenConfirmation
public void msgChannelOpenConfirmation(byte[] msg, int msglen) throws IOException(Code)



msgChannelOpenFailure
public void msgChannelOpenFailure(byte[] msg, int msglen) throws IOException(Code)



msgChannelRequest
public void msgChannelRequest(byte[] msg, int msglen) throws IOException(Code)



msgChannelSuccess
public void msgChannelSuccess(byte[] msg, int msglen) throws IOException(Code)



msgChannelWindowAdjust
public void msgChannelWindowAdjust(byte[] msg, int msglen) throws IOException(Code)



msgGlobalFailure
public void msgGlobalFailure() throws IOException(Code)



msgGlobalRequest
public void msgGlobalRequest(byte[] msg, int msglen) throws IOException(Code)



msgGlobalSuccess
public void msgGlobalSuccess() throws IOException(Code)



openDirectTCPIPChannel
public Channel openDirectTCPIPChannel(String host_to_connect, int port_to_connect, String originator_IP_address, int originator_port) throws IOException(Code)



openSessionChannel
public Channel openSessionChannel() throws IOException(Code)



registerThread
public void registerThread(IChannelWorkerThread thr) throws IOException(Code)



registerX11Cookie
public void registerX11Cookie(String hexFakeCookie, X11ServerData data)(Code)



requestCancelGlobalForward
public void requestCancelGlobalForward(int bindPort) throws IOException(Code)



requestExecCommand
public void requestExecCommand(Channel c, String cmd) throws IOException(Code)



requestGlobalForward
public int requestGlobalForward(String bindAddress, int bindPort, String targetAddress, int targetPort) throws IOException(Code)



requestPTY
public void requestPTY(Channel c, String term, int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels, byte[] terminal_modes) throws IOException(Code)



requestShell
public void requestShell(Channel c) throws IOException(Code)



requestSubSystem
public void requestSubSystem(Channel c, String subSystemName) throws IOException(Code)



requestX11
public void requestX11(Channel c, boolean singleConnection, String x11AuthenticationProtocol, String x11AuthenticationCookie, int x11ScreenNumber) throws IOException(Code)



sendData
public void sendData(Channel c, byte[] buffer, int pos, int len) throws IOException(Code)



sendEOF
public void sendEOF(Channel c) throws IOException(Code)



sendOpenConfirmation
public void sendOpenConfirmation(Channel c) throws IOException(Code)



unRegisterX11Cookie
public void unRegisterX11Cookie(String hexFakeCookie, boolean killChannels)(Code)



waitForCondition
public int waitForCondition(Channel c, long timeout, int condition_mask)(Code)
Wait until for a condition.
Parameters:
  c - Channel
Parameters:
  timeout - in ms, 0 means no timeout.
Parameters:
  condition_mask - minimum event mask all current events



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.