public abstract class AbstractAisBStaticDataReport extends Object implements AisMessage, HasMmsi
Modifier and Type | Field and Description |
---|---|
static int |
PART_NUMBER_A |
static int |
PART_NUMBER_B |
Modifier | Constructor and Description |
---|---|
protected |
AbstractAisBStaticDataReport(int partNumber,
AisExtractorFactory factory,
String source,
AisExtractor extractor) |
Modifier and Type | Method and Description |
---|---|
static int |
extractPartNumber(AisExtractorFactory factory,
String message,
int padBits) |
protected AisExtractor |
getExtractor() |
int |
getMessageId()
Returns the ais message id.
|
int |
getMmsi() |
int |
getPartNumber() |
int |
getRepeatIndicator() |
String |
getSource()
Returns the source of the ais message.
|
public static final int PART_NUMBER_A
public static final int PART_NUMBER_B
protected AbstractAisBStaticDataReport(int partNumber, AisExtractorFactory factory, String source, AisExtractor extractor)
public static int extractPartNumber(AisExtractorFactory factory, String message, int padBits)
protected AisExtractor getExtractor()
public int getMessageId()
AisMessage
getMessageId
in interface AisMessage
public int getRepeatIndicator()
public int getPartNumber()
public String getSource()
AisMessage
getSource
in interface AisMessage
Copyright © 2020. All rights reserved.