protected void connect() throws Exception {
FloodlightModuleContext fmc = new FloodlightModuleContext();
ThreadPool tp = new ThreadPool();
syncManager = new RemoteSyncManager();
fmc.addService(IThreadPoolService.class, tp);
fmc.addService(ISyncService.class, syncManager);
fmc.addConfigParam(syncManager, "hostname", settings.hostname);
fmc.addConfigParam(syncManager, "port",
Integer.toString(settings.port));
if (settings.authScheme != null) {
fmc.addConfigParam(syncManager, "authScheme",