// 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());
}
}