public class Abk extends ParametricSentence
| Modifier and Type | Class and Description |
|---|---|
static class |
Abk.Result
Type of acknowledgement
|
checksum, commentBlock, delimiter, encodedFields, formatter, msgChecksum, mssisTimestamp, orgLines, rawSentences, sentenceStr, tags, talker| Constructor and Description |
|---|
Abk()
Instantiates a new Abk.
|
| Modifier and Type | Method and Description |
|---|---|
Character |
getChannel()
Gets channel.
|
int |
getDestination()
Gets destination.
|
String |
getEncoded()
Get the encoded sentence
|
int |
getMsgId()
Gets msg id.
|
Abk.Result |
getResult()
Gets result.
|
int |
getSequence()
Gets sequence.
|
static boolean |
isAbk(String line)
Is abk boolean.
|
boolean |
isSuccess()
Returns if result indicates success
|
int |
parse(SentenceLine sl)
Parse method.
|
void |
setChannel(Character channel)
Sets channel.
|
void |
setDestination(int destination)
Sets destination.
|
void |
setMsgId(int msgId)
Sets msg id.
|
void |
setResult(Abk.Result result)
Sets result.
|
void |
setSequence(int sequence)
Sets sequence.
|
String |
toString() |
baseParseaddSingleCommentBlock, convert, encode, finalEncode, findMssisTimestamp, getChecksum, getCommentBlock, getMssisTimestamp, getOrgLines, getOrgLinesJoined, getRawSentences, getRawSentencesJoined, getSourceTag, getStringChecksum, getTags, getTimestamp, hasSentence, parseInt, setDelimiter, setFormatter, setTag, setTags, setTalkerpublic static boolean isAbk(String line)
line - the linepublic int parse(SentenceLine sl) throws SentenceException
parse in class Sentencesl - the slSentenceException - the sentence exceptionpublic String getEncoded()
getEncoded in class Sentencepublic boolean isSuccess()
public int getDestination()
public void setDestination(int destination)
destination - the destinationpublic Character getChannel()
public void setChannel(Character channel)
channel - the channelpublic int getMsgId()
public void setMsgId(int msgId)
msgId - the msg idpublic int getSequence()
public void setSequence(int sequence)
sequence - the sequencepublic Abk.Result getResult()
public void setResult(Abk.Result result)
result - the resultCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.