1
/*********************************************************
2
* Copyright (C) 2007 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation version 2.1 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public
11
* License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
*********************************************************/
20
* dndTransportGuestRpc.hh --
22
* GuestRpc implementation of the dndTransport interface.
26
#ifndef DND_TRANSPORT_GUEST_RPC_HH
27
#define DND_TRANSPORT_GUEST_RPC_HH
29
#include <sigc++/trackable.h>
30
#include "dndTransport.hh"
36
class DnDTransportGuestRpc
37
: public DnDTransport,
38
public sigc::trackable
41
DnDTransportGuestRpc(struct RpcIn *rpcIn,
43
virtual ~DnDTransportGuestRpc(void);
45
virtual bool SendMsg(uint8 *msg,
47
void RecvMsg(DnDTransportPacketHeader *packet,
54
DnDTransportBuffer mSendBuf;
55
DnDTransportBuffer mRecvBuf;
58
bool SendPacket(uint8 *packet,
62
#endif // DND_TRANSPORT_GUEST_RPC_HH