| Constructor and Description |
|---|
WebSocketListener(ISessionFactory sessionFactory,
org.java_websocket.drafts.Draft... drafts) |
WebSocketListener(ISessionFactory sessionFactory,
JSONConfiguration configuration,
org.java_websocket.drafts.Draft... drafts) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed() |
void |
open(String hostname,
int port,
ListenerEvents handler) |
void |
setAsyncRequestHandler(boolean async) |
public WebSocketListener(ISessionFactory sessionFactory, JSONConfiguration configuration, org.java_websocket.drafts.Draft... drafts)
public WebSocketListener(ISessionFactory sessionFactory, org.java_websocket.drafts.Draft... drafts)
public void open(String hostname, int port, ListenerEvents handler)
public void setAsyncRequestHandler(boolean async)
setAsyncRequestHandler in interface ListenerCopyright © 2022. All rights reserved.