Package org.cometd.benchmark.client
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longconvert(long measure)protected voiddisconnectClient(org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClient client)protected org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClienthandshakeClient(java.lang.String url, org.cometd.benchmark.client.CometDLoadClient.ClientTransportType transport, boolean ackExtension)static voidmain(java.lang.String[] args)voidrun()
-
-
-
Method Detail
-
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:
convertin interfaceorg.eclipse.jetty.toolchain.perf.MeasureConverter
-
-