Package org.orekit.gnss.metric.ntrip
Class CasterRecord
java.lang.Object
org.orekit.gnss.metric.ntrip.Record
org.orekit.gnss.metric.ntrip.CasterRecord
Caster record in source table.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionCasterRecord(String line) Build a caster record by parsing a source table line. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if caster can receive NMEA messages.Get the country.Get the fallback host or IP address.intGet the fallback port number.Get the host or IP address.doubleGet the latitude.doubleGet the longitude.Get the institution/agency/company operating the caster.intgetPort()Get the port number.Get the type of record.Get the source identifier.Methods inherited from class org.orekit.gnss.metric.ntrip.Record
getField, getFieldsNumber, getMisc
-
Constructor Details
-
CasterRecord
Build a caster record by parsing a source table line.- Parameters:
line- source table line
-
-
Method Details
-
getRecordType
Get the type of record.- Specified by:
getRecordTypein classRecord- Returns:
- type of record
-
getHostOrIPAddress
Get the host or IP address.- Returns:
- host or IP address
-
getPort
public int getPort()Get the port number.- Returns:
- port number
-
getSourceIdentifier
Get the source identifier.- Returns:
- source identifier
-
getOperator
Get the institution/agency/company operating the caster.- Returns:
- institution/agency/company operating the caster
-
canReceiveNMEA
public boolean canReceiveNMEA()Check if caster can receive NMEA messages.- Returns:
- true if caster can receive NMEA messages
-
getCountry
Get the country.- Returns:
- country
-
getLatitude
public double getLatitude()Get the latitude.- Returns:
- latitude (rad)
-
getLongitude
public double getLongitude()Get the longitude.- Returns:
- longitude (rad)
-
getFallbackHostOrIPAddress
Get the fallback host or IP address.- Returns:
- fallback host or IP address
-
getFallbackPort
public int getFallbackPort()Get the fallback port number.- Returns:
- fallback port number
-