Class BinaryToMessageIterable

  • All Implemented Interfaces:
    Iterable<Messages.Envelope>

    public class BinaryToMessageIterable
    extends Object
    implements Iterable<Messages.Envelope>
    Iterates over messages read from a stream. Client code should not depend on this class directly, but rather on a Iterable<Messages.Envelope> object. Tests can then use a new ArrayList<Messages.Envelope> which implements the same interface.