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 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()
-
-
-
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:
convert
in interfaceorg.eclipse.jetty.toolchain.perf.MeasureConverter
-
-