mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
[WIP] Updates the passport decoder to use the new LTRDecoder.
Deprecates the Listener<Boolean> interface method in the MessageFramer to optimize for primitive booleans and reduce impact on memory. Will remove this interface once the AFSK1200 decoders are updated.
This commit is contained in:
@@ -66,8 +66,7 @@ public class MessageFramer implements Listener<Boolean>, SyncDetectProvider
|
||||
mMessageAssemblers.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void receive(Boolean bit)
|
||||
public void receive(boolean bit)
|
||||
{
|
||||
mMatcher.receive(bit);
|
||||
|
||||
@@ -105,6 +104,13 @@ public class MessageFramer implements Listener<Boolean>, SyncDetectProvider
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated //Legacy support ... remove once all producers are converted to use receive(boolean bit) method
|
||||
@Override
|
||||
public void receive(Boolean bit)
|
||||
{
|
||||
receive(bit);
|
||||
}
|
||||
|
||||
/**
|
||||
* Causes all messages currently under assembly to be forcibly
|
||||
* sent (ie flushed) to all registered message listeners, and
|
||||
|
||||
Reference in New Issue
Block a user