BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / file_systems / nfs4 / RPCCallback.cpp
blobbaf6246759509cefa64c9778c59ec7e1de64c248
1 /*
2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Paweł Dziepak, pdziepak@quarnos.org
7 */
10 #include "RPCCallback.h"
12 #include "RPCCallbackRequest.h"
13 #include "RPCServer.h"
16 using namespace RPC;
19 Callback::Callback(Server* server)
21 fServer(server)
26 status_t
27 Callback::EnqueueRequest(CallbackRequest* request, Connection* connection)
29 ASSERT(request != NULL);
30 ASSERT(connection != NULL);
31 return fServer->PrivateData()->ProcessCallback(request, connection);