1/*
2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Pawe�� Dziepak, pdziepak@quarnos.org
7 */
8#ifndef RPCCALLBACKREPLY_H
9#define RPCCALLBACKREPLY_H
10
11
12#include "RPCDefs.h"
13#include "XDR.h"
14
15
16namespace RPC {
17
18class CallbackReply {
19public:
20	static	CallbackReply*		Create(uint32 xid,
21									AcceptStat rpcError = SUCCESS);
22								~CallbackReply();
23
24	inline	XDR::WriteStream&	Stream();
25
26private:
27								CallbackReply();
28
29			XDR::WriteStream	fStream;
30};
31
32
33inline XDR::WriteStream&
34CallbackReply::Stream()
35{
36	return fStream;
37}
38
39}		// namespace RPC
40
41
42#endif	//	RPCCALLBACKREPLY_H
43