|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.process.filetransfer.AbstractCopyProtocol
AbstractCopyProtocol implements default behaviour of methods in CopyProtocol
Field Summary | |
protected boolean |
closeStream
|
protected FileTransferWorkShop.StructureInformation |
dstInfoParams
|
protected FileTransfer[] |
fileTransfer
|
protected boolean |
isDefaultProtocol
|
protected static org.apache.log4j.Logger |
logger
|
protected java.lang.String |
name
|
protected FileTransferWorkShop.StructureInformation |
srcInfoParams
|
Constructor Summary | |
AbstractCopyProtocol(java.lang.String name)
|
Method Summary | |
protected java.lang.String |
getErrorMessage(java.io.InputStream in)
Note: this method will block if the stream is not closed!!! |
protected FileTransfer.FileDescription[] |
getHeteronymousAll()
|
protected FileTransfer.DirectoryDescription[] |
getHeteronymousDirs()
Note that for this only the dirname is considered, and not the dirpath. |
protected FileTransfer.FileDescription[] |
getHeteronymousFiles()
Note that for this only the filename is considered, and not the filepath. |
protected FileTransfer.FileDescription[] |
getHomonymousAll()
|
protected FileTransfer.DirectoryDescription[] |
getHomonymousDirs()
Note that for this only the dirname is considered, and not the dirpath. |
protected FileTransfer.FileDescription[] |
getHomonymousFiles()
Note that for this only the filename is considered, and not the filepath. |
java.lang.String |
getProtocolName()
|
boolean |
isDefaultProtocol()
|
boolean |
isDummyProtocol()
This method should only be modified in the dummy copy protocol class: DummyCopyProtocol |
void |
setDefaultProtocol(boolean isDefaultProtocol)
|
void |
setDstInfo(FileTransferWorkShop.StructureInformation dstInfoParams)
|
void |
setFileTransferDefinitions(FileTransfer[] fileTransfer)
|
void |
setProtocolName(java.lang.String name)
|
void |
setSrcInfo(FileTransferWorkShop.StructureInformation srcInfoParams)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.process.filetransfer.CopyProtocol |
checkProtocol, startFileTransfer |
Field Detail |
protected static org.apache.log4j.Logger logger
protected boolean isDefaultProtocol
protected java.lang.String name
protected FileTransfer[] fileTransfer
protected FileTransferWorkShop.StructureInformation srcInfoParams
protected FileTransferWorkShop.StructureInformation dstInfoParams
protected boolean closeStream
Constructor Detail |
public AbstractCopyProtocol(java.lang.String name)
Method Detail |
public java.lang.String getProtocolName()
getProtocolName
in interface CopyProtocol
public void setProtocolName(java.lang.String name)
setProtocolName
in interface CopyProtocol
public boolean isDefaultProtocol()
isDefaultProtocol
in interface CopyProtocol
public void setDefaultProtocol(boolean isDefaultProtocol)
setDefaultProtocol
in interface CopyProtocol
public void setFileTransferDefinitions(FileTransfer[] fileTransfer)
setFileTransferDefinitions
in interface CopyProtocol
public void setSrcInfo(FileTransferWorkShop.StructureInformation srcInfoParams)
setSrcInfo
in interface CopyProtocol
public void setDstInfo(FileTransferWorkShop.StructureInformation dstInfoParams)
setDstInfo
in interface CopyProtocol
public boolean isDummyProtocol()
isDummyProtocol
in interface CopyProtocol
protected FileTransfer.FileDescription[] getHomonymousFiles()
protected FileTransfer.FileDescription[] getHeteronymousFiles()
protected FileTransfer.DirectoryDescription[] getHomonymousDirs()
protected FileTransfer.DirectoryDescription[] getHeteronymousDirs()
protected FileTransfer.FileDescription[] getHeteronymousAll()
protected FileTransfer.FileDescription[] getHomonymousAll()
protected java.lang.String getErrorMessage(java.io.InputStream in)
in
- An input stream
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |