com.mobiledgex.matchingengine.ChannelIterator< T > Class Template Reference

Inherits Iterator< T >.

Public Member Functions

 ChannelIterator (ManagedChannel channel, Iterator< T > iterator)
 
boolean hasNext ()
 
next ()
 
void remove ()
 
void shutdown ()
 

Detailed Description

Simple Iterator wrapper that keeps a GRPC channel reference alive to read data from that channel. This holds a channel resource until no longer referenced.

Parameters
<T>

Member Function Documentation

◆ shutdown()

Shutdown the channel.