|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SPIWebSocketProvider
The SPIWebSocketProvider is the starting point of the provider SPI. The provider must implement this class with a public no args constructor. The new provider can be configured in the web.xml of the web application requesting the new provider by specifying a servlet context initialization parameter of key org.glassfish.websocket.provider.class and value the fully qualified classname of the provider class.
| Method Summary | |
|---|---|
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 |
unregister(SPIRegisteredEndpoint ge)
The SDK calls unregister when it no longer wishes the endpoint to be in service. |
| Method Detail |
|---|
SPIRegisteredEndpoint register(SPIEndpoint endpoint)
endpoint - SPIEndpoint to be registered.
void unregister(SPIRegisteredEndpoint ge)
ge - the endpoint which is going to be unregistered.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||