From 8910934019bdf1720614a36971dd18d2fc6bcb54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 19 Mar 2009 21:19:25 +0100 Subject: [PATCH] =?utf8?q?Actually=20send=20=E2=80=9CListPeers=E2=80=9D=20?= =?utf8?q?command.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/net/pterodactylus/fcp/highlevel/FcpClient.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/net/pterodactylus/fcp/highlevel/FcpClient.java index ecbd62d..fe322e3 100644 --- a/src/net/pterodactylus/fcp/highlevel/FcpClient.java +++ b/src/net/pterodactylus/fcp/highlevel/FcpClient.java @@ -32,6 +32,7 @@ import net.pterodactylus.fcp.EndListPeers; import net.pterodactylus.fcp.FcpAdapter; import net.pterodactylus.fcp.FcpConnection; import net.pterodactylus.fcp.FcpListener; +import net.pterodactylus.fcp.ListPeers; import net.pterodactylus.fcp.NodeHello; import net.pterodactylus.fcp.Peer; import net.pterodactylus.fcp.ProtocolError; @@ -210,6 +211,7 @@ public class FcpClient { } }; fcpConnection.addFcpListener(fcpAdapter); + fcpConnection.sendMessage(new ListPeers("list-peers")); try { while (true) { try { -- 2.7.4