public abstract class RouteInformation extends RouteMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
RouteInformation.RouteType
The enum Route type.
|
duration, startDay, startHour, startMin, startMonth, waypointCount, waypointsdac, fi| Constructor and Description |
|---|
RouteInformation(int dac,
int fi)
Instantiates a new Route information.
|
RouteInformation(int dac,
int fi,
BinArray binArray)
Instantiates a new Route information.
|
| Modifier and Type | Method and Description |
|---|---|
SixbitEncoder |
getEncoded()
Method that returns six bit encoding of message
|
int |
getMsgLinkId()
Gets msg link id.
|
int |
getRouteType()
Gets route type.
|
int |
getSenderClassification()
Gets sender classification.
|
void |
parse(BinArray binArray)
Method to parse given six bit string
|
void |
setMsgLinkId(int msgLinkId)
Sets msg link id.
|
void |
setRouteType(int routeType)
Sets route type.
|
void |
setSenderClassification(int senderClassification)
Sets sender classification.
|
String |
toString() |
addWaypoint, encode, getDuration, getStartDay, getStartHour, getStartMin, getStartMonth, getWaypointCount, getWaypoints, setDuration, setStartDay, setStartHour, setStartMin, setStartMonth, setWaypointCount, setWaypointsgetDac, getFi, getInstancepublic RouteInformation(int dac,
int fi)
dac - the dacfi - the fipublic RouteInformation(int dac,
int fi,
BinArray binArray)
throws SixbitException
dac - the dacfi - the fibinArray - the bin arraySixbitException - the sixbit exceptionpublic SixbitEncoder getEncoded()
AisApplicationMessagegetEncoded in class RouteMessagepublic void parse(BinArray binArray) throws SixbitException
AisApplicationMessageparse in class RouteMessagebinArray - the bin arraySixbitException - the sixbit exceptionpublic int getMsgLinkId()
public void setMsgLinkId(int msgLinkId)
msgLinkId - the msg link idpublic int getSenderClassification()
public void setSenderClassification(int senderClassification)
senderClassification - the sender classificationpublic int getRouteType()
public void setRouteType(int routeType)
routeType - the route typepublic String toString()
toString in class RouteMessageCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.