2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Paweł Dziepak, pdziepak@quarnos.org
10 #include "RPCCallback.h"
12 #include "RPCCallbackRequest.h"
13 #include "RPCServer.h"
19 Callback::Callback(Server
* server
)
27 Callback::EnqueueRequest(CallbackRequest
* request
, Connection
* connection
)
29 ASSERT(request
!= NULL
);
30 ASSERT(connection
!= NULL
);
31 return fServer
->PrivateData()->ProcessCallback(request
, connection
);