diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..90f81ed --- /dev/null +++ b/.classpath @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..8ae7f3d --- /dev/null +++ b/.project @@ -0,0 +1,23 @@ + + + mytorrent + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..5723a0f --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed5d4e4 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +## My Torrent + + Cliente Torrent implementado em java, projeto de referencia a implementaĆ§Ć£o do protocolo biTorrent do artigo em [Blog](https://app.gitbook.com/@gilberto-tec/s/blog/java/torrent-client). + Que deus me ajude a terminar no natal kkk!!! + +## Referencias + [WikiBitTorrent](https://wiki.theory.org/index.php/Main_Page) + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..35d5cf1 --- /dev/null +++ b/pom.xml @@ -0,0 +1,6 @@ + + 4.0.0 + org.voyager + mytorrent + 0.0.1-SNAPSHOT + \ No newline at end of file diff --git a/src/main/java/org/voyager/torrent/Main.java b/src/main/java/org/voyager/torrent/Main.java new file mode 100644 index 0000000..4cffc62 --- /dev/null +++ b/src/main/java/org/voyager/torrent/Main.java @@ -0,0 +1,12 @@ +package org.voyager.torrent; + +import org.voyager.torrent.client.ClientTorrent; + +public class Main { + + public static void main(String[] args) { + ClientTorrent mytorrent = new ClientTorrent(); + + } + +} diff --git a/src/main/java/org/voyager/torrent/client/ClientTorrent.java b/src/main/java/org/voyager/torrent/client/ClientTorrent.java new file mode 100644 index 0000000..816e7b7 --- /dev/null +++ b/src/main/java/org/voyager/torrent/client/ClientTorrent.java @@ -0,0 +1,5 @@ +package org.voyager.torrent.client; + +public class ClientTorrent { + +} diff --git a/target/classes/org/voyager/torrent/Main.class b/target/classes/org/voyager/torrent/Main.class new file mode 100644 index 0000000..e882787 Binary files /dev/null and b/target/classes/org/voyager/torrent/Main.class differ diff --git a/target/classes/org/voyager/torrent/client/ClientTorrent.class b/target/classes/org/voyager/torrent/client/ClientTorrent.class new file mode 100644 index 0000000..a033602 Binary files /dev/null and b/target/classes/org/voyager/torrent/client/ClientTorrent.class differ