Author: toad
Date: 2005-10-21 13:38:36 +0000 (Fri, 21 Oct 2005)
New Revision: 7445
Added:
trunk/freenet/src/freenet/node/SimpleLowLevelClient.java
Removed:
trunk/freenet/src/freenet/node/SimpleClient.java
Modified:
trunk/freenet/src/freenet/node/Node.java
Log:
Rename SimpleClient to SimpleLowLevelClient
Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java 2005-10-21 13:34:42 UTC (rev
7444)
+++ trunk/freenet/src/freenet/node/Node.java 2005-10-21 13:38:36 UTC (rev
7445)
@@ -53,7 +53,7 @@
/**
* @author amphibian
*/
-public class Node implements SimpleClient {
+public class Node implements SimpleLowLevelClient {
public static final int PACKETS_IN_BLOCK = 32;
public static final int PACKET_SIZE = 1024;
Deleted: trunk/freenet/src/freenet/node/SimpleClient.java
===================================================================
--- trunk/freenet/src/freenet/node/SimpleClient.java 2005-10-21 13:34:42 UTC
(rev 7444)
+++ trunk/freenet/src/freenet/node/SimpleClient.java 2005-10-21 13:38:36 UTC
(rev 7445)
@@ -1,26 +0,0 @@
-package freenet.node;
-
-import freenet.keys.ClientCHK;
-import freenet.keys.ClientCHKBlock;
-import freenet.keys.ClientPublishStreamKey;
-
-/**
- * @author amphibian
- *
- * Simple client interface... fetch and push single CHKs. No
- * splitfile decoding, no DBRs, no SSKs, for now.
- *
- * We can build higher layers on top of this.
- */
-public interface SimpleClient {
-
- /**
- * Fetch a key. Return null if cannot retrieve it.
- */
- public ClientCHKBlock getCHK(ClientCHK key);
-
- /**
- * Insert a key.
- */
- public void putCHK(ClientCHKBlock key);
-}
Copied: trunk/freenet/src/freenet/node/SimpleLowLevelClient.java (from rev
7444, trunk/freenet/src/freenet/node/SimpleClient.java)
===================================================================
--- trunk/freenet/src/freenet/node/SimpleClient.java 2005-10-21 13:34:42 UTC
(rev 7444)
+++ trunk/freenet/src/freenet/node/SimpleLowLevelClient.java 2005-10-21
13:38:36 UTC (rev 7445)
@@ -0,0 +1,26 @@
+package freenet.node;
+
+import freenet.keys.ClientCHK;
+import freenet.keys.ClientCHKBlock;
+import freenet.keys.ClientPublishStreamKey;
+
+/**
+ * @author amphibian
+ *
+ * Simple client interface... fetch and push single CHKs. No
+ * splitfile decoding, no DBRs, no SSKs, for now.
+ *
+ * We can build higher layers on top of this.
+ */
+public interface SimpleLowLevelClient {
+
+ /**
+ * Fetch a key. Return null if cannot retrieve it.
+ */
+ public ClientCHKBlock getCHK(ClientCHK key);
+
+ /**
+ * Insert a key.
+ */
+ public void putCHK(ClientCHKBlock key);
+}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs