org.globus.ftp
Class DataChannelAuthentication

java.lang.Object
  extended by org.globus.ftp.DataChannelAuthentication
Direct Known Subclasses:
SubjectDataChannelAuthentication

public class DataChannelAuthentication
extends java.lang.Object

Represents data channel authentication mode. Use static variables SELF or NONE.


Field Summary
protected  java.lang.String argument
           
static DataChannelAuthentication NONE
           
static DataChannelAuthentication SELF
           
 
Constructor Summary
protected DataChannelAuthentication()
           
protected DataChannelAuthentication(java.lang.String argument)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
protected  void setArgument(java.lang.String argument)
           
 java.lang.String toFtpCmdArgument()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final DataChannelAuthentication NONE

SELF

public static final DataChannelAuthentication SELF

argument

protected java.lang.String argument
Constructor Detail

DataChannelAuthentication

protected DataChannelAuthentication()

DataChannelAuthentication

protected DataChannelAuthentication(java.lang.String argument)
Method Detail

setArgument

protected void setArgument(java.lang.String argument)

toFtpCmdArgument

public java.lang.String toFtpCmdArgument()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object