diff options
Diffstat (limited to 'test/org/gnunet/util/FilePipeExample.java')
-rw-r--r-- | test/org/gnunet/util/FilePipeExample.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/gnunet/util/FilePipeExample.java b/test/org/gnunet/util/FilePipeExample.java index 4b72163..94696c9 100644 --- a/test/org/gnunet/util/FilePipeExample.java +++ b/test/org/gnunet/util/FilePipeExample.java | |||
@@ -13,8 +13,9 @@ import java.nio.ByteBuffer; | |||
13 | public class FilePipeExample { | 13 | public class FilePipeExample { |
14 | public static void main(String... args) { | 14 | public static void main(String... args) { |
15 | 15 | ||
16 | Program.configureLogging("DEBUG", null); | ||
16 | 17 | ||
17 | final Scheduler.FilePipe fp = Scheduler.createFilePipe(new File("test.pipe")); | 18 | final Scheduler.FilePipe fp = Scheduler.openFilePipe(new File("test.pipe")); |
18 | 19 | ||
19 | 20 | ||
20 | Scheduler.addRead(RelativeTime.FOREVER, fp.getSource(), new Scheduler.Task() { | 21 | Scheduler.addRead(RelativeTime.FOREVER, fp.getSource(), new Scheduler.Task() { |