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

Interface IOpenConnectionPacket

    • Method Detail

      • getRemoteHost

        String getRemoteHost()
        Returns the remote host, either in the form of a host name, or as IP (v4 or v6) address.
        Returns:
        the remote host, either in the form of a host name, or as IP (v4 or v6) address.
      • getRemotePort

        int getRemotePort()
        Returns the remote port.
        Returns:
        the remote port.
      • getLocalHost

        String getLocalHost()
        Returns the local host, either in the form of a host name, or as an IP (v4 or V6) address.
        Returns:
        the local host, either in the form of a host name, or as an IP (v4 or V6) address.
      • getLocalPort

        int getLocalPort()
        Returns the local port.
        Returns:
        the local port.
      • isIncoming

        boolean isIncoming()
        Whether the connection was initiated by the client (false, or received as an incoming connection to the client (true).
        Returns:
      • getConnectionTypeId

        int getConnectionTypeId()
        If the connection was opened through a specific mean (e.g. a proxy), returns the ID of the connection type that was used to open the connection. The corresponding IConnectionType packet with this ID always occur before the first open packet that references it.
        Returns:
        The connection type ID used to perform the connection, or the constant IOpenConnectionPacket.DIRECT_CONNECTION if the connection is direct.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.