Browse Source

Change name of adapter to DelugeRpc

pull/407/head
Alon Albert 7 years ago
parent
commit
78afbab9c5
  1. 4
      app/src/main/java/org/transdroid/daemon/Deluge/DelugeRpcAdapter.java
  2. 2
      app/src/main/res/values/strings.xml

4
app/src/main/java/org/transdroid/daemon/Deluge/DelugeDirectAdapter.java → app/src/main/java/org/transdroid/daemon/Deluge/DelugeRpcAdapter.java

@ -86,7 +86,7 @@ import se.dimovski.rencode.Rencode;
* *
* @author alon.albert * @author alon.albert
*/ */
public class DelugeDirectAdapter implements IDaemonAdapter { public class DelugeRpcAdapter implements IDaemonAdapter {
public static final int DEFAULT_PORT = 58846; public static final int DEFAULT_PORT = 58846;
@ -183,7 +183,7 @@ public class DelugeDirectAdapter implements IDaemonAdapter {
private static AtomicInteger requestIdCounter = new AtomicInteger(); private static AtomicInteger requestIdCounter = new AtomicInteger();
private final DaemonSettings settings; private final DaemonSettings settings;
public DelugeDirectAdapter(DaemonSettings settings) { public DelugeRpcAdapter(DaemonSettings settings) {
this.settings = settings; this.settings = settings;
} }

2
app/src/main/res/values/strings.xml

@ -382,7 +382,7 @@
<item>BitTorrent 6+</item> <item>BitTorrent 6+</item>
<item>Buffalo NAS -1.31</item> <item>Buffalo NAS -1.31</item>
<item>Deluge 1.2+</item> <item>Deluge 1.2+</item>
<item>Deluge Direct API</item> <item>Deluge RPC</item>
<item>DLink Router BT</item> <item>DLink Router BT</item>
<item>Ktorrent</item> <item>Ktorrent</item>
<item>qBittorrent</item> <item>qBittorrent</item>

Loading…
Cancel
Save