From: David ‘Bombe’ Roden Date: Sun, 4 May 2008 14:49:05 +0000 (+0000) Subject: don't forget to connect first, duh! X-Git-Tag: v0.1.1~137 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e661a133eb50f60545cbb0b6ffb6b2f581155abe;p=jFCPlib.git don't forget to connect first, duh! git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@850 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java index 9fd36fd..5032eef 100644 --- a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java +++ b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java @@ -272,6 +272,7 @@ public class HighLevelClient { public HighLevelCallback connect() throws IOException { fcpConnection = new FcpConnection(address, port); fcpConnection.addFcpListener(highLevelClientFcpListener); + fcpConnection.connect(); ClientHello clientHello = new ClientHello(clientName); connectCallback = new HighLevelCallback(new ConnectResult()); fcpConnection.sendMessage(clientHello);