Skip to content

Instantly share code, notes, and snippets.

@epickrram
Last active June 23, 2016 14:03
Show Gist options
  • Save epickrram/90ff8427ee7cc7b7a56b613ce952790b to your computer and use it in GitHub Desktop.
Save epickrram/90ff8427ee7cc7b7a56b613ce952790b to your computer and use it in GitHub Desktop.
/**
* Callback for UDP-specific statistics in /proc/net/snmp.
*/
@FunctionalInterface
public interface SnmpUdpStatisticsHandler
{
/**
* Callback method.
* @param inErrors InErrors count
* @param receiveBufferErrors RecvbufErrors count
* @param inChecksumErrors InCsumErrors count
*/
void onStatisticsUpdated(final long inErrors,
final long receiveBufferErrors,
final long inChecksumErrors);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment