| java.lang.Object org.netbeans.lib.profiler.wireprotocol.WireIO
WireIO | public class WireIO (Code) | | Implementation of our custom serialization. We use our own, specialized, simplified and optimized flavor of
object serialization, to improve performance and avoid various things that standard serialization performes
behind the scenes, such as loading of many classes, generating some classes on-the-fly, and so on. These
actions can cause various undesirable side effects when used for such a sensitive thing as profiling.
However, this kind of serialization is not completely automatic, and some manual changes in this class are
required every time a new Command or Response subclass is created. Read the comments in this file to see
where the changes should be made.
author: Misha Dmitriev author: Ian Formanek |
sendSimpleCommand | public synchronized void sendSimpleCommand(int cmdType) throws IOException(Code) | | |
sendSimpleResponse | public synchronized void sendSimpleResponse(boolean yes, String errorMessage) throws IOException(Code) | | |
wasAlive | public long wasAlive()(Code) | | |
|
|