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.XOVERMessagesEnumeration
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.