The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback
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-1999 The Mozilla Organization.