FileError Event
Reports a file access error to the application.
Syntax
ANSI (Cross Platform) virtual int FireFileError(RESTServerFileErrorEventParams *e);
typedef struct {
int64 ConnectionID;
const char *FileName;
int ErrorCode; int reserved; } RESTServerFileErrorEventParams; Unicode (Windows) virtual INT FireFileError(RESTServerFileErrorEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR FileName;
INT ErrorCode; INT reserved; } RESTServerFileErrorEventParams;
- (void)onFileError:(long long)connectionID :(NSString*)fileName :(int)errorCode;
#define EID_RESTSERVER_FILEERROR 11 virtual INT SECUREBLACKBOX_CALL FireFileError(LONG64 &lConnectionID, LPSTR &lpszFileName, INT &iErrorCode);
Remarks
The class uses this event to report a file access errors. FileName and ErrorCode contain the file path and the error code respectively.