IPv6TestAdapter v47 build 0.8

com.testingtech.ttcn.tri
Class JpcapRunnable

java.lang.Object
  extended bycom.testingtech.ttcn.tri.JpcapRunnable
All Implemented Interfaces:
java.lang.Runnable, TestAdapterDefinitions

public class JpcapRunnable
extends java.lang.Object
implements java.lang.Runnable, TestAdapterDefinitions

The intention of this class is to handle all the received messages and enqueue them based on the information of the MAC address and the rcvMap to the TTCN-3 components. In case of well known addresses the specific handling(e.g. enqueuing to all components) is done.

Author:
ldte

Field Summary
 
Fields inherited from interface com.testingtech.ttcn.tri.TestAdapterDefinitions
CFG_TA_PORT, CfgMessage, CFGPORT, ETHERNETPORT, GLA, HOST_ROLE, IP_ALLNODESMCA, IP_ALLROUTERSMCA, IPPORT, IPv6FRAMETYPE, IPV6NODEPARAMSLIST, LLA, MAC_ALLNODESMCA, MAC_ALLROUTERSMCA, MACFILTERLIST, MACSOLNODEMCA, MACUCA, MODULEPAR_NOT_FOUND, NETDEVICEID, PX_LLA_HS01, PX_LLA_HS02, PX_LLA_RT01_A, PX_LLA_RT01_B, PX_LLA_RT02_A, PX_LLA_RT02_B, ROLE, ROUTER_ROLE, SCOPPORT, SCOPXPORT, SOLNODEMCA, TRIENQUEUEMSG_MACADDRESS_NOT_CONFIGURED, TRIENQUEUEMSG_NO_COMPONENT_FOUND, TRISEND_DST_IPADDRESS_CONFIGURE_ERROR, TRISEND_JPCAPSENDER_ERROR, TRISEND_ND_CONFIGURE_ERROR, TRISEND_ND_MAC_CONFIGURE_ERROR, TRISEND_SRC_IPADDRESS_CONFIGURE_ERROR, TSIPORTID_NOT_FOUND
 
Constructor Summary
JpcapRunnable(de.tu_berlin.cs.uebb.muttcn.runtime.RB rb, Jpcap jpcap, java.lang.String netDeviceId, java.util.HashMap portMap, java.util.HashMap rcvMap)
          The constructor of the class.
 
Method Summary
 void cancel()
          Cancels the running receiver thread
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpcapRunnable

public JpcapRunnable(de.tu_berlin.cs.uebb.muttcn.runtime.RB rb,
                     Jpcap jpcap,
                     java.lang.String netDeviceId,
                     java.util.HashMap portMap,
                     java.util.HashMap rcvMap)
The constructor of the class.

Parameters:
rb - The runtime used.
jpcap - The Jpcap instance for capturing.
netDeviceId - The net device used.
portMap - The portMap including the component and tsiPort information.
rcvMap - The receive hashmap inlcuding all information for the enqueuing(together with th portMap).
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

cancel

public void cancel()
Cancels the running receiver thread


IPv6TestAdapter v47 build 0.8

Submit a bug or feature

IPv6TestAdapter is a trademark or registered trademark of Testing Technologies IST GmbH in Germany and possibly in other countries.
(c) Copyright 2001-2005 Testing Technologies IST GmbH, Rosenthaler Str. 13, 10119 Berlin, Germany. All Rights Reserved.