/// <summary>
 ///
 /// </summary>
 /// <param name="type"></param>
 public FTPMessageData(FTPMessageType type)
 {
     Header  = MessageHeader.Clone() as char[];
     Type    = type;
     Message = string.Empty;
     Data    = null;
 }
Exemple #2
0
        public object Clone()
        {
            var ret = new AudioMessage
            {
                MessageHeader = (MessageHeader)MessageHeader.Clone()
            };

            ret.MessageHeader.MessageStreamId = null;
            ret.Data = Data;
            return(ret);
        }