public class ActivityRepairFilter extends java.lang.Object implements BufferedMesgListener, MesgSource
Constructor and Description |
---|
ActivityRepairFilter() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(MesgListener mesgListener)
Adds a MesgListener to the MesgSource.
|
boolean |
canRepairFile() |
void |
flushMesgs()
Call once all Mesgs from the MesgSource have been received.
|
void |
onMesg(Mesg mesg)
MesgListener implementation.
|
public void onMesg(Mesg mesg)
onMesg
in interface MesgListener
mesg
- the incoming Mesg to be processedpublic void addListener(MesgListener mesgListener)
addListener
in interface MesgSource
mesgListener
- the mesgListener to add to the MesgSourcepublic boolean canRepairFile()
public void flushMesgs()
flushMesgs
in interface BufferedMesgListener