org.eclipse.jetty.websocket
Class TestClient
java.lang.Object
org.eclipse.jetty.websocket.TestClient
public class TestClient
- extends Object
- Version:
- $Revision: 3013 $ $Date: 2011-04-13 21:05:35 +1000 (Wed, 13 Apr 2011) $
This is not a general purpose websocket client.
It's only for testing the websocket server and is hardwired to a specific draft version of the protocol.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestClient
public TestClient(String host,
int port,
String protocol,
int timeoutMS)
throws IOException
- Throws:
IOException
getSize
public int getSize()
setSize
public void setSize(int size)
ping
public void ping(int count,
byte opcode,
int fragment)
dump
public void dump()
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.