/**
* This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12
* 09:21:06 CET 2011.
*/
package org.opennaas.extensions.router.model;
import java.io.*;
import java.lang.Exception;
/**
* This Class contains accessor and mutator methods for all properties defined in the CIM class SSHProtocolEndpoint as well as methods comparable to
* the invokeMethods defined for this class. This Class implements the SSHProtocolEndpointBean Interface. The CIM class SSHProtocolEndpoint is
* described as follows:
*
* A representation of a communications endpoint where an SSH server can be accessed using the SSH protocol.
*/
public class SSHProtocolEndpoint extends ProtocolEndpoint implements
Serializable {
/**
* This constructor creates a SSHProtocolEndpointBeanImpl Class which implements the SSHProtocolEndpointBean Interface, and encapsulates the CIM
* class SSHProtocolEndpoint in a Java Bean. The CIM class SSHProtocolEndpoint is described as follows:
*
* A representation of a communications endpoint where an SSH server can be accessed using the SSH protocol.
*/
public SSHProtocolEndpoint() {
};
/**
* The following constants are defined for use with the ValueMap/Values qualified property EnabledSSHVersions.
*/
public enum EnabledSSHVersions {
UNKNOWN,
OTHER,
SSHV1,
SSHV2,
DMTF_RESERVED,
VENDOR_RESERVED
}
private EnabledSSHVersions enabledSSHVersions;
/**
* This method returns the SSHProtocolEndpoint.enabledSSHVersions property value. This property is described as follows:
*
* An array of integers indicating the version or versions of SSH protocol that are enabled for the SSH service. Its possible for versions to be
* supported for a service and not currently enabled for use.
*
* @return int current enabledSSHVersions property value
* @exception Exception
*/
public EnabledSSHVersions getEnabledSSHVersions() {
return this.enabledSSHVersions;
} // getEnabledSSHVersions
/**
* This method sets the SSHProtocolEndpoint.enabledSSHVersions property value. This property is described as follows:
*
* An array of integers indicating the version or versions of SSH protocol that are enabled for the SSH service. Its possible for versions to be
* supported for a service and not currently enabled for use.
*
* @param int new enabledSSHVersions property value
* @exception Exception
*/
public void setEnabledSSHVersions(EnabledSSHVersions
enabledSSHVersions) {
this.enabledSSHVersions = enabledSSHVersions;
} // setEnabledSSHVersions
/**
* The following constants are defined for use with the ValueMap/Values qualified property otherEnabledSSHVersion.
*/
private String otherEnabledSSHVersion;
/**
* This method returns the SSHProtocolEndpoint.otherEnabledSSHVersion property value. This property is described as follows:
*
* If the EnabledSSHVersions property is set to 1, "Other" then this is a free form string providing more information about the SSH protocol. If
* not set to 1, this string has no meaning.
*
* @return String current otherEnabledSSHVersion property value
* @exception Exception
*/
public String getOtherEnabledSSHVersion() {
return this.otherEnabledSSHVersion;
} // getOtherEnabledSSHVersion
/**
* This method sets the SSHProtocolEndpoint.otherEnabledSSHVersion property value. This property is described as follows:
*
* If the EnabledSSHVersions property is set to 1, "Other" then this is a free form string providing more information about the SSH protocol. If
* not set to 1, this string has no meaning.
*
* @param String
* new otherEnabledSSHVersion property value
* @exception Exception
*/
public void setOtherEnabledSSHVersion(String otherEnabledSSHVersion) {
this.otherEnabledSSHVersion = otherEnabledSSHVersion;
} // setOtherEnabledSSHVersion
/**
* The following constants are defined for use with the ValueMap/Values qualified property SSHVersion.
*/
public enum SSHVersion {
UNKNOWN,
OTHER,
SSHV1,
SSHV2,
DMTF_RESERVED
}
private SSHVersion sSHVersion;
/**
* This method returns the SSHProtocolEndpoint.sSHVersion property value. This property is described as follows:
*
* The version of SSH in use for this connection.
*
* @return int current sSHVersion property value
* @exception Exception
*/
public SSHVersion getSSHVersion() {
return this.sSHVersion;
} // getSSHVersion
/**
* This method sets the SSHProtocolEndpoint.sSHVersion property value. This property is described as follows:
*
* The version of SSH in use for this connection.
*
* @param int new sSHVersion property value
* @exception Exception
*/
public void setSSHVersion(SSHVersion sSHVersion) {
this.sSHVersion = sSHVersion;
} // setSSHVersion
/**
* The following constants are defined for use with the ValueMap/Values qualified property otherSSHVersion.
*/
private String otherSSHVersion;
/**
* This method returns the SSHProtocolEndpoint.otherSSHVersion property value. This property is described as follows:
*
* If the SSHVersion property is set to 1, "Other" then this is a free form string providing more information about the current SSH protocol. If
* not set to 1, this string has no meaning.
*
* @return String current otherSSHVersion property value
* @exception Exception
*/
public String getOtherSSHVersion() {
return this.otherSSHVersion;
} // getOtherSSHVersion
/**
* This method sets the SSHProtocolEndpoint.otherSSHVersion property value. This property is described as follows:
*
* If the SSHVersion property is set to 1, "Other" then this is a free form string providing more information about the current SSH protocol. If
* not set to 1, this string has no meaning.
*
* @param String
* new otherSSHVersion property value
* @exception Exception
*/
public void setOtherSSHVersion(String otherSSHVersion) {
this.otherSSHVersion = otherSSHVersion;
} // setOtherSSHVersion
/**
* The following constants are defined for use with the ValueMap/Values qualified property EnabledEncryptionAlgorithms.
*/
public enum EnabledEncryptionAlgorithms {
UNKNOWN,
OTHER,
DES,
DES3,
RC4,
IDEA,
SKIPJACK,
DMTF_RESERVED,
VENDOR_RESERVED
}
private EnabledEncryptionAlgorithms enabledEncryptionAlgorithms;
/**
* This method returns the SSHProtocolEndpoint.enabledEncryptionAlgorithms property value. This property is described as follows:
*
* An array of integers indicating the encryption algorithms that are enabled for this SSH service. Its possible for an encryption algorithm to be
* supported by an SSH service and not be enabled to be used. One of the enabled algorithms will actually be in use.
*
* @return int current enabledEncryptionAlgorithms property value
* @exception Exception
*/
public EnabledEncryptionAlgorithms getEnabledEncryptionAlgorithms() {
return this.enabledEncryptionAlgorithms;
} // getEnabledEncryptionAlgorithms
/**
* This method sets the SSHProtocolEndpoint.enabledEncryptionAlgorithms property value. This property is described as follows:
*
* An array of integers indicating the encryption algorithms that are enabled for this SSH service. Its possible for an encryption algorithm to be
* supported by an SSH service and not be enabled to be used. One of the enabled algorithms will actually be in use.
*
* @param int new enabledEncryptionAlgorithms property value
* @exception Exception
*/
public void setEnabledEncryptionAlgorithms(EnabledEncryptionAlgorithms
enabledEncryptionAlgorithms) {
this.enabledEncryptionAlgorithms = enabledEncryptionAlgorithms;
} // setEnabledEncryptionAlgorithms
/**
* The following constants are defined for use with the ValueMap/Values qualified property otherEnabledEncryptionAlgorithm.
*/
private String[] otherEnabledEncryptionAlgorithm;
/**
* This method returns the SSHProtocolEndpoint.otherEnabledEncryptionAlgorithm property value. This property is described as follows:
*
* If the EnabledEncryptionAlgorithms property is set 1, "Other" this property contains a free form string providing more information about
* supported algorithms. If not set to 1, this string has no meaning.
*
* @return String[] current otherEnabledEncryptionAlgorithm property value
* @exception Exception
*/
public String[] getOtherEnabledEncryptionAlgorithm() {
return this.otherEnabledEncryptionAlgorithm;
} // getOtherEnabledEncryptionAlgorithm
/**
* This method sets the SSHProtocolEndpoint.otherEnabledEncryptionAlgorithm property value. This property is described as follows:
*
* If the EnabledEncryptionAlgorithms property is set 1, "Other" this property contains a free form string providing more information about
* supported algorithms. If not set to 1, this string has no meaning.
*
* @param String
* [] new otherEnabledEncryptionAlgorithm property value
* @exception Exception
*/
public void setOtherEnabledEncryptionAlgorithm(String[]
otherEnabledEncryptionAlgorithm) {
this.otherEnabledEncryptionAlgorithm = otherEnabledEncryptionAlgorithm;
} // setOtherEnabledEncryptionAlgorithm
/**
* The following constants are defined for use with the ValueMap/Values qualified property EncryptionAlgorithm.
*/
public enum EncryptionAlgorithm {
UNKNOWN,
OTHER,
DES,
DES3,
RC4,
IDEA,
SKIPJACK,
DMTF_RESERVED
}
private EncryptionAlgorithm encryptionAlgorithm;
/**
* This method returns the SSHProtocolEndpoint.encryptionAlgorithm property value. This property is described as follows:
*
* The encryption algorithm currently in use for this connection.
*
* @return int current encryptionAlgorithm property value
* @exception Exception
*/
public EncryptionAlgorithm getEncryptionAlgorithm() {
return this.encryptionAlgorithm;
} // getEncryptionAlgorithm
/**
* This method sets the SSHProtocolEndpoint.encryptionAlgorithm property value. This property is described as follows:
*
* The encryption algorithm currently in use for this connection.
*
* @param int new encryptionAlgorithm property value
* @exception Exception
*/
public void setEncryptionAlgorithm(EncryptionAlgorithm
encryptionAlgorithm) {
this.encryptionAlgorithm = encryptionAlgorithm;
} // setEncryptionAlgorithm
/**
* The following constants are defined for use with the ValueMap/Values qualified property otherEncryptionAlgorithm.
*/
private String[] otherEncryptionAlgorithm;
/**
* This method returns the SSHProtocolEndpoint.otherEncryptionAlgorithm property value. This property is described as follows:
*
* If the EncryptionAlgorithm property is set to 1, "Other" then this is a free form string providing more information about the current
* encryption algorithm. If not set to 1, this string has no meaning.
*
* @return String[] current otherEncryptionAlgorithm property value
* @exception Exception
*/
public String[] getOtherEncryptionAlgorithm() {
return this.otherEncryptionAlgorithm;
} // getOtherEncryptionAlgorithm
/**
* This method sets the SSHProtocolEndpoint.otherEncryptionAlgorithm property value. This property is described as follows:
*
* If the EncryptionAlgorithm property is set to 1, "Other" then this is a free form string providing more information about the current
* encryption algorithm. If not set to 1, this string has no meaning.
*
* @param String
* [] new otherEncryptionAlgorithm property value
* @exception Exception
*/
public void setOtherEncryptionAlgorithm(String[] otherEncryptionAlgorithm)
{
this.otherEncryptionAlgorithm = otherEncryptionAlgorithm;
} // setOtherEncryptionAlgorithm
/**
* The following constants are defined for use with the ValueMap/Values qualified property idleTimeout.
*/
private long idleTimeout;
/**
* This method returns the SSHProtocolEndpoint.idleTimeout property value. This property is described as follows:
*
* IdleTimeout specifies how long the connection can be idle before the connection is terminated. The default value, 0, indicates that there is no
* idle timeout period.
*
* @return long current idleTimeout property value
* @exception Exception
*/
public long getIdleTimeout() {
return this.idleTimeout;
} // getIdleTimeout
/**
* This method sets the SSHProtocolEndpoint.idleTimeout property value. This property is described as follows:
*
* IdleTimeout specifies how long the connection can be idle before the connection is terminated. The default value, 0, indicates that there is no
* idle timeout period.
*
* @param long new idleTimeout property value
* @exception Exception
*/
public void setIdleTimeout(long idleTimeout) {
this.idleTimeout = idleTimeout;
} // setIdleTimeout
/**
* The following constants are defined for use with the ValueMap/Values qualified property keepAlive.
*/
private boolean keepAlive;
/**
* This method returns the SSHProtocolEndpoint.keepAlive property value. This property is described as follows:
*
* If this property is true, the SSH keep alive timer is enabled.
*
* @return boolean current keepAlive property value
* @exception Exception
*/
public boolean isKeepAlive() {
return this.keepAlive;
} // getKeepAlive
/**
* This method sets the SSHProtocolEndpoint.keepAlive property value. This property is described as follows:
*
* If this property is true, the SSH keep alive timer is enabled.
*
* @param boolean new keepAlive property value
* @exception Exception
*/
public void setKeepAlive(boolean keepAlive) {
this.keepAlive = keepAlive;
} // setKeepAlive
/**
* The following constants are defined for use with the ValueMap/Values qualified property forwardX11.
*/
private boolean forwardX11;
/**
* This method returns the SSHProtocolEndpoint.forwardX11 property value. This property is described as follows:
*
* If this property is true, the SSH X11 forwarding mode is enabled.
*
* @return boolean current forwardX11 property value
* @exception Exception
*/
public boolean isForwardX11() {
return this.forwardX11;
} // getForwardX11
/**
* This method sets the SSHProtocolEndpoint.forwardX11 property value. This property is described as follows:
*
* If this property is true, the SSH X11 forwarding mode is enabled.
*
* @param boolean new forwardX11 property value
* @exception Exception
*/
public void setForwardX11(boolean forwardX11) {
this.forwardX11 = forwardX11;
} // setForwardX11
/**
* The following constants are defined for use with the ValueMap/Values qualified property compression.
*/
private boolean compression;
/**
* This method returns the SSHProtocolEndpoint.compression property value. This property is described as follows:
*
* If this property is true, SSH compression is enabled.
*
* @return boolean current compression property value
* @exception Exception
*/
public boolean isCompression() {
return this.compression;
} // getCompression
/**
* This method sets the SSHProtocolEndpoint.compression property value. This property is described as follows:
*
* If this property is true, SSH compression is enabled.
*
* @param boolean new compression property value
* @exception Exception
*/
public void setCompression(boolean compression) {
this.compression = compression;
} // setCompression
} // Class SSHProtocolEndpoint