/// <summary> /// Register the packet factory with the packet reader for all packet types it supports /// </summary> /// <param name="packetReader"></param> public void Register(IPacketReader packetReader) { packetReader.RegisterFactory(m_MetricSamplePacketType, this); packetReader.RegisterFactory(m_SampledMetricSamplePacketType, this); packetReader.RegisterFactory(m_EventMetricSamplePacketType, this); packetReader.RegisterFactory(m_CustomSampledMetricSamplePacketType, this); }
/// <summary> /// Register the packet factory with the packet reader for all packet types it supports /// </summary> /// <param name="packetReader"></param> public void Register(IPacketReader packetReader) { packetReader.RegisterFactory(m_SessionStartInfoPacketType, this); packetReader.RegisterFactory(m_SessionEndInfoPacketType, this); packetReader.RegisterFactory(m_SessionFilePacketType, this); packetReader.RegisterFactory(m_ThreadInfoPacketType, this); }
/// <summary> /// Register the packet factory with the packet reader for all packet types it supports /// </summary> /// <param name="packetReader"></param> public void Register(IPacketReader packetReader) { packetReader.RegisterFactory(m_LogMessagePacketType, this); packetReader.RegisterFactory(m_ExceptionInfoPacketType, this); packetReader.RegisterFactory(m_ApplicationUserPacketType, this); }