Package org.netxms.client
Class ReceivedFile
java.lang.Object
org.netxms.client.ReceivedFile
Class that returns received file and
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
SUCCESS
public static final int SUCCESS- See Also:
-
CANCELED
public static final int CANCELED- See Also:
-
FAILED
public static final int FAILED- See Also:
-
TIMEOUT
public static final int TIMEOUT- See Also:
-
-
Constructor Details
-
ReceivedFile
Create new received file handle- Parameters:
f
- TODOstatus
- TODO
-
-
Method Details
-
getStatus
public int getStatus()Get status of receive operation- Returns:
- the status
-
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
-