Package org.jwebsocket.plugins

Examples of org.jwebsocket.plugins.TokenPlugInChain


   *
   * @param aId
   */
  public TokenServer(ServerConfiguration aServerConfig) {
    super(aServerConfig);
    plugInChain = new TokenPlugInChain(this);
    filterChain = new TokenFilterChain(this);
  }
View Full Code Here


      // link server and engine
      mEngine.addServer(mServer);
      mServer.addEngine(mEngine);

      // add desired plug-ins
      TokenPlugInChain lPlugInChain = mServer.getPlugInChain();
      // the system plug-in is essential to process authentication
      // send and broadcast
      lPlugInChain.addPlugIn(new SystemPlugIn());
      // the FlashBrigde plug-in is strongly recommended to also support
      // non websocket compliant browsers
      lPlugInChain.addPlugIn(new FlashBridgePlugIn());

    }
  }
View Full Code Here

TOP

Related Classes of org.jwebsocket.plugins.TokenPlugInChain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.