netty-codec-netflow

A pom for deploying to maven central.

Лицензия

Лицензия

Категории

Категории

Сеть Netty Networking
Группа

Группа

com.github.jcustenborder.netty
Идентификатор

Идентификатор

netty-codec-netflow
Последняя версия

Последняя версия

0.0.1.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

netty-codec-netflow
A pom for deploying to maven central.
Ссылка на сайт

Ссылка на сайт

https://github.com/jcustenborder/netty-codec-netflow
Система контроля версий

Система контроля версий

https://github.com/jcustenborder/netty-codec-netflow

Скачать netty-codec-netflow

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.jcustenborder.netty/netty-codec-netflow/ -->
<dependency>
    <groupId>com.github.jcustenborder.netty</groupId>
    <artifactId>netty-codec-netflow</artifactId>
    <version>0.0.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.jcustenborder.netty/netty-codec-netflow/
implementation 'com.github.jcustenborder.netty:netty-codec-netflow:0.0.1.4'
// https://jarcasting.com/artifacts/com.github.jcustenborder.netty/netty-codec-netflow/
implementation ("com.github.jcustenborder.netty:netty-codec-netflow:0.0.1.4")
'com.github.jcustenborder.netty:netty-codec-netflow:jar:0.0.1.4'
<dependency org="com.github.jcustenborder.netty" name="netty-codec-netflow" rev="0.0.1.4">
  <artifact name="netty-codec-netflow" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.jcustenborder.netty', module='netty-codec-netflow', version='0.0.1.4')
)
libraryDependencies += "com.github.jcustenborder.netty" % "netty-codec-netflow" % "0.0.1.4"
[com.github.jcustenborder.netty/netty-codec-netflow "0.0.1.4"]

Зависимости

provided (2)

Идентификатор библиотеки Тип Версия
io.netty : netty-all jar 4.1.7.Final
org.slf4j : slf4j-api jar 1.7.21

test (6)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.0.0-M3
org.junit.jupiter : junit-jupiter-api jar 5.0.0-M3
org.mockito : mockito-all jar 1.10.19
ch.qos.logback : logback-classic jar 1.1.8
com.fasterxml.jackson.core : jackson-databind jar 2.8.5
com.fasterxml.jackson.core : jackson-annotations jar 2.8.5

Модули Проекта

Данный проект не имеет модулей.

Introduction

This project provides support for receiving NetFlow data from network devices using Netty. Currently only NetFlow v9 is supported. There are plans to support NetFlow v5 in a future release.

Usage

Pipeline Configuration

Bootstrap b = new Bootstrap();
b.group(bossGroup)
    .channel(NioDatagramChannel.class)
    .handler(new ChannelInitializer<DatagramChannel>() {
      @Override
      protected void initChannel(DatagramChannel datagramChannel) throws Exception {
        ChannelPipeline channelPipeline = datagramChannel.pipeline();
        channelPipeline.addLast(
            new LoggingHandler("NetFlow", LogLevel.TRACE),
            new NetFlowV9Decoder(),
            new NetFlowV9RequestHandler()
        );
      }
    });

NetFlow Message Processing

class NetFlowV9RequestHandler extends SimpleChannelInboundHandler<NetFlowV9Decoder.NetFlowMessage> {
  @Override
  protected void channelRead0(ChannelHandlerContext channelHandlerContext, NetFlowV9Decoder.NetFlowMessage netFlowMessage) throws Exception {

  }
}

Версии библиотеки

Версия
0.0.1.4
0.0.1.3