#include <vmwrpc.h>
Inherits VMWareRpcData.
Inherited by BufferedRPCChannel< t_pBuffer, t_BufferSize > [private].

Public Member Functions | |
| VMWareRPCChannel () | |
| ~VMWareRPCChannel () | |
| unsigned | ExecuteCommand (const char *pszRequest, char *pszBuffer, unsigned MaxBufferSize) |
| Executes a single GuestRPC request. | |
| bool | Valid () |
Protected Member Functions | |
| bool | Send (const char *pData, unsigned Size=0) |
| bool | Receive (void *pData, unsigned Size) |
| bool | EndReceive () |
| unsigned | GetReplySize () |
This class provides a convenient way of executing GuestRPC commands. It automatically manages the internal state variables of a GuestRPC channel, opening it from a constructor and closing from a destructor. All channel interaction is performed using VMWareRPCChannel::ExecuteCommand() method. A channel is reusable, i.e. multiple commands can be executed sequentially without reopening a channel.
| VMWareRPCChannel::VMWareRPCChannel | ( | ) | [inline] |

| VMWareRPCChannel::~VMWareRPCChannel | ( | ) | [inline] |

| bool VMWareRPCChannel::EndReceive | ( | ) | [inline, protected] |
Reimplemented in BufferedRPCChannel< t_pBuffer, t_BufferSize >.

| unsigned VMWareRPCChannel::ExecuteCommand | ( | const char * | pszRequest, | |
| char * | pszBuffer, | |||
| unsigned | MaxBufferSize | |||
| ) | [inline] |
Executes a single GuestRPC request.

| unsigned VMWareRPCChannel::GetReplySize | ( | ) | [inline, protected] |
Reimplemented in BufferedRPCChannel< t_pBuffer, t_BufferSize >.
| bool VMWareRPCChannel::Receive | ( | void * | pData, | |
| unsigned | Size | |||
| ) | [inline, protected] |
Reimplemented in BufferedRPCChannel< t_pBuffer, t_BufferSize >.

| bool VMWareRPCChannel::Send | ( | const char * | pData, | |
| unsigned | Size = 0 | |||
| ) | [inline, protected] |

| bool VMWareRPCChannel::Valid | ( | ) | [inline] |
Reimplemented in BufferedRPCChannel< t_pBuffer, t_BufferSize >.