Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::wireprotocol::Command Class Reference

Inheritance diagram for org::netbeans::lib::profiler::wireprotocol::Command:

org::netbeans::lib::profiler::wireprotocol::AsyncMessageCommand org::netbeans::lib::profiler::wireprotocol::ClassLoadedCommand org::netbeans::lib::profiler::wireprotocol::EventBufferDumpedCommand org::netbeans::lib::profiler::wireprotocol::GetClassIdCommand org::netbeans::lib::profiler::wireprotocol::GetDefiningClassLoaderCommand org::netbeans::lib::profiler::wireprotocol::GetMethodNamesForJMethodIdsCommand org::netbeans::lib::profiler::wireprotocol::InitiateInstrumentationCommand org::netbeans::lib::profiler::wireprotocol::InstrumentMethodGroupCommand org::netbeans::lib::profiler::wireprotocol::MethodInvokedFirstTimeCommand org::netbeans::lib::profiler::wireprotocol::MethodLoadedCommand org::netbeans::lib::profiler::wireprotocol::RootClassLoadedCommand org::netbeans::lib::profiler::wireprotocol::SetChangeableInstrParamsCommand org::netbeans::lib::profiler::wireprotocol::SetUnchangeableInstrParamsCommand org::netbeans::lib::profiler::wireprotocol::TakeHeapDumpCommand

List of all members.


Detailed Description

Base class for all Commands, i.e. wire protocol messages that can be sent by both client and server at any moment. Some Commands contain nothing but their type, and therefore instances of this Command class can be used to transfer them. Others contain additional information, and therefore specialized subclasses of Command are used for them.

Author:
Misha Dmitriev

Definition at line 59 of file Command.java.


Public Member Functions

 Command (int type)
int getType ()
String toString ()

Static Public Member Functions

static String cmdTypeToString (int type)

Static Public Attributes

static final int CHECK_CONNECTION = 1
static final int CLASS_LOADED = 3
static final int CLASS_LOADER_UNLOADING = 36
static final int CPU_RESULTS_EXIST = 6
static final int DEACTIVATE_INJECTED_CODE = 9
static final int DEINSTRUMENT_REFLECTION = 21
static final int DETACH = 25
static final int DUMP_EXISTING_RESULTS = 27
static final int DUMP_EXISTING_RESULTS_LIVE = 40
static final int EVENT_BUFFER_DUMPED = 26
static final int GET_CLASSID = 42
static final int GET_CODE_REGION_CPU_RESULTS = 8
static final int GET_DEFINING_CLASS_LOADER = 35
static final int GET_INTERNAL_STATS = 24
static final int GET_METHOD_NAMES_FOR_JMETHOD_IDS = 31
static final int GET_MONITORED_NUMBERS = 32
static final int GET_OBJECT_ALLOCATION_RESULTS = 30
static final int GET_STORED_CALIBRATION_DATA = 37
static final int GET_THREAD_LIVENESS_STATUS = 16
static final int GET_VM_PROPERTIES = 28
static final int INITIATE_INSTRUMENTATION = 13
static final int INSTRUMENT_METHOD_GROUP = 7
static final int INSTRUMENT_REFLECTION = 20
static final int MESSAGE = 14
static final int METHOD_INVOKED_FIRST_TIME = 23
static final int METHOD_LOADED = 22
static final int RESET_PROFILER_COLLECTORS = 29
static final int RESULTS_AVAILABLE = 38
static final int RESUME_TARGET_APP = 11
static final int ROOT_CLASS_LOADED = 17
static final int RUN_CALIBRATION_AND_GET_DATA = 34
static final int RUN_GC = 33
static final int SET_CHANGEABLE_INSTR_PARAMS = 4
static final int SET_UNCHANGEABLE_INSTR_PARAMS = 5
static final int SHUTDOWN_COMPLETED = 19
static final int SHUTDOWN_INITIATED = 18
static final int SHUTDOWN_OK = 15
static final int START_TARGET_APP = 2
static final int STILL_ALIVE = 43
static final int SUSPEND_TARGET_APP = 10
static final int TAKE_HEAP_DUMP = 41
static final int TAKE_SNAPSHOT = 39
static final int TERMINATE_TARGET_JVM = 12

Package Functions

void readObject (ObjectInputStream in) throws IOException
void setType (int type)
void writeObject (ObjectOutputStream out) throws IOException

Private Attributes

int type

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index