Java Doc for TransportProtocolServer.java in  » Net » j2ssh » com » sshtools » daemon » transport » 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 » j2ssh » com.sshtools.daemon.transport 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sshtools.j2ssh.transport.TransportProtocolCommon
      com.sshtools.daemon.transport.TransportProtocolServer

TransportProtocolServer
public class TransportProtocolServer extends TransportProtocolCommon (Code)

author:
   $author$
version:
   $Revision: 1.12 $



Constructor Summary
public  TransportProtocolServer()
     Creates a new TransportProtocolServer object.
public  TransportProtocolServer(boolean refuse)
     Creates a new TransportProtocolServer object.

Method Summary
public  voidacceptService(Service service)
    
protected  SshMsgKexInitcreateLocalKexInit()
    
protected  StringgetDecryptionAlgorithm()
    
protected  StringgetEncryptionAlgorithm()
    
protected  StringgetInputStreamCompAlgortihm()
    
protected  StringgetInputStreamMacAlgorithm()
    
public  StringgetLocalId()
    
protected  SshMsgKexInitgetLocalKexInit()
    
protected  StringgetOutputStreamCompAlgorithm()
    
protected  StringgetOutputStreamMacAlgorithm()
    
public  StringgetRemoteId()
    
protected  SshMsgKexInitgetRemoteKexInit()
    
protected  voidonDisconnect()
    
protected  voidonMessageReceived(SshMessage msg)
    
protected  voidonStartTransportProtocol()
    
protected  voidperformKeyExchange(SshKeyExchange kex)
    
public  voidrefuseConnection()
    
public  voidregisterTransportMessages()
    
protected  voidsetLocalIdent()
    
protected  voidsetLocalKexInit(SshMsgKexInit msg)
    
protected  voidsetRemoteIdent(String ident)
    
protected  voidsetRemoteKexInit(SshMsgKexInit msg)
    
protected  voidsetupNewKeys(byte[] encryptCSKey, byte[] encryptCSIV, byte[] encryptSCKey, byte[] encryptSCIV, byte[] macCSKey, byte[] macSCKey)
    
protected  voidstartBinaryPacketProtocol()
    


Constructor Detail
TransportProtocolServer
public TransportProtocolServer() throws IOException(Code)
Creates a new TransportProtocolServer object.
throws:
  IOException -



TransportProtocolServer
public TransportProtocolServer(boolean refuse) throws IOException(Code)
Creates a new TransportProtocolServer object.
Parameters:
  refuse -
throws:
  IOException -




Method Detail
acceptService
public void acceptService(Service service) throws IOException(Code)

Parameters:
  service -
throws:
  IOException -



createLocalKexInit
protected SshMsgKexInit createLocalKexInit() throws IOException(Code)

throws:
  IOException -
throws:
  TransportProtocolException -



getDecryptionAlgorithm
protected String getDecryptionAlgorithm() throws AlgorithmNotAgreedException(Code)

throws:
  AlgorithmNotAgreedException -



getEncryptionAlgorithm
protected String getEncryptionAlgorithm() throws AlgorithmNotAgreedException(Code)

throws:
  AlgorithmNotAgreedException -



getInputStreamCompAlgortihm
protected String getInputStreamCompAlgortihm() throws AlgorithmNotAgreedException(Code)

throws:
  AlgorithmNotAgreedException -



getInputStreamMacAlgorithm
protected String getInputStreamMacAlgorithm() throws AlgorithmNotAgreedException(Code)

throws:
  AlgorithmNotAgreedException -



getLocalId
public String getLocalId()(Code)



getLocalKexInit
protected SshMsgKexInit getLocalKexInit()(Code)



getOutputStreamCompAlgorithm
protected String getOutputStreamCompAlgorithm() throws AlgorithmNotAgreedException(Code)

throws:
  AlgorithmNotAgreedException -



getOutputStreamMacAlgorithm
protected String getOutputStreamMacAlgorithm() throws AlgorithmNotAgreedException(Code)

throws:
  AlgorithmNotAgreedException -



getRemoteId
public String getRemoteId()(Code)



getRemoteKexInit
protected SshMsgKexInit getRemoteKexInit()(Code)



onDisconnect
protected void onDisconnect()(Code)



onMessageReceived
protected void onMessageReceived(SshMessage msg) throws IOException(Code)

Parameters:
  msg -
throws:
  IOException -



onStartTransportProtocol
protected void onStartTransportProtocol() throws IOException(Code)

throws:
  IOException -



performKeyExchange
protected void performKeyExchange(SshKeyExchange kex) throws IOException(Code)

Parameters:
  kex -
throws:
  IOException -
throws:
  KeyExchangeException -



refuseConnection
public void refuseConnection() throws IOException(Code)

throws:
  IOException -



registerTransportMessages
public void registerTransportMessages() throws MessageAlreadyRegisteredException(Code)

throws:
  MessageAlreadyRegisteredException -



setLocalIdent
protected void setLocalIdent()(Code)



setLocalKexInit
protected void setLocalKexInit(SshMsgKexInit msg)(Code)

Parameters:
  msg -



setRemoteIdent
protected void setRemoteIdent(String ident)(Code)

Parameters:
  ident -



setRemoteKexInit
protected void setRemoteKexInit(SshMsgKexInit msg)(Code)

Parameters:
  msg -



setupNewKeys
protected void setupNewKeys(byte[] encryptCSKey, byte[] encryptCSIV, byte[] encryptSCKey, byte[] encryptSCIV, byte[] macCSKey, byte[] macSCKey) throws AlgorithmNotAgreedException, AlgorithmOperationException, AlgorithmNotSupportedException, AlgorithmInitializationException(Code)

Parameters:
  encryptCSKey -
Parameters:
  encryptCSIV -
Parameters:
  encryptSCKey -
Parameters:
  encryptSCIV -
Parameters:
  macCSKey -
Parameters:
  macSCKey -
throws:
  AlgorithmNotAgreedException -
throws:
  AlgorithmOperationException -
throws:
  AlgorithmNotSupportedException -
throws:
  AlgorithmInitializationException -



startBinaryPacketProtocol
protected void startBinaryPacketProtocol() throws IOException(Code)

throws:
  IOException -



Fields inherited from com.sshtools.j2ssh.transport.TransportProtocolCommon
final public static int EOL_CRLF(Code)(Java Doc)
final public static int EOL_LF(Code)(Java Doc)
final public static String PROTOCOL_VERSION(Code)(Java Doc)
public static String SOFTWARE_VERSION_COMMENTS(Code)(Java Doc)
protected TransportProtocolAlgorithmSync algorithmsIn(Code)(Java Doc)
protected TransportProtocolAlgorithmSync algorithmsOut(Code)(Java Doc)
protected String clientIdent(Code)(Java Doc)
protected SshMsgKexInit clientKexInit(Code)(Java Doc)
protected Boolean completeOnNewKeys(Code)(Java Doc)
protected byte[] hostKey(Code)(Java Doc)
protected HostKeyVerification hosts(Code)(Java Doc)
protected BigInteger k(Code)(Java Doc)
protected Map kexs(Code)(Java Doc)
protected static Log log(Code)(Java Doc)
protected SshMessageStore messageStore(Code)(Java Doc)
protected SshConnectionProperties properties(Code)(Java Doc)
protected String serverIdent(Code)(Java Doc)
protected SshMsgKexInit serverKexInit(Code)(Java Doc)
protected byte[] sessionIdentifier(Code)(Java Doc)
protected byte[] signature(Code)(Java Doc)
protected TransportProtocolInputStream sshIn(Code)(Java Doc)
protected TransportProtocolOutputStream sshOut(Code)(Java Doc)
protected TransportProtocolState state(Code)(Java Doc)

Methods inherited from com.sshtools.j2ssh.transport.TransportProtocolCommon
public void addEventHandler(TransportProtocolEventHandler eventHandler)(Code)(Java Doc)
public void addMessageStore(SshMessageStore store) throws MessageAlreadyRegisteredException(Code)(Java Doc)
protected void beginKeyExchange() throws IOException, KeyExchangeException(Code)(Java Doc)
protected void completeKeyExchange() throws IOException(Code)(Java Doc)
protected SshMsgKexInit createLocalKexInit() throws IOException(Code)(Java Doc)
protected String determineAlgorithm(List clientAlgorithms, List serverAlgorithms) throws AlgorithmNotAgreedException(Code)(Java Doc)
public void disconnect(String description)(Code)(Java Doc)
public int getConnectionId()(Code)(Java Doc)
abstract protected String getDecryptionAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc)
abstract protected String getEncryptionAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc)
protected List getEventHandlers()(Code)(Java Doc)
public long getIncomingByteCount()(Code)(Java Doc)
abstract protected String getInputStreamCompAlgortihm() throws AlgorithmNotAgreedException(Code)(Java Doc)
abstract protected String getInputStreamMacAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc)
protected String getKexAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc)
abstract public String getLocalId()(Code)(Java Doc)
abstract protected SshMsgKexInit getLocalKexInit()(Code)(Java Doc)
public long getOutgoingByteCount()(Code)(Java Doc)
abstract protected String getOutputStreamCompAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc)
abstract protected String getOutputStreamMacAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc)
public SshConnectionProperties getProperties()(Code)(Java Doc)
public int getRemoteEOL()(Code)(Java Doc)
abstract public String getRemoteId()(Code)(Java Doc)
abstract protected SshMsgKexInit getRemoteKexInit()(Code)(Java Doc)
public byte[] getSessionIdentifier()(Code)(Java Doc)
public TransportProtocolState getState()(Code)(Java Doc)
public String getUnderlyingProviderDetail()(Code)(Java Doc)
public boolean isConnected()(Code)(Java Doc)
protected void onCorruptMac()(Code)(Java Doc)
abstract protected void onDisconnect()(Code)(Java Doc)
abstract protected void onMessageReceived(SshMessage msg) throws IOException(Code)(Java Doc)
abstract protected void onStartTransportProtocol() throws IOException(Code)(Java Doc)
abstract protected void performKeyExchange(SshKeyExchange kex) throws IOException, KeyExchangeException(Code)(Java Doc)
protected SshMessage processMessages() throws IOException(Code)(Java Doc)
public SshMessage readMessage(int[] filter) throws IOException(Code)(Java Doc)
abstract public void registerTransportMessages() throws MessageAlreadyRegisteredException(Code)(Java Doc)
public void removeMessageStore(SshMessageStore ms)(Code)(Java Doc)
public void run()(Code)(Java Doc)
protected void sendDisconnect(int reason, String description)(Code)(Java Doc)
protected void sendDisconnect(int reason, String description, IOException error)(Code)(Java Doc)
protected void sendKeyExchangeInit() throws IOException(Code)(Java Doc)
public synchronized void sendMessage(SshMessage msg, Object sender) throws IOException(Code)(Java Doc)
protected void sendNewKeys() throws IOException(Code)(Java Doc)
public void setKexTimeout(long seconds) throws TransportProtocolException(Code)(Java Doc)
public void setKexTransferLimit(long kilobytes) throws TransportProtocolException(Code)(Java Doc)
abstract protected void setLocalIdent()(Code)(Java Doc)
abstract protected void setLocalKexInit(SshMsgKexInit msg)(Code)(Java Doc)
abstract protected void setRemoteIdent(String ident)(Code)(Java Doc)
abstract protected void setRemoteKexInit(SshMsgKexInit msg)(Code)(Java Doc)
public void setSendIgnore(boolean sendIgnore)(Code)(Java Doc)
abstract protected void setupNewKeys(byte[] encryptCSKey, byte[] encryptCSIV, byte[] encryptSCKey, byte[] encryptSCIV, byte[] macCSKey, byte[] macSCKey) throws AlgorithmNotAgreedException, AlgorithmOperationException, AlgorithmNotSupportedException, AlgorithmInitializationException(Code)(Java Doc)
protected void startBinaryPacketProtocol() throws IOException(Code)(Java Doc)
public void startTransportProtocol(TransportProvider provider, SshConnectionProperties properties) throws IOException(Code)(Java Doc)
final protected void stop()(Code)(Java Doc)
public void unregisterMessage(Integer messageId, SshMessageStore store) throws MessageNotRegisteredException(Code)(Java Doc)

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.