/* */ throws Exception
/* */ {
/* 176 */ String description = (String)args[0];
/* 177 */ ChatMember owner = (ChatMember)args[1];
/* */
/* 179 */ ChatInfo chatInfo = new ChatInfo();
/* 180 */ ExtendedChatInfo extendedChatInfo = new ExtendedChatInfo(chatInfo);
/* */
/* 182 */ Connector connector = new Connector();
/* 183 */ connector.setInvokerLocator("socket://localhost");
/* 184 */ connector.create();
/* 185 */ connector.addInvocationHandler("chatServer", new ChatServer_Impl(extendedChatInfo, this.chatStore.getShutDownGate()));
/* 186 */ connector.start();
/* */
/* 188 */ InvokerLocator chatLocator = connector.getLocator();
/* 189 */ String key = chatLocator.getLocatorURI();
/* 190 */ chatInfo.set_key(key);
/* 191 */ chatInfo.set_description(description);
/* 192 */ chatInfo.set_owner(owner);
/* 193 */ chatInfo.set_origin(new Date());
/* 194 */ extendedChatInfo.addMember(owner);
/* 195 */ this.chatStore.addChat(extendedChatInfo);
/* 196 */ return chatLocator;
/* */ }