public interface TyrusServer
| Modifier and Type | Method and Description |
|---|---|
SPIRegisteredEndpoint |
register(SPIEndpoint endpoint)
The register method is called by the SDK when it
has created a web socket endpoint it wishes to be managed.
|
void |
start()
Starts the server.
|
void |
stop()
Stops the server.
|
void |
unregister(SPIRegisteredEndpoint ge)
The SDK calls unregister when it no longer wishes the endpoint to be
in service.
|
void start()
throws IOException
IOException - if something goes wrong.void stop()
SPIRegisteredEndpoint register(SPIEndpoint endpoint) throws javax.websocket.DeploymentException
endpoint - SPIEndpoint to be registered.javax.websocket.DeploymentException - when endpoint cannot be registered.void unregister(SPIRegisteredEndpoint ge)
ge - the endpoint which is going to be unregistered.Copyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.