javax.net.websocket
Interface ServerContainer

All Superinterfaces:
ClientContainer
All Known Implementing Classes:
TyrusServerContainer

public interface ServerContainer
extends ClientContainer

The ServerContainer is an implementation provided object that, in addition to being able to initiate web socket connections (client), can register endpoints that can handle incoming connection requests.

Since:
DRAFT 001
Author:
dannycoward

Method Summary
 void publishServer(Endpoint endpoint, ServerEndpointConfiguration ilc)
          Publish the given endpoint with the provided configuration information.
 
Methods inherited from interface javax.net.websocket.ClientContainer
connectToServer, getActiveSessions, getInstalledExtensions, getMaxBinaryMessageBufferSize, getMaxSessionIdleTimeout, getMaxTextMessageBufferSize, setMaxBinaryMessageBufferSize, setMaxSessionIdleTimeout, setMaxTextMessageBufferSize
 

Method Detail

publishServer

void publishServer(Endpoint endpoint,
                   ServerEndpointConfiguration ilc)
                   throws ConnectException
Publish the given endpoint with the provided configuration information.

Parameters:
endpoint - the endpoint to be deployed.
ilc - the endpoint configuration that the runtime should use to deploy the endpoint.
Throws:
ConnectException


Copyright © 2012. All Rights Reserved.