GithubHelp home page GithubHelp logo

javapgm's Introduction

javapgm

Java implementation of the PGM protocol.

Building

Use Maven to build from source. The following works:

  mvn compile

In addition the project can be built through Eclipse and NetBeans with native Maven integration.

Example usage

Modify testreceive.java for the appropriate network configuration and build the class set.

  java testreceive

Start a PGM publisher on the same or other host, aware of platform specific multicast loop rules. For example using the OpenPGM C package with default wireless adapter:

  ./daytime -lp 3056 -n "wlan0;239.192.0.1"

Monitor the default output:

  Create PGM/UDP socket.
  Received 1 SKB
  #1 from 79.4.63.168.226.140.136: "Thu, 23 May 2013 10:01:32 -0400"
  Received 1 SKB
  #1 from 79.4.63.168.226.140.136: "Thu, 23 May 2013 10:01:33 -0400"
  Received 1 SKB
  #1 from 79.4.63.168.226.140.136: "Thu, 23 May 2013 10:01:34 -0400"
  Received 1 SKB
  #1 from 79.4.63.168.226.140.136: "Thu, 23 May 2013 10:01:35 -0400"

Configure Apache log4j2 for additional trace as required, place JSON or XML into classpath, e.g. log4j2-test.xml:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appenders>
    <Console name="STDOUT" target="SYSTEM_OUT">
      <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
    </Console>
  </appenders>
  <loggers>
    <logger name="org.apache.log4j.xml" level="info"/>
    <root level="debug">
      <appender-ref ref="STDOUT"/>
    </root>
  </loggers>
</configuration>

Resources

Website: https://code.google.com/p/openpgm/

Development mailing list: [email protected]

Apache log4j2: http://logging.apache.org/log4j/2.x/

Copying

Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL). For details see the file COPYING included with the JavaPGM distribution.

javapgm's People

Contributors

steve-o avatar

Watchers

Frédéric Déléchamp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.