org.cid.distribution
Interface MessageEnumeration

All Known Implementing Classes:
DataCombinatorHandler, ListMessageEnumeration, POP3Handler

public interface MessageEnumeration

A message enumeration.

Version:
$Revision: 173 $

Method Summary
 boolean hasMoreMessages()
          Tests if this enumeration contains more elements.
 DistributionMessage nextMessage()
          Returns the next message in this MessageEnumeration.
 

Method Detail

hasMoreMessages

boolean hasMoreMessages()
                        throws DistributionProcessingException,
                               DistributionConfigurationException
Tests if this enumeration contains more elements.

Returns:
Throws:
DistributionException
DistributionProcessingException
DistributionConfigurationException

nextMessage

DistributionMessage nextMessage()
                                throws DistributionProcessingException,
                                       DistributionConfigurationException
Returns the next message in this MessageEnumeration.

Returns:
Throws:
DistributionException
DistributionProcessingException
DistributionConfigurationException


Copyright © 2006 null. All Rights Reserved.