Author: toad
Date: 2009-04-21 22:42:58 +0000 (Tue, 21 Apr 2009)
New Revision: 27174
Added:
trunk/freenet/src/freenet/client/events/ExpectedFileSizeEvent.java
trunk/freenet/src/freenet/client/events/ExpectedMIMEEvent.java
Log:
Doh, missing files
Added: trunk/freenet/src/freenet/client/events/ExpectedFileSizeEvent.java
===================================================================
--- trunk/freenet/src/freenet/client/events/ExpectedFileSizeEvent.java
(rev 0)
+++ trunk/freenet/src/freenet/client/events/ExpectedFileSizeEvent.java
2009-04-21 22:42:58 UTC (rev 27174)
@@ -0,0 +1,21 @@
+package freenet.client.events;
+
+public class ExpectedFileSizeEvent implements ClientEvent {
+
+ public final long expectedSize;
+
+ public ExpectedFileSizeEvent(long size) {
+ expectedSize = size;
+ }
+
+ static final int CODE = 0x0C;
+
+ public int getCode() {
+ return CODE;
+ }
+
+ public String getDescription() {
+ return "Expected file size: "+expectedSize;
+ }
+
+}
Added: trunk/freenet/src/freenet/client/events/ExpectedMIMEEvent.java
===================================================================
--- trunk/freenet/src/freenet/client/events/ExpectedMIMEEvent.java
(rev 0)
+++ trunk/freenet/src/freenet/client/events/ExpectedMIMEEvent.java
2009-04-21 22:42:58 UTC (rev 27174)
@@ -0,0 +1,21 @@
+package freenet.client.events;
+
+public class ExpectedMIMEEvent implements ClientEvent {
+
+ static final int CODE = 0x0B;
+
+ public final String expectedMIMEType;
+
+ public ExpectedMIMEEvent(String type) {
+ this.expectedMIMEType = type;
+ }
+
+ public int getCode() {
+ return CODE;
+ }
+
+ public String getDescription() {
+ return "Expected MIME type: "+expectedMIMEType;
+ }
+
+}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs