com.maverick.sshd
Class DefaultChannelFactory

java.lang.Object
  extended by com.maverick.ssh.components.ComponentFactory<Channel>
      extended by com.maverick.sshd.DefaultChannelFactory
All Implemented Interfaces:
ChannelFactory, Cloneable
Direct Known Subclasses:
VTunChannelFactory

public class DefaultChannelFactory
extends com.maverick.ssh.components.ComponentFactory<Channel>
implements ChannelFactory


Field Summary
 
Fields inherited from class com.maverick.ssh.components.ComponentFactory
order, supported
 
Constructor Summary
DefaultChannelFactory()
           
 
Method Summary
 Channel createChannel(String channeltype, Connection con)
           
 Subsystem createSubsystem(String name, SessionChannel session)
           
 
Methods inherited from class com.maverick.ssh.components.ComponentFactory
add, changePositionofAlgorithm, clear, clone, contains, createInstance, createNewOrdering, getInstance, list, remove, removeAllBut
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChannelFactory

public DefaultChannelFactory()
Method Detail

createChannel

public Channel createChannel(String channeltype,
                             Connection con)
                      throws UnsupportedChannelException,
                             PermissionDeniedException
Specified by:
createChannel in interface ChannelFactory
Throws:
UnsupportedChannelException
PermissionDeniedException

createSubsystem

public Subsystem createSubsystem(String name,
                                 SessionChannel session)
                          throws UnsupportedChannelException,
                                 PermissionDeniedException
Specified by:
createSubsystem in interface ChannelFactory
Throws:
UnsupportedChannelException
PermissionDeniedException


Copyright © 2012. All Rights Reserved.