com.ibm.rational.test.lt.trace

Class UDClassDefMsg

    • Constructor Detail

      • UDClassDefMsg

        public UDClassDefMsg()
        Class constructor.
      • UDClassDefMsg

        public UDClassDefMsg(String protocol,
                     String vendor,
                     String version,
                     int id)
        Class constructor specifying various properties.
        Parameters:
        protocol - protocol name (example: "HTTP")
        vendor - vendor name (example: "IBM")
        version - version string (example: "6.1.2.0")
        id - the classDef ID associated with this User Defined msg (example: 1, 2, 3, etc.)
      • UDClassDefMsg

        public UDClassDefMsg(String protocol,
                     String vendor,
                     String version,
                     int id,
                     String name)
        Class constructor specifying various properties.
        Parameters:
        protocol - protocol name (example: "HTTP")
        vendor - vendor name (example: "IBM")
        version - version string (example: "6.1.2.0")
        id - the classDef ID associated with this User Defined msg (example: 1, 2, 3, etc.)
        name - the name of this User Defined class. (example: 'org.third.party.recorder.protocolX_1.0.0.0.MyArbitraryName')
    • Method Detail

      • getID

        public int getID()
        Gets the classDef ID associated with this msg.
        Returns:
        integer reflecting the classDef ID associated with this msg
      • setID

        public void setID(int id)
        Sets the classDef ID associated with this msg. This value will be subsequently used to associate UDMethodDefMsg objects with this classDef. The actual value used here is arbitrary, but generally, a recorder should start these values at 1, and increment by 1 for each classDef defined.
        Parameters:
        id - integer reflecting the classDef ID associated with this msg
      • getName

        public String getName()
        Gets the name of this User Defined class.
        Returns:
        the name of this User Defined class
      • setName

        public void setName(String name)
        Sets the name of this User Defined class.
        Parameters:
        name - the name of this User Defined class
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.