se.sics.jipv6.mac
Class IEEE802154Handler

java.lang.Object
  extended by se.sics.jipv6.core.AbstractPacketHandler
      extended by se.sics.jipv6.mac.IEEE802154Handler
All Implemented Interfaces:
PacketHandler

public class IEEE802154Handler
extends AbstractPacketHandler


Field Summary
static int ACKFRAME
           
static int BEACONFRAME
           
static int CMDFRAME
           
static int DATAFRAME
           
static String DESTINATION_MODE
           
static String DESTINATION_PAN_ID
           
static int LONG_ADDRESS
           
static String PAYLOAD_LEN
           
static String SEQ_NO
           
static int SHORT_ADDRESS
           
static String SOURCE_MODE
           
static String SOURCE_PAN_ID
           
static String VERSION
           
 
Fields inherited from class se.sics.jipv6.core.AbstractPacketHandler
lowerLayer
 
Constructor Summary
IEEE802154Handler()
           
 
Method Summary
 void packetReceived(Packet packet)
           
 void printPacket(PrintStream out, Packet packet)
           
 void sendPacket(Packet packet)
           
 
Methods inherited from class se.sics.jipv6.core.AbstractPacketHandler
addUpperLayerHandler, dispatch, getLowerLayerHandler, setLowerLayerHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCE_PAN_ID

public static final String SOURCE_PAN_ID
See Also:
Constant Field Values

SOURCE_MODE

public static final String SOURCE_MODE
See Also:
Constant Field Values

DESTINATION_PAN_ID

public static final String DESTINATION_PAN_ID
See Also:
Constant Field Values

DESTINATION_MODE

public static final String DESTINATION_MODE
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values

SEQ_NO

public static final String SEQ_NO
See Also:
Constant Field Values

PAYLOAD_LEN

public static final String PAYLOAD_LEN
See Also:
Constant Field Values

BEACONFRAME

public static final int BEACONFRAME
See Also:
Constant Field Values

DATAFRAME

public static final int DATAFRAME
See Also:
Constant Field Values

ACKFRAME

public static final int ACKFRAME
See Also:
Constant Field Values

CMDFRAME

public static final int CMDFRAME
See Also:
Constant Field Values

SHORT_ADDRESS

public static final int SHORT_ADDRESS
See Also:
Constant Field Values

LONG_ADDRESS

public static final int LONG_ADDRESS
See Also:
Constant Field Values
Constructor Detail

IEEE802154Handler

public IEEE802154Handler()
Method Detail

packetReceived

public void packetReceived(Packet packet)
Specified by:
packetReceived in interface PacketHandler
Specified by:
packetReceived in class AbstractPacketHandler

sendPacket

public void sendPacket(Packet packet)
Specified by:
sendPacket in interface PacketHandler
Specified by:
sendPacket in class AbstractPacketHandler

printPacket

public void printPacket(PrintStream out,
                        Packet packet)
Overrides:
printPacket in class AbstractPacketHandler