Logo
Distributed Genetic Programming Framework
print print

Package org.sfc.net.p2p

Here you can find all the information about the org.sfc.net.p2p package. You may explore the package using the directory listing below. This listing contains all the files contained directly in this package and all its sub-packages. There you can either download a file directly (by clicking on the "download"-link) or read it online (by clicking on its direct link left in the directoy listing. Further information about the package's contents is given at the bottom of this page.

Directory Listing

org.sfc.net.p2p
  ├External.javadownload download5.027 KB2015-07-22 04:11:12 GMT+0000
  ├IPeerToPeer.javadownload download2.505 KB2015-07-22 04:11:12 GMT+0000
  ├package.htmldownload download1.354 KB2015-07-22 04:11:12 GMT+0000
  ├PeerToPeer.javadownload download15.044 KB2015-07-22 04:11:12 GMT+0000
  ├PendingExternalsThread.javadownload download5.934 KB2015-07-22 04:11:12 GMT+0000
  ├SocketBuffer.javadownload download2.820 KB2015-07-22 04:11:12 GMT+0000
  └SocketThread.javadownload download3.257 KB2015-07-22 04:11:12 GMT+0000

The peer-to-peer package of the SFC allows you to create robust and lightweight peer-to-peer applications.

Package Specification

The peer-to-peer package of the SFC allows you to create robust and lightweight peer-to-peer applications.

The central point of the whole thing is the PeerToPeer-class. It represents one single peer-to-peer node running on a computer. This node is client and server at the same time. It has the following features:

  1. Create a sparsely connected network of a random amount of computers.
  2. Any peer might open a connection to any other peer it knows at any time.
  3. If connection is currently not possible, maybe due to traffic/computational overload, the peer is internally marked as faulty and enqueued into a list. In longer getting cycles, it is tried to connect to the peer again. After a long time without responses, the peer is removed from the list. Therefore, any new peer contacting your node will be used instead.
  4. Connections are accepted and buffered. If two many pending connections are buffered, older ones will be closed automatically, leading to our node being marked as faulte on the connecting node.

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2015-07-22 04:10:53 GMT+0000 served at 2017-12-13 22:26:27 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo