Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.tolstoy.imagemeister.DDSource

    java.lang.Object
       |
       +----com.tolstoy.imagemeister.DDSource

Summary

    class  DDSource
         extends java.lang.Object
         implements java.lang.Runnable
    {
              // Fields 2
         DataInputStream dis;
         DDCommandRecipient recipient;

              // Constructors 1
         public DDSource(String, DDCommandRecipient) throws IOException;

              // Methods 3
         Event createEvent(String, String);
         public void run();
         public void sendEvent(String);
    }

Watches a file to which an external program, such as the shell app used to open IM, will occasionally write commands, such as a command to show the about box. When a command is read from this file, an event is created, and sent to the processEvent() method of an object which implements the DDCommandRecipient interface.

Author:
  Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.

Fields

### · dis | Summary | Top

       DataInputStream dis

### · recipient | Summary | Top

       DDCommandRecipient recipient

Constructors

### · DDSource | Summary | Top

       public DDSource(String fileName,
                       DDCommandRecipient recip)  throws IOException

Methods

### · run | Summary | Top

       public void run()

> Implements:
>   run in interface Runnable

### · sendEvent | Summary | Top

       public void sendEvent(String ss)

### · createEvent | Summary | Top

       Event createEvent(String command,
                         String arg)

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7