Esempio n. 1
0
        public Object Unmarshal(BinaryReader dataIn)
        {
            StompFrame frame = new StompFrame(this.encodeHeaders);

            frame.FromStream(dataIn);

            Object answer = CreateCommand(frame);

            return(answer);
        }
Esempio n. 2
0
        public Object Unmarshal(BinaryReader dataIn)
        {
            StompFrame frame = new StompFrame(this.encodeHeaders);

            frame.FromStream(dataIn);

            if (Tracer.IsDebugEnabled)
            {
                Tracer.Debug("Unmarshalled frame: " + frame);
            }

            Object answer = CreateCommand(frame);

            return(answer);
        }