DRCL J-Sim API

drcl.intserv
Class IntServToS

java.lang.Object
  extended bydrcl.intserv.IntServToS

public class IntServToS
extends java.lang.Object


Field Summary
static int BEST_EFFORTS_DATA
           
static int CONTROL
           
static long DEST_MASK
           
static long DESTULP_MASK
           
static int QoS_DATA
           
static long SRC_MASK
           
static long SRCULP_MASK
           
static int TYPE_MASK
           
 
Constructor Summary
IntServToS()
           
 
Method Summary
static long getDest(long tos_)
           
static int getDestUlp(long tos_)
           
static long getSource(long tos_)
           
static int getSrcUlp(long tos_)
           
static long getToS(long src_, int srcUlp_, long dest_, int destUlp_, int type_)
           
static int getType(long tos_)
           
static java.lang.String interpretType(InetPacket h_)
           
static java.lang.String interpretType(int type_)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QoS_DATA

public static final int QoS_DATA
See Also:
Constant Field Values

CONTROL

public static final int CONTROL
See Also:
Constant Field Values

BEST_EFFORTS_DATA

public static final int BEST_EFFORTS_DATA
See Also:
Constant Field Values

TYPE_MASK

public static final int TYPE_MASK
See Also:
Constant Field Values

SRC_MASK

public static final long SRC_MASK
See Also:
Constant Field Values

DEST_MASK

public static final long DEST_MASK
See Also:
Constant Field Values

SRCULP_MASK

public static final long SRCULP_MASK
See Also:
Constant Field Values

DESTULP_MASK

public static final long DESTULP_MASK
See Also:
Constant Field Values
Constructor Detail

IntServToS

public IntServToS()
Method Detail

interpretType

public static java.lang.String interpretType(InetPacket h_)

interpretType

public static java.lang.String interpretType(int type_)

getToS

public static long getToS(long src_,
                          int srcUlp_,
                          long dest_,
                          int destUlp_,
                          int type_)

getSource

public static long getSource(long tos_)

getDest

public static long getDest(long tos_)

getSrcUlp

public static int getSrcUlp(long tos_)

getDestUlp

public static int getDestUlp(long tos_)

getType

public static int getType(long tos_)

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~