You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.XOVERMessagesEnumeration

java.lang.Object
   |
   +----grendel.storage.XOVERMessagesEnumeration

An enumeration object that reads XOVER data from a stream, and returns successive NewsMessage objects. It streams; the enumeration will block when there is no data ready on the stream.


class  XOVERMessagesEnumeration
     extends java.lang.Object
     implements java.util.Enumeration
{
          // Fields 8
     private static final boolean DEBUG;
     private byte[] buf;
     private int debug_count;
     private NewsFolder folder;
     private int max_bytes;
     private NewsMessage next_value;
     private NNTPConnection nntp;
     private NNTPDotTerminatedInputStream s;

          // Constructors 1
     XOVERMessagesEnumeration(NewsFolder, NNTPConnection, NNTPDotTerminatedInputStream);

          // Methods 3
     public boolean hasMoreElements();
     public Object nextElement();
     private NewsMessage read_one();
}



Fields


DEBUG

   private static final boolean DEBUG


debug_count

   private int debug_count


s

   private NNTPDotTerminatedInputStream s


folder

   private NewsFolder folder


nntp

   private NNTPConnection nntp


max_bytes

   private int max_bytes


buf

   private byte[] buf


next_value

   private NewsMessage next_value



Constructors


XOVERMessagesEnumeration

   XOVERMessagesEnumeration(NewsFolder folder, 
                            NNTPConnection nntp, 
                            NNTPDotTerminatedInputStream s) 



Methods


read_one

   private NewsMessage read_one() 


nextElement

   public Object nextElement() 
Implements:
nextElement in interface Enumeration


hasMoreElements

   public boolean hasMoreElements() 
Implements:
hasMoreElements in interface Enumeration


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4