com.sshtools.profile
Class SchemeHandler

java.lang.Object
  extended bycom.sshtools.profile.SchemeHandler

public abstract class SchemeHandler
extends java.lang.Object

Version:
$Revision: 1.1 $Wrapper object for scheme
Author:
$Author: richard $

Constructor Summary
SchemeHandler(java.lang.String name, java.lang.String description)
          Construct a new SchemeHandler
 
Method Summary
abstract  ProfileTransport createProfileTransport(ResourceProfile profile)
          Create the ProfileTransport appropriate for this scheme
abstract  SchemeOptions createSchemeOptions()
          Create a SchemeOptions appropriate for this scheme
 java.lang.String getDescription()
          Get the scheme description
 java.lang.String getName()
          Get the scheme name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemeHandler

public SchemeHandler(java.lang.String name,
                     java.lang.String description)
Construct a new SchemeHandler

Parameters:
name - scheme name
description - description
Method Detail

createSchemeOptions

public abstract SchemeOptions createSchemeOptions()
Create a SchemeOptions appropriate for this scheme

Returns:
scheme options

createProfileTransport

public abstract ProfileTransport createProfileTransport(ResourceProfile profile)
                                                 throws ProfileException,
                                                        java.io.IOException,
                                                        AuthenticationException
Create the ProfileTransport appropriate for this scheme

Returns:
profile transport
Throws:
ProfileException
java.io.IOException
AuthenticationException

getName

public java.lang.String getName()
Get the scheme name

Returns:
scheme name

getDescription

public java.lang.String getDescription()
Get the scheme description

Returns:
scheme description


Copyright © 2003-2004 3SP LTD. All Rights Reserved.