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 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(String url, org.cometd.benchmark.client.CometDLoadClient.ClientTransportType transport, boolean ackExtension)
static void
main(String[] args)
void
run()
-
Constructor Details
-
CometDLoadClient
public CometDLoadClient()
-
-
Method Details
-
main
- Throws:
Exception
-
run
- Throws:
Exception
-
handshakeClient
protected org.cometd.benchmark.client.CometDLoadClient.LoadBayeuxClient handshakeClient(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
-