|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.eclipse.hyades.execution.recorder.http.remote.GlobalPacketQueue
This class is used to hold a linked list of strings that represent the data obtained from listening to the http data going from browser to server and server to browser. That data is then used to generate XML fragments and then encapsulated in strings. The generated strings are put on this 'queue' in real time, and a separated process pulls the strings off the queue and writes them to the .rec file when no other activity is taking place.
| Field Summary | |
|---|---|
protected java.util.LinkedList |
packetQueue
Deprecated. |
protected PacketWriter |
packetWriter
Deprecated. |
protected boolean |
shuttingDown
Deprecated. |
protected long |
timeOfLastPackedAdd
Deprecated. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
GlobalPacketQueue(PacketWriter writer)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
add(byte[] buf,
int offset,
int len)
Deprecated. |
void |
add(java.lang.String thisPacket)
Deprecated. |
void |
initiateShutdown()
Deprecated. |
java.util.Collection |
removeAll()
Deprecated. Returns the LinkedList representing the queue and creates a new LinkedList to represent the queue. |
protected void |
removeAndWrite()
Deprecated. |
void |
run()
Deprecated. |
protected void |
waitForInactivity()
Deprecated. Sleep until no packet has been added for PACKET_WAIT_TOLERANCE from the previous packet add. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected PacketWriter packetWriter
protected boolean shuttingDown
protected long timeOfLastPackedAdd
protected java.util.LinkedList packetQueue
| Constructor Detail |
public GlobalPacketQueue(PacketWriter writer)
| Method Detail |
public void initiateShutdown()
public void run()
protected void removeAndWrite()
protected void waitForInactivity()
public void add(byte[] buf,
int offset,
int len)
public void add(java.lang.String thisPacket)
public java.util.Collection removeAll()
|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||