2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz>.
3 * All rights reserved. Distributed under the terms of the MIT License.
6 #ifndef ABSTRACT_SINGLE_FILE_SERVER_PROCESS_H
7 #define ABSTRACT_SINGLE_FILE_SERVER_PROCESS_H
10 #include "AbstractServerProcess.h"
13 class AbstractSingleFileServerProcess
: public AbstractServerProcess
{
15 AbstractSingleFileServerProcess(
16 AbstractServerProcessListener
* listener
,
18 virtual ~AbstractSingleFileServerProcess();
21 virtual status_t
RunInternal();
23 virtual status_t
ProcessLocalData() = 0;
25 virtual BString
UrlPathComponent() = 0;
27 virtual BPath
& LocalPath() = 0;
30 #endif // ABSTRACT_SINGLE_FILE_SERVER_PROCESS_H