|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.websockets.WebSocketServer
public class WebSocketServer
| Constructor Summary | |
|---|---|
WebSocketServer(int port)
|
|
| Method Summary | |
|---|---|
static WebSocketServer |
createSimpleServer(int port)
|
void |
register(java.lang.String name,
WebSocketApplication application)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebSocketServer(int port)
| Method Detail |
|---|
public static WebSocketServer createSimpleServer(int port)
port - the network port to which this listener will bind.
WebSocketServer configured to listen to requests on NetworkListener.DEFAULT_NETWORK_HOST:port, using the specified path as the
server's document root.
public void start()
throws java.io.IOException
java.io.IOExceptionpublic void stop()
public void register(java.lang.String name,
WebSocketApplication application)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||