git-svn-id: svn://db.shs.com.ru/libs@563 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -125,25 +125,37 @@ void QPIIntrospector::peerReceived(const PIString & from, const PIByteArray & da
|
||||
PIByteArray pba;
|
||||
while (!cs.atEnd()) {
|
||||
switch (cs.read()) {
|
||||
case 1: {
|
||||
case PIIntrospection::itInfo: {
|
||||
cs.get(pba);
|
||||
PIIntrospection::ProcessInfo info;
|
||||
PIIntrospection::unpackInfo(pba, info);
|
||||
showInfo(info);
|
||||
} break;
|
||||
case 2: {
|
||||
case PIIntrospection::itProcStat: {
|
||||
cs.get(pba);
|
||||
PIIntrospection::ProcessStat stat;
|
||||
PIIntrospection::unpackProcStat(pba, stat);
|
||||
//showInfo(info);
|
||||
} break;
|
||||
case PIIntrospection::itContainers: {
|
||||
cs.get(pba);
|
||||
PIMap<uint, PIIntrospectionContainers::Type> data;
|
||||
PIMap<uint, PIString> typenames;
|
||||
PIIntrospection::unpackContainers(pba, data, typenames);
|
||||
widgetContainers->showContainers(data, typenames);
|
||||
} break;
|
||||
case 4: {
|
||||
case PIIntrospection::itObjects: {
|
||||
cs.get(pba);
|
||||
PIVector<PIIntrospection::ObjectInfo> objects;
|
||||
PIIntrospection::unpackObjects(pba, objects);
|
||||
widgetObjects->showObjects(objects);
|
||||
} break;
|
||||
case PIIntrospection::itThreads: {
|
||||
cs.get(pba);
|
||||
PIVector<PIIntrospectionThreads::ThreadInfo> threads;
|
||||
PIIntrospection::unpackThreads(pba, threads);
|
||||
widgetThreads->showThreads(threads);
|
||||
} break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user