Skip to content

sFlow parser and collector library for Java

License

Notifications You must be signed in to change notification settings

LUMASERV/sflow-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sflow-java

sFlow parser and collector library for Java

Usage

SFlowCollector collector = new SFlowCollector(packet -> {
    for(Sample s : packet.getSamples()) {
        if(s instance FlowSample) {
            FlowSample flowSample = (FlowSample) s;
            // Do what you like
        }
    }
});
collector.join();

Maven

<repository>
    <id>lumaserv</id>
    <url>https://maven.lumaserv.cloud</url>
</repository>
<dependency>
    <groupId>com.lumaserv</groupId>
    <artifactId>sflow-java</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>

About

sFlow parser and collector library for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages