driver
Class ip

java.lang.Object
  extended by driver.ip

public class ip
extends java.lang.Object

Small scenario that tests stuff below the IP layer on the network stack.

Since:
JIST1.0

Nested Class Summary
static class ip.MyIpHandler
           
 
Field Summary
static short MY_PROTOCOL
           
static java.lang.String RADIO_STRING_ADDITIVE
           
static java.lang.String RADIO_STRING_INDEPENDENT
           
static int RADIO_TYPE_ADDITIVE
           
static int RADIO_TYPE_INDEPENDENT
           
 
Constructor Summary
ip()
           
 
Method Summary
static NetInterface createNode(Field field, int i, Location location, RadioNoise radio, NetAddress addr, NetInterface.NetHandler nethandler)
           
static RadioNoise createRadio(int type, int i, RadioInfo.RadioInfoShared radioInfoShared)
           
static void main(java.lang.String[] args)
          Program entry point: small IP-layer-and-below two-node test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RADIO_TYPE_INDEPENDENT

public static final int RADIO_TYPE_INDEPENDENT
See Also:
Constant Field Values

RADIO_TYPE_ADDITIVE

public static final int RADIO_TYPE_ADDITIVE
See Also:
Constant Field Values

RADIO_STRING_INDEPENDENT

public static final java.lang.String RADIO_STRING_INDEPENDENT
See Also:
Constant Field Values

RADIO_STRING_ADDITIVE

public static final java.lang.String RADIO_STRING_ADDITIVE
See Also:
Constant Field Values

MY_PROTOCOL

public static final short MY_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

ip

public ip()
Method Detail

createNode

public static NetInterface createNode(Field field,
                                      int i,
                                      Location location,
                                      RadioNoise radio,
                                      NetAddress addr,
                                      NetInterface.NetHandler nethandler)

createRadio

public static RadioNoise createRadio(int type,
                                     int i,
                                     RadioInfo.RadioInfoShared radioInfoShared)

main

public static void main(java.lang.String[] args)
Program entry point: small IP-layer-and-below two-node test.

Parameters:
args - command-line parameters