public abstract class AbstractReceiver extends Object implements Receiver
Constructor and Description |
---|
AbstractReceiver() |
Modifier and Type | Method and Description |
---|---|
String |
getSource()
Gets the source from where to receive the messages.
|
Receiver |
setCorrelator(Correlator correlator)
Sets the correlator that will be handling the responses.
|
Receiver |
setSource(String source)
Sets the source from where to receive the messages.
|
Receiver |
setThreads(int threadCount)
Sets the number of threads that will be receiving responses.
|
public final Receiver setThreads(int threadCount)
Receiver
setThreads
in interface Receiver
threadCount
- The number of threads that will be receiving responses.public final Receiver setCorrelator(Correlator correlator)
Receiver
setCorrelator
in interface Receiver
correlator
- The correlator that will be handling the responses.public final String getSource()
Receiver
Copyright © 2010–2017 PerfCake Community. All rights reserved.