public class Bbm extends SendSentence
binArray, channel, completePacket, msgId, num, padBits, sequence, sixbitString, totalchecksum, commentBlock, delimiter, encodedFields, formatter, msgChecksum, mssisTimestamp, orgLines, rawSentences, sentenceStr, tags, talker| Constructor and Description |
|---|
Bbm()
Instantiates a new Bbm.
|
| Modifier and Type | Method and Description |
|---|---|
AisMessage |
getAisMessage(int mmsi,
int repeat)
Gets ais message.
|
String |
getEncoded()
Get encoded sentence
|
static boolean |
isBbm(String line)
Is bbm boolean.
|
Vdm |
makeVdm(int mmsi,
int repeat)
Make a single VDM from this BBM
|
int |
parse(SentenceLine sl)
Implemented parse method.
|
int |
parse(String line)
Parse int.
|
encode, setBinaryData, setTextData, setTextData, splitbaseParse, getBinArray, getChannel, getMsgId, getNum, getPadBits, getSequence, getSixbitString, getTotal, isCompletePacket, setBinArray, setChannel, setEncodedMessage, setMessageData, setMsgId, setNum, setPadBits, setSequence, setSixbitString, setTotaladdSingleCommentBlock, convert, finalEncode, findMssisTimestamp, getChecksum, getCommentBlock, getMssisTimestamp, getOrgLines, getOrgLinesJoined, getRawSentences, getRawSentencesJoined, getSourceTag, getStringChecksum, getTags, getTimestamp, hasSentence, parseInt, setDelimiter, setFormatter, setTag, setTags, setTalkerpublic static boolean isBbm(String line)
line - the linepublic String getEncoded()
getEncoded in class Sentencepublic int parse(String line) throws SentenceException, SixbitException
line - the lineSentenceException - the sentence exceptionSixbitException - the sixbit exceptionpublic int parse(SentenceLine sl) throws SentenceException, SixbitException
EncapsulatedSentenceparse in class Sentencesl - the slSixbitException - a SixbitExceptionSentenceException - the sentence exceptionpublic AisMessage getAisMessage(int mmsi, int repeat) throws SentenceException, SixbitException
mmsi - the mmsirepeat - the repeatSentenceException - the sentence exceptionSixbitException - the sixbit exceptionpublic Vdm makeVdm(int mmsi, int repeat) throws SixbitException, SentenceException
mmsi - the mmsirepeat - the repeatSixbitException - the sixbit exceptionSentenceException - the sentence exceptionCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.