TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.jvmti.client.internal.launcher
Class TIDelegateHelper.BFDataProcessorAdapter

java.lang.Object
  extended by org.eclipse.hyades.loaders.util.XMLLoader
      extended by org.eclipse.hyades.loaders.util.BinaryLoader
          extended by org.eclipse.hyades.trace.ui.internal.piclient.XMLTraceDataProcessor
              extended by org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.StatGeneratorDataProcessor
                  extended by org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.ACDataProcessorAdapter
                      extended by org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.BFDataProcessorAdapter
All Implemented Interfaces:
org.eclipse.hyades.execution.core.IDataProcessor, DataProcessor, DataServerListener, ExtendedDataServerListener, org.eclipse.hyades.loaders.util.IXMLLoader, IExtendedLoader
Enclosing class:
TIDelegateHelper

public static class TIDelegateHelper.BFDataProcessorAdapter
extends TIDelegateHelper.ACDataProcessorAdapter


Field Summary
 
Fields inherited from class org.eclipse.hyades.trace.ui.internal.piclient.XMLTraceDataProcessor
BUFFER_SIZE, END_TAG, END_TAG_REPLACE, END_TRACE, fileWriter, firstEvent, ID1_IN, ID1_OUT, ID2_IN, ID2_OUT, INCOMMING_DATA, NEW_LINE, newFile, prevTotalBytesRead, profileFileName, specialProcessing, START_TAG, START_TRACE, startTime, tempRemaining, totalBytesRead, validTag, XML_VERSION, XML_VERSION_TAG
 
Fields inherited from class org.eclipse.hyades.loaders.util.XMLLoader
context, currentAttributeName, currentElementName, currentLoader, debug, defaultLoader, depth, error, file, fragmentsCount, LE_IN, LE_OUT, loaders, p, rootElement, sb, scanner, startDocument
 
Constructor Summary
TIDelegateHelper.BFDataProcessorAdapter(org.eclipse.hyades.models.hierarchy.TRCAgentProxy agentProxy)
           
 
Method Summary
 void endTrace(java.io.OutputStream randomFile)
           
protected  java.lang.String getDumpFileName()
           
protected  boolean isValidTag(byte[] buf, int offset, int length)
           
protected  void loadEventHook(byte[] buffer, int offset, int length)
           
 void startTrace(java.io.OutputStream randomFile)
           
protected  void writeByte(byte[] data, int offset, int length)
           
 void writeXMLVersion(java.io.OutputStream randomFile)
           
 
Methods inherited from class org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.ACDataProcessorAdapter
getActivity, incomingData, incomingData, isEnabled, isProcessAlive, preIncomingData, setEnabled, setProcessAlive
 
Methods inherited from class org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.StatGeneratorDataProcessor
getSizeOfLastEvent, incommingData, incommingData, resetStats
 
Methods inherited from class org.eclipse.hyades.trace.ui.internal.piclient.XMLTraceDataProcessor
checkAndRemoveEndTag, cleanUp, copyFile, copyZip, createWriter, dataServerExited, dispose, getAgentProxy, getProfileFileName, getTimeStamp, getWriter, handleOutOfMemoryError, incommingData, incommingData, incommingStream, invalidDataType, invalidDataType, isNewProfileFile, loadEvent, loadEvent, loadEventHook, loadEvents, makeWriter, notifyListener, renameFile, setProfileFileName, setWriter, startsWith, stopAgent, waitingForData, writeHeader
 
Methods inherited from class org.eclipse.hyades.loaders.util.BinaryLoader
isLoadXml, loadEvents, setLoadXml
 
Methods inherited from class org.eclipse.hyades.loaders.util.XMLLoader
addToResource, attributeName, attributeName, attributeValueCharacters, attributeValueCharacters, characters, checkForStopProcessing, createOutputFile, endDocument, endElement, endElement, error, error, getContext, getLoader, getName, getProcessedFragments, isIgnoredElement, loadEvent, loadEvent, loadEvent, loadEvent, log, log, makeParser, makeScanner, printLoadInfo, processGlobalForwardReferences, restartParser, setCollectionMode, setLoadToModel, startDocument, startElement, startElement, toString, writeToBinaryOutputFile, writeToTextOutputFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.execution.client.core.IDataProcessor
invalidDataType, waitingForData
 

Constructor Detail

TIDelegateHelper.BFDataProcessorAdapter

public TIDelegateHelper.BFDataProcessorAdapter(org.eclipse.hyades.models.hierarchy.TRCAgentProxy agentProxy)
Method Detail

loadEventHook

protected void loadEventHook(byte[] buffer,
                             int offset,
                             int length)
Overrides:
loadEventHook in class XMLTraceDataProcessor

isValidTag

protected boolean isValidTag(byte[] buf,
                             int offset,
                             int length)
Overrides:
isValidTag in class XMLTraceDataProcessor

getDumpFileName

protected java.lang.String getDumpFileName()
Overrides:
getDumpFileName in class XMLTraceDataProcessor

writeByte

protected void writeByte(byte[] data,
                         int offset,
                         int length)
Overrides:
writeByte in class XMLTraceDataProcessor

endTrace

public void endTrace(java.io.OutputStream randomFile)
Overrides:
endTrace in class XMLTraceDataProcessor

writeXMLVersion

public void writeXMLVersion(java.io.OutputStream randomFile)
Overrides:
writeXMLVersion in class XMLTraceDataProcessor

startTrace

public void startTrace(java.io.OutputStream randomFile)
Overrides:
startTrace in class XMLTraceDataProcessor

TPTP 4.5.0 Platform Project
Internal API Specification