com.ibm.rational.test.lt.recorder.core.packet.connection

Interface IConnectionPacket

    • Field Detail

      • DEFAULT_DOMAIN

        static final int DEFAULT_DOMAIN
        The domain ID for packets captured by a recorder which does not support the domain notion.
      • NO_CONNECTION

        static final long NO_CONNECTION
        The return value of IConnectionPacket.getConnectionId() when the packet is not associated to a connection. Depending on the semantics of packets, the return value of IConnectionPacket.getDomainId() may or may not be significant. Packets that have a NO_CONNECTION connection ID are not considered to belong to any connection and are usually ignored by most converters and test generators. Returning NO_CONNECTION allows all implementation classes of a specific packet type to implement IConnectionPacket, even for those few packets that are not actually bound to a connection.
    • Method Detail

      • getConnectionId

        long getConnectionId()
        Returns the ID of the connection that this packet was captured on. This ID is unique within a specific domain of a specific recorder.
        Returns:
        the ID of the connection that this packet was captured on, or IConnectionPacket.NO_CONNECTION if this packet is not tied to a specific connection.
      • getDomainId

        int getDomainId()
        Returns the domain ID that this packet was captured on. The domain notion is optional. A domain is abstract grouping notion that maps to a concrete segmentation of connections by a recorder. This ID is unique within a specific recorder.
        Returns:
        the domain ID that this packet was captured on. Returns IConnectionPacket.DEFAULT_DOMAIN if the recorder does not segment its connections across domains.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.