public class WebSocketClient extends Object implements SimpleClient
Constructor and Description |
---|
WebSocketClient() |
WebSocketClient(URI uri) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
submit(RequestMessage requestMessage,
Consumer<ResponseMessage> callback) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
submit
public WebSocketClient()
public WebSocketClient(URI uri)
public void submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception
submit
in interface SimpleClient
Exception
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.