de.cohesion.bssh.impl
Class SSHConnectionFactory

java.lang.Object
  extended by de.cohesion.bssh.impl.SSHConnectionFactory
All Implemented Interfaces:
Factory<Member,ch.ethz.ssh2.Connection>

public class SSHConnectionFactory
extends java.lang.Object
implements Factory<Member,ch.ethz.ssh2.Connection>

Author:
schulzs

Constructor Summary
SSHConnectionFactory(int retries, PasswordStore store)
           
 
Method Summary
 ch.ethz.ssh2.Connection create(Member m)
           
 void destroy(ch.ethz.ssh2.Connection c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSHConnectionFactory

public SSHConnectionFactory(int retries,
                            PasswordStore store)
Method Detail

create

public ch.ethz.ssh2.Connection create(Member m)
                               throws java.lang.InstantiationException
Specified by:
create in interface Factory<Member,ch.ethz.ssh2.Connection>
Throws:
java.lang.InstantiationException

destroy

public void destroy(ch.ethz.ssh2.Connection c)
Specified by:
destroy in interface Factory<Member,ch.ethz.ssh2.Connection>


Copyright © 2005 . All Rights Reserved.