Home | Trees | Index | Help |
---|
Package pyGlobus :: Module ftpClientAttr :: Class OperationAttr |
|
A class to wrap the ftp client operation attr functions.
It provides get and set methods for all of the various operation specific attributes, and hides the underlying memory management.Method Summary | |
---|---|
Constructs an instance. | |
Destroy an instance. | |
Creates a deep copy of itself. | |
Returns the value of the append attribute. | |
Returns the authorization attributes. | |
Returns the protection attribute for the control channel. | |
Returns the protection attribute for the data channel. | |
Get the DCAU handle | |
Return the underlying ftp client operation attr handle. | |
Returns the layout attribute for this operation. | |
Returns the mode for this transfer. | |
Returns the parallelism attribute. | |
Return the tcp buffer attribute. | |
Returns the type attribute for the operation. | |
Set the append mode for the operation. | |
Set the authorization attributes. | |
Sets the protection attribute for the control channel. | |
Sets the protection attribute for the data channel. | |
Set the data channel authentication instance in the handle. | |
Sets the layout attribute for the transfer. | |
Sets the mode for the transfer. | |
Set the parallelism attribute. | |
Set the tcp buffer attribute. | |
Sets the type attribute for the operation. |
Method Details |
---|
__init__(self,
handle=None)
|
__del__(self)
|
copy(self)Creates a deep copy of itself.
|
get_append(self)Returns the value of the append attribute.
|
get_authorization(self)Returns the authorization attributes.
|
get_control_protection(self)Returns the protection attribute for the control channel.
|
get_data_protection(self)Returns the protection attribute for the data channel.
|
get_dcau(self)Get the DCAU handle
|
get_handle(self)Return the underlying ftp client operation attr handle.
|
get_layout(self)Returns the layout attribute for this operation.
|
get_mode(self)Returns the mode for this transfer.
|
get_parallelism(self)Returns the parallelism attribute.
|
get_tcp_buffer(self)Return the tcp buffer attribute.
|
get_type(self)Returns the type attribute for the operation.
|
set_append(self, append)Set the append mode for the operation. Allows a file to be appended to when performing a put to a server instead of replacing the file. This attribute is incompatible with the extended block mode, the partial file attribute, and the restart attribute.
|
set_authorization(self, credential, user=None, passwd='', account='', subject='')Set the authorization attributes.
|
set_control_protection(self, protection)Sets the protection attribute for the control channel. The supported protection attributes are defined in the ftpControl module.
|
set_data_protection(self, protection)Sets the protection attribute for the data channel. The supported protection attributes are defined in the ftpControl module.
|
set_dcau(self, dcau)Set the data channel authentication instance in the handle.
|
set_layout(self, layout)Sets the layout attribute for the transfer. This attribute allows the user to control the layout of a file being transfered to a striped Grid-FTP server. The striping layout defines what regions of a file will be stored on each stripe of a multiple-striped ftp server. The layout attribute is used only when the data is being stored on the server (on a put or 3rd party transfer). This attribute is ignored for stream mode data transfers.
|
set_mode(self, mode)Sets the mode for the transfer. The supported modes are defined in the ftpControl module.
|
set_parallelism(self, parallelism)Set the parallelism attribute. Used to control the level of parallelism used for the operation.
|
set_tcp_buffer(self, tcpbuffer)Set the tcp buffer attribute. Used to control the tcp buffer size for the operation.
|
set_type(self, type)Sets the type attribute for the operation. Controls the type used for the transfer. The types are defined in the ftpControl module. The default type is binary.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 4 14:32:53 2006 | http://epydoc.sf.net |