1.4.3
by Serge Hallyn
Import upstream version 2011.03.28-387002 |
1 |
/* **************************************************************************
|
2 |
* Copyright (C) 2010 VMware, Inc. All Rights Reserved -- VMware Confidential
|
|
3 |
* **************************************************************************/
|
|
4 |
||
5 |
/**
|
|
6 |
* @dndRpcListener.hpp --
|
|
7 |
*
|
|
8 |
* Interface for objects that receive rpc send and received notifications
|
|
9 |
* from the vmx dnd controller. These signals are used for introspection
|
|
10 |
* during unit testing and simulation.
|
|
11 |
*/
|
|
12 |
||
13 |
#ifndef DND_RPC_LISTENER_HPP
|
|
14 |
#define DND_RPC_LISTENER_HPP
|
|
15 |
||
16 |
class DnDRpcListener |
|
17 |
{
|
|
18 |
public: |
|
19 |
virtual ~DnDRpcListener() {}; |
|
20 |
virtual void OnRpcReceived(uint32 cmd, uint32 src, uint32 session) = 0; |
|
21 |
virtual void OnRpcSent(uint32 cmd, uint32 dest, uint32 session) = 0; |
|
22 |
};
|
|
23 |
||
24 |
#endif // DND_RPC_LISTENER_HPP |