Class ExampleContextFactory

java.lang.Object
  extended by com.maverick.sshd.SshContextFactory
      extended by ExampleContextFactory
All Implemented Interfaces:
ProtocolContextFactory<SshContext>

public class ExampleContextFactory
extends SshContextFactory


Constructor Summary
ExampleContextFactory()
           
 
Method Summary
 SshContext createContext(SocketAddress remoteAddress, SocketAddress localAddress)
           
 
Methods inherited from class com.maverick.sshd.SshContextFactory
configureAcceptorCodec, configureAcceptorHandler, configureAcceptorPreCodec, configureAcceptorPreHandler, createDefaultContext, GenerateKeyFiles, loadHostKey, loadHostKey, loadHostKey, loadKey, loadKey, loadOrGenerateHostKey, loadOrGenerateHostKey, loadOrGenerateHostKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleContextFactory

public ExampleContextFactory()
                      throws IOException,
                             com.maverick.ssh.SshException
Throws:
IOException
com.maverick.ssh.SshException
Method Detail

createContext

public SshContext createContext(SocketAddress remoteAddress,
                                SocketAddress localAddress)
                         throws IOException
Specified by:
createContext in interface ProtocolContextFactory<SshContext>
Overrides:
createContext in class SshContextFactory
Throws:
IOException


Copyright © 2012. All Rights Reserved.