/// <summary> /// FCPPluginReplyEventArgs Constructor /// </summary> /// <param name="parsed">a simple MessageParse</param> internal FCPPluginReplyEventArgs(dynamic parsed) { #if DEBUG FCP2Protocol.ArgsDebug(this, parsed); #endif pluginName = parsed.PluginName; dataLength = parsed.DataLength; if (parsed.DataLength.LastConversationSucessfull) { data = null; /* TODO: Similar to AllData*/ throw new NotImplementedException("Unclear format"); /* TODO: Data? EndMessage? */ } identifier = parsed.Identifier; replies = parsed; #if DEBUG parsed.PrintAccessCount(); #endif }
public MessageParserSubElement(MessageParser messageParser, string element) { parentParser = messageParser; name = element; }