예제 #1
0
        public Msg ReplyFromServer()
        {
            var name = ReadString();

            try
            {
                lock (ContainerLock())
                {
                    var id = Container().ClassMetadataIdForName(name);
                    return(ClassId.GetWriterForInt(SystemTransaction(), id));
                }
            }
            catch (Db4oException)
            {
            }
            // TODO: send the exception to the client
            return(Failed);
        }