Interface RequestProducer<T extends OutgoingMessage>
- Type Parameters:
- T- The type of the requests produced by the current- RequestProducer
- All Known Implementing Classes:
- LiveScoutClientAliveProducer,- LiveScoutUserRequestManagerImpl,- RequestProducerBase,- RequestProducerComposite
public interface RequestProducer<T extends OutgoingMessage>
Represents a class which is capable of producing messages for the betradar server.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetListener(RequestProducerListener<T> listener) Sets theRequestProducerListenerused to observe the currentRequestProducervoidstart()Instructs theRequestProducerto start generating requests.voidstop()Instructs theRequestProducerto stop generating requests;
- 
Method Details- 
setListenerSets theRequestProducerListenerused to observe the currentRequestProducer- Parameters:
- listener- The listener used to observer the current- RequestProducer
 
- 
startvoid start()Instructs theRequestProducerto start generating requests.
- 
stopvoid stop()Instructs theRequestProducerto stop generating requests;
 
-