-
Notifications
You must be signed in to change notification settings - Fork 44
MultiFormat
ebiiii edited this page Oct 16, 2014
·
1 revision
##Handling a Custom Protocols
In many cases, your data sources will emit structured data that respect a predefined format. Such a format is called a protocol. It is of course possible to do the data extraction from the received data packets with your own code. However, when these protocols are complex, the task is not that easy and it can consume a lot of time.
This is why GSN ships with the jnetstream packet decoding library. To use it with your protocol, you only need to describe your packets structure in a C-like syntax. You will be able to update the protocol definition without recompiling the parser. For more information, please consult http://jnetstream.sourceforge.net.