2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Paweł Dziepak, pdziepak@quarnos.org
12 #include "ReplyInterpreter.h"
13 #include "RequestBuilder.h"
14 #include "RPCServer.h"
22 inline Request(RPC::Server
* server
,
23 FileSystem
* fileSystem
);
25 inline RequestBuilder
& Builder();
26 inline ReplyInterpreter
& Reply();
28 status_t
Send(Cookie
* cookie
= NULL
);
32 status_t
_SendUDP(Cookie
* cookie
);
33 status_t
_SendTCP(Cookie
* cookie
);
36 FileSystem
* fFileSystem
;
38 RequestBuilder fBuilder
;
39 ReplyInterpreter fReply
;
44 Request::Request(RPC::Server
* server
, FileSystem
* fileSystem
)
47 fFileSystem(fileSystem
)
49 ASSERT(server
!= NULL
);
53 inline RequestBuilder
&
60 inline ReplyInterpreter
&