The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.storage.intertwingle.Twingle
All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.intertwingle.Twingle

java.lang.Object
   |
   +----grendel.storage.intertwingle.Twingle

This is the glue between the storage of intertwingle data and the rest of the mail system. It will probably get thrown out or extensively rewritten; I'm still playing.


public class  Twingle
     extends java.lang.Object
     implements java.lang.Runnable
{
          // Fields 6
     private static final boolean DEBUG;
     private static boolean Initialized;
     private static Twingle Singleton;
     protected DB db;
     protected Vector queue;
     protected Thread thread;

          // Constructors 1
     Twingle(File) throws IOException;

          // Methods 6
     public static Twingle GetSingleton();
     static void Spew(String);
     public void add(InternetHeaders, Folder);
     void assert(String, String, String);
     protected void hackAddressList(String, InternetHeaders, String);
     public void run();

          // Inner Classes 1
     class AddCommand
}



Fields


DEBUG

   private static final boolean DEBUG


Singleton

   private static Twingle Singleton


Initialized

   private static boolean Initialized


db

   protected DB db


thread

   protected Thread thread


queue

   protected Vector queue



Constructors


Twingle

   Twingle(File f)  throws IOException



Methods


Spew

   static void Spew(String s) 


GetSingleton

   public static Twingle GetSingleton() 


assert

   void assert(String name, 
               String slot, 
               String value) 


add

   public void add(InternetHeaders headers, 
                   Folder folder) 


hackAddressList

   protected void hackAddressList(String id, 
                                  InternetHeaders headers, 
                                  String slot) 

Find the given header ("to" or "cc"), and assert an entry for each address in it. This needs the code to parse the zillions of different kinds of addresses; for now, we just assume everything is of the form "Full name ".



run

   public void run() 
Implements:
run in interface Runnable


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998.