Package org.netxms.client
Class ReceivedFile
- java.lang.Object
-
- org.netxms.client.ReceivedFile
-
public class ReceivedFile extends Object
Class that returns received file and
-
-
Constructor Summary
Constructors Constructor Description ReceivedFile(File f, int status)Create new received file handle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetFile()Get received fileintgetStatus()Get status of receive operationbooleanisFailed()Method that checks if error should be generated
-
-
-
Field Detail
-
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
-
CANCELED
public static final int CANCELED
- See Also:
- Constant Field Values
-
FAILED
public static final int FAILED
- See Also:
- Constant Field Values
-
TIMEOUT
public static final int TIMEOUT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReceivedFile
public ReceivedFile(File f, int status)
Create new received file handle- Parameters:
f- TODOstatus- TODO
-
-
Method Detail
-
getStatus
public int getStatus()
Get status of receive operation- Returns:
- the status
-
getFile
public File getFile()
Get received file- Returns:
- the file
-
isFailed
public boolean isFailed()
Method that checks if error should be generated- Returns:
- true if file transfer operation has failed
-
-