com.googlecode.mobilityrpc.network.impl
Interface MessageProvider<T>


public interface MessageProvider<T>

An internal interface used by the framework - implemented by objects which can provide messages, for example this can wrap a queue of messages waiting to be processed.

Author:
Niall Gallagher

Method Summary
 T getNextMessage()
          Returns the next message from the source, blocking until one becomes available if necessary.
 

Method Detail

getNextMessage

T getNextMessage()
Returns the next message from the source, blocking until one becomes available if necessary.

Returns:
The next message from the source.


Copyright © 2016. All rights reserved.