public class RouteSuggestionReply extends AisApplicationMessage
dac, fi| Constructor and Description |
|---|
RouteSuggestionReply()
Instantiates a new Route suggestion reply.
|
RouteSuggestionReply(BinArray binArray)
Instantiates a new Route suggestion reply.
|
| Modifier and Type | Method and Description |
|---|---|
SixbitEncoder |
getEncoded()
Method that returns six bit encoding of message
|
int |
getMsgLinkId()
Gets msg link id.
|
int |
getRefMsgLinkId()
Gets ref msg link id.
|
int |
getResponse()
Gets response.
|
void |
parse(BinArray binArray)
Method to parse given six bit string
|
void |
setMsgLinkId(int msgLinkId)
Sets msg link id.
|
void |
setRefMsgLinkId(int refMsgLinkId)
Sets ref msg link id.
|
void |
setResponse(int response)
Sets response.
|
String |
toString() |
getDac, getFi, getInstancepublic RouteSuggestionReply()
public RouteSuggestionReply(BinArray binArray) throws SixbitException
binArray - the bin arraySixbitException - the sixbit exceptionpublic void parse(BinArray binArray) throws SixbitException
AisApplicationMessageparse in class AisApplicationMessagebinArray - the bin arraySixbitException - the sixbit exceptionpublic SixbitEncoder getEncoded()
AisApplicationMessagegetEncoded in class AisApplicationMessagepublic int getMsgLinkId()
public void setMsgLinkId(int msgLinkId)
msgLinkId - the msg link idpublic int getRefMsgLinkId()
public void setRefMsgLinkId(int refMsgLinkId)
refMsgLinkId - the ref msg link idpublic int getResponse()
public void setResponse(int response)
response - the responsepublic String toString()
toString in class AisApplicationMessageCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.