project-carbon/ProjectCarbon/Protocols/GenericProtocol.cs

21 lines
498 B
C#
Raw Normal View History

2015-06-29 20:48:49 -05:00
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectCarbon.Protocols
{
class GenericProtocol: IpSubProtocol
{
public GenericProtocol()
: base(Protocol.None, "Generic", "This is not a real protocol!")
{
}
public override void ProcessData(byte[] bufferData)
{
m_protocolProperties.Add("Payload", bufferData);
m_protocolProperties.Add("PacketPayload", bufferData);
}
}
}