![]() |
|
|
#include <invokerthread.h>
Collaboration diagram for inspectorj::client::InvokerThread< TClass >:
NOTE: This class makes a deep copy of the JDWPPacket that is passed into its constructor. This allows concurrent processing of a JDWPPacket by multiple JDWPActions.
Definition at line 48 of file invokerthread.h.
Public Member Functions | |
InvokerThread (TClass *cls, void(TClass::*fpt)(JDWPPacket &), JDWPPacket &pckt) | |
Constructor. | |
~InvokerThread () | |
Destructor. | |
Protected Member Functions | |
void | run () |
Invokes the callback in a new thread. | |
Private Attributes | |
TClass * | clsObject |
Class instance on which the callback will be invoked. | |
void(TClass::* | callbackFpt )(JDWPPacket &) |
Function pointer to invoke. | |
JDWPPacket * | packet |
Pointer to a JDWPPacket. |
inspectorj::client::InvokerThread< TClass >::InvokerThread | ( | TClass * | cls, | |
void(TClass::*)(JDWPPacket &) | fpt, | |||
JDWPPacket & | pckt | |||
) | [inline] |
inspectorj::client::InvokerThread< TClass >::~InvokerThread | ( | ) | [inline] |
Destructor.
Definition at line 82 of file invokerthread.h.
References inspectorj::client::InvokerThread< TClass >::packet.
void inspectorj::client::InvokerThread< TClass >::run | ( | ) | [inline, protected] |
Invokes the callback in a new thread.
Definition at line 64 of file invokerthread.h.
References inspectorj::client::InvokerThread< TClass >::callbackFpt, inspectorj::client::InvokerThread< TClass >::clsObject, and inspectorj::client::InvokerThread< TClass >::packet.
TClass* inspectorj::client::InvokerThread< TClass >::clsObject [private] |
Class instance on which the callback will be invoked.
Definition at line 52 of file invokerthread.h.
Referenced by inspectorj::client::InvokerThread< TClass >::run().
void(TClass::* inspectorj::client::InvokerThread< TClass >::callbackFpt)(JDWPPacket &) [private] |
JDWPPacket* inspectorj::client::InvokerThread< TClass >::packet [private] |
Pointer to a JDWPPacket.
Definition at line 58 of file invokerthread.h.
Referenced by inspectorj::client::InvokerThread< TClass >::run(), and inspectorj::client::InvokerThread< TClass >::~InvokerThread().