Class CometDLoadClient

java.lang.Object
org.cometd.benchmark.client.CometDLoadClient
All Implemented Interfaces:
org.eclipse.jetty.toolchain.perf.MeasureConverter

public class CometDLoadClient
extends java.lang.Object
implements org.eclipse.jetty.toolchain.perf.MeasureConverter
  • Constructor Summary

    Constructors
    Constructor Description
    CometDLoadClient()  
  • Method Summary

    Modifier and Type Method Description
    long convert​(long measure)  
    protected void disconnectClient​(org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClient client)  
    protected org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClient handshakeClient​(java.lang.String url, org.cometd.benchmark.client.CometDLoadClient.ClientTransportType transport, boolean ackExtension)  
    static void main​(java.lang.String[] args)  
    void run()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CometDLoadClient

      public CometDLoadClient()
  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • run

      public void run() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • handshakeClient

      protected org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClient handshakeClient​(java.lang.String url, org.cometd.benchmark.client.CometDLoadClient.ClientTransportType transport, boolean ackExtension)
    • disconnectClient

      protected void disconnectClient​(org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClient client)
    • convert

      public long convert​(long measure)
      Specified by:
      convert in interface org.eclipse.jetty.toolchain.perf.MeasureConverter