BufferedRPCChannel< t_pBuffer, t_BufferSize > Class Template Reference

Provides a more convenient way of using GuestRPC. More...

#include <vmwrpc.h>

Inherits VMWareRPCChannel.

Collaboration diagram for BufferedRPCChannel< t_pBuffer, t_BufferSize >:

List of all members.

Public Member Functions

 BufferedRPCChannel ()
 ~BufferedRPCChannel ()
bool PrepareSend (unsigned SendSize)
bool SendPartial (const void *pData, unsigned Size)
unsigned GetReplySize ()
bool Receive (void *pData, unsigned Size)
bool Valid ()
bool EndReceive ()
bool NeedRestartInVBoxMode ()

Private Types

enum  {
  Idle, Sending, Sent, Receiving,
  Received
}

Private Member Functions

bool SendBufferedData ()

Private Attributes

unsigned m_BufferPos
unsigned m_TotalTransferSize
enum BufferedRPCChannel:: { ... }  m_Phase


Detailed Description

template<char * t_pBuffer, unsigned t_BufferSize>
class BufferedRPCChannel< t_pBuffer, t_BufferSize >

Provides a more convenient way of using GuestRPC.

Definition at line 484 of file vmwrpc.h.


Member Enumeration Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
anonymous enum [private]

Enumerator:
Idle 
Sending 
Sent 
Receiving 
Received 

Definition at line 490 of file vmwrpc.h.


Constructor & Destructor Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
BufferedRPCChannel< t_pBuffer, t_BufferSize >::BufferedRPCChannel (  )  [inline]

Definition at line 515 of file vmwrpc.h.

template<char * t_pBuffer, unsigned t_BufferSize>
BufferedRPCChannel< t_pBuffer, t_BufferSize >::~BufferedRPCChannel (  )  [inline]

Definition at line 522 of file vmwrpc.h.


Member Function Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::EndReceive (  )  [inline]

Reimplemented from VMWareRPCChannel.

Definition at line 594 of file vmwrpc.h.

Here is the call graph for this function:

template<char * t_pBuffer, unsigned t_BufferSize>
unsigned BufferedRPCChannel< t_pBuffer, t_BufferSize >::GetReplySize (  )  [inline]

Reimplemented from VMWareRPCChannel.

Definition at line 551 of file vmwrpc.h.

Here is the call graph for this function:

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::NeedRestartInVBoxMode (  )  [inline]

Definition at line 604 of file vmwrpc.h.

Here is the call graph for this function:

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::PrepareSend ( unsigned  SendSize  )  [inline]

Definition at line 526 of file vmwrpc.h.

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::Receive ( void *  pData,
unsigned  Size 
) [inline]

Reimplemented from VMWareRPCChannel.

Definition at line 572 of file vmwrpc.h.

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::SendBufferedData (  )  [inline, private]

Definition at line 500 of file vmwrpc.h.

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::SendPartial ( const void *  pData,
unsigned  Size 
) [inline]

Definition at line 536 of file vmwrpc.h.

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::Valid (  )  [inline]

Reimplemented from VMWareRPCChannel.

Definition at line 589 of file vmwrpc.h.


Member Data Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
unsigned BufferedRPCChannel< t_pBuffer, t_BufferSize >::m_BufferPos [private]

Definition at line 487 of file vmwrpc.h.

enum { ... } BufferedRPCChannel< t_pBuffer, t_BufferSize >::m_Phase [private]

template<char * t_pBuffer, unsigned t_BufferSize>
unsigned BufferedRPCChannel< t_pBuffer, t_BufferSize >::m_TotalTransferSize [private]

Definition at line 488 of file vmwrpc.h.


The documentation for this class was generated from the following file:
  • E:/PROJECTS/cvsed/mixed/VIRTUA~1/kdvm/vmwrpc.h