mil.navy.nps.logger
Class FFwd

java.lang.Object
  extended bymil.navy.nps.logger.FFwd
All Implemented Interfaces:
java.lang.Runnable

public class FFwd
extends java.lang.Object
implements java.lang.Runnable

Fast forwards a thread. Plays items in a vector at top speed.

We have some PDUs loaded in memory. The ffwd button runs through those pdus at top speed, without regard to the timestamps on the PDUs, sending them as quickly as possible.

This is very similar to "play". The only difference is that this pays no attention to the timestamps saved in the PDUs.

Version:
Version 3

Field Summary
(package private)  java.net.InetAddress address
           
(package private)  BehaviorStreamBufferUDP bsbUDP
           
static int DEFAULT_SPEEDUP
           
(package private)  java.lang.String fileName
           
(package private)  boolean looping
           
(package private)  PduPlayer pduPlayer
           
(package private)  int port
           
(package private)  boolean runDone
           
(package private)  int ttl
           
 
Constructor Summary
FFwd(PduPlayer pPlayer, java.lang.String intAddress, int portNumber, int pTtl)
          Constructor for Play Thread
 
Method Summary
 void run()
          Called by the thread to start the process.
 void setRunDone(boolean pStatus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SPEEDUP

public static final int DEFAULT_SPEEDUP
See Also:
Constant Field Values

pduPlayer

PduPlayer pduPlayer

address

java.net.InetAddress address

port

int port

ttl

int ttl

fileName

java.lang.String fileName

runDone

boolean runDone

looping

boolean looping

bsbUDP

BehaviorStreamBufferUDP bsbUDP
Constructor Detail

FFwd

public FFwd(PduPlayer pPlayer,
            java.lang.String intAddress,
            int portNumber,
            int pTtl)
Constructor for Play Thread

Method Detail

setRunDone

public void setRunDone(boolean pStatus)

run

public void run()
Called by the thread to start the process. Loops until told to stop, or until it runs of of PDUs.

Specified by:
run in interface java.lang.Runnable