/* */ throws Throwable
/* */ {
/* 138 */ if (!(invocation.getParameter() instanceof RemoteInvocation)) {
/* 139 */ throw new Exception("invalid request format: expecting RemoteInvocation");
/* */ }
/* 141 */ RemoteInvocation request = (RemoteInvocation)invocation.getParameter();
/* 142 */ String methodName = request.getMethodName();
/* 143 */ Object[] args = request.getParameters();
/* */
/* 145 */ if (methodName.equals("createChat")) {
/* 146 */ return createChat(args);
/* */ }
/* 148 */ if (methodName.equals("join"))