Skip to content

Commit

Permalink
Merge branch 'simplify'
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeliso committed Aug 13, 2020
2 parents ed97e72 + 2ebd016 commit 0156df9
Show file tree
Hide file tree
Showing 32 changed files with 489 additions and 1,066 deletions.
26 changes: 2 additions & 24 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,14 @@
## Teflon ##

Teflon is a simple, configurable peer to peer chat application implemented in Java. It uses IPV6 multicast over UDP to transmit, Swing for a user interface, and JSON serialization.

### Modules ###

There are two Maven modules, one implementing the core network event loop, and the other providing a simple Swing wrapper around the former, which is packaged as a runnable Jar.
Teflon is a simple chat application implemented in Java. It uses IPV6 multicast over UDP to transmit, Swing for a user interface, and JSON serialization.

### Generating Binaries ###

mvn install

_note: the resulting runnable Jar will appear at the following path: swing\target\swing-{version}-....jar_

### Configuring ###

You need a configuration file in the working directory of the program, of name "teflon.json".

Here is the documentation on each of the fields:

* udpPort - the port to send and receive on
* bufferLength - the largest message buffer you want to receive
* backlogLength - how many messages to store in memory before dropping
* hostAddress - a host address, probably the IPv6 multicast group address to join
* interfaceName - the network interface name to join a multicast group with

_note: see the provided teflon.json reference in the swing module._

#### Network Interfaces ####

If you run the program with a command line argument -L, it will list the names of all available interfaces.

I may in the future attempt to use some heuristics to automatically select an appropriate network interface, or at least make the selection more user friendly, but this is not yet done.
This program uses heuristics to automatically select an appropriate network interface.

#### Multicast Groups ####

Expand Down
27 changes: 0 additions & 27 deletions core/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions core/pom.xml

This file was deleted.

10 changes: 0 additions & 10 deletions core/src/main/java/module-info.java

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions core/src/main/java/name/maxdeliso/teflon/core/data/Message.java

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0156df9

Please sign in to comment.