Examples of TokenPlugInChain


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

Examples of org.jwebsocket.plugins.TokenPlugInChain

      // 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
Copyright © 2018 www.massapi.com. 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.