Beispiel #1
0
        public void Write(IRequestMessage message)
        {
            _chunkWriter.OpenChunk();
            _packStreamWriter.Write(message);
            _chunkWriter.CloseChunk();

            // add message boundary
            _chunkWriter.OpenChunk();
            _chunkWriter.CloseChunk();
        }
        public void Write(IRequestMessage message)
        {
            _chunkWriter.OpenChunk();

            message.Dispatch(this);

            _chunkWriter.CloseChunk();

            // add message boundary
            _chunkWriter.OpenChunk();
            _chunkWriter.CloseChunk();
        }