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

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

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

org::netbeans::lib::profiler::wireprotocol::CalibrationDataResponse org::netbeans::lib::profiler::wireprotocol::CodeRegionCPUResultsResponse org::netbeans::lib::profiler::wireprotocol::DefiningLoaderResponse org::netbeans::lib::profiler::wireprotocol::DumpResultsResponse org::netbeans::lib::profiler::wireprotocol::GetClassIdResponse org::netbeans::lib::profiler::wireprotocol::InstrumentMethodGroupResponse org::netbeans::lib::profiler::wireprotocol::InternalStatsResponse org::netbeans::lib::profiler::wireprotocol::MethodNamesResponse org::netbeans::lib::profiler::wireprotocol::MonitoredNumbersResponse org::netbeans::lib::profiler::wireprotocol::ObjectAllocationResultsResponse org::netbeans::lib::profiler::wireprotocol::ThreadLivenessStatusResponse org::netbeans::lib::profiler::wireprotocol::VMPropertiesResponse

List of all members.


Detailed Description

Instances of this class are sent back by both client and back end (server) in response to some Commands. An instance of the base Response class is used to signal just success or failure (with possible additional error message). Instances of its subclasses are used to pass additional information.

Author:
Misha Dmitriev

Definition at line 55 of file Response.java.


Public Member Functions

String getErrorMessage ()
int getType ()
boolean isOK ()
 Response (String errorMessage)
 Response (boolean yes)
String toString ()
boolean yes ()

Static Public Attributes

static final int CALIBRATION_DATA = 11
static final int CLASSID_RESPONSE = 12
static final int CODE_REGION_CPU_RESULTS = 1
static final int DEFINING_LOADER = 10
static final int DUMP_RESULTS = 5
static final int INSTRUMENT_METHOD_GROUP = 2
static final int INTERNAL_STATS = 3
static final int METHOD_NAMES = 7
static final int MONITORED_NUMBERS = 9
static final int NO_TYPE = 0
static final int OBJECT_ALLOCATION_RESULTS = 6
static final int THREAD_LIVENESS_STATUS = 8
static final int VM_PROPERTIES = 4

Protected Member Functions

 Response (boolean yes, int type)

Protected Attributes

String errorMessage
boolean yes

Package Functions

void readObject (ObjectInputStream in) throws IOException
 Response (int type)
void setErrorMessage (String msg)
void setType (int type)
void setYes (boolean yes)
void writeObject (ObjectOutputStream out) throws IOException

Static Package Functions

static String respTypeToString (int type)

Private Attributes

int type

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

Generated by  Doxygen 1.6.0   Back to index