edu.cmu.emulator.controlComm
Class MessageJitter

java.lang.Object
  extended by RealtimeThread
      extended by edu.cmu.emulator.controlComm.MessageJitter

public class MessageJitter
extends RealtimeThread


Field Summary
protected  InetAddress address
           
protected  long msecs
           
protected  int nsecs
           
protected  DatagramPacket packet
           
protected  int port
           
protected  Clock refRTClock
           
protected  byte[] sendBuf
           
protected  DatagramSocket socket
           
protected  int trials
           
protected  long usecs
           
 
Constructor Summary
MessageJitter(InetAddress dst, int dport, long usecs, int trials)
           
 
Method Summary
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usecs

protected long usecs

msecs

protected long msecs

nsecs

protected int nsecs

trials

protected int trials

refRTClock

protected Clock refRTClock

port

protected int port

address

protected InetAddress address

socket

protected DatagramSocket socket

packet

protected DatagramPacket packet

sendBuf

protected byte[] sendBuf
Constructor Detail

MessageJitter

MessageJitter(InetAddress dst,
              int dport,
              long usecs,
              int trials)
        throws SocketException
Throws:
SocketException
Method Detail

run

public void run()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.