IPv6TestAdapter v47 build 0.8

com.testingtech.ttcn.tri
Class RoutingEntry

java.lang.Object
  extended bycom.testingtech.ttcn.tri.RoutingEntry

public class RoutingEntry
extends java.lang.Object

The class to build the key for the send hashmap. The key consists of the IPv6 address and the componentId.

Author:
dte

Constructor Summary
RoutingEntry(byte[] ipv6Address, TriComponentId componentId)
          The constructor of the class
 
Method Summary
 boolean equals(java.lang.Object re)
           
 TriComponentId getComponentId()
           
 byte[] getIpv6Address()
           
 int hashCode()
           
 void setComponentId(TriComponentId componentId)
           
 void setIpv6Address(byte[] ipv6Address)
           
 java.lang.String toString()
          Returns a string in the format "ipv6Address: " + the hex representation of the IPv6 address, "componentId: " and the component.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoutingEntry

public RoutingEntry(byte[] ipv6Address,
                    TriComponentId componentId)
The constructor of the class

Parameters:
ipv6Address - The IPv6 address
componentId - The component
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object re)

getIpv6Address

public byte[] getIpv6Address()
Returns:
Returns the ipv6Address.

setIpv6Address

public void setIpv6Address(byte[] ipv6Address)
Parameters:
ipv6Address - The ipv6Address to set.

getComponentId

public TriComponentId getComponentId()
Returns:
Returns the componentId.

setComponentId

public void setComponentId(TriComponentId componentId)
Parameters:
componentId - The componentId to set.

toString

public java.lang.String toString()
Returns a string in the format "ipv6Address: " + the hex representation of the IPv6 address, "componentId: " and the component.


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.