Package org.orekit.gnss.metric.ntrip
Class CasterRecord
- java.lang.Object
-
- org.orekit.gnss.metric.ntrip.Record
-
- org.orekit.gnss.metric.ntrip.CasterRecord
-
public class CasterRecord extends Record
Caster record in source table.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description CasterRecord(String line)Build a caster record by parsing a source table line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanReceiveNMEA()Check if caster can receive NMEA messages.StringgetCountry()Get the country.StringgetFallbackHostOrIPAddress()Get the fallback host or IP address.intgetFallbackPort()Get the fallback port number.StringgetHostOrIPAddress()Get the host or IP address.doublegetLatitude()Get the latitude.doublegetLongitude()Get the longitude.StringgetOperator()Get the institution/agency/company operating the caster.intgetPort()Get the port number.RecordTypegetRecordType()Get the type of record.StringgetSourceIdentifier()Get the source identifier.-
Methods inherited from class org.orekit.gnss.metric.ntrip.Record
getField, getFieldsNumber, getMisc
-
-
-
-
Constructor Detail
-
CasterRecord
public CasterRecord(String line)
Build a caster record by parsing a source table line.- Parameters:
line- source table line
-
-
Method Detail
-
getRecordType
public RecordType getRecordType()
Get the type of record.- Specified by:
getRecordTypein classRecord- Returns:
- type of record
-
getHostOrIPAddress
public String getHostOrIPAddress()
Get the host or IP address.- Returns:
- host or IP address
-
getPort
public int getPort()
Get the port number.- Returns:
- port number
-
getSourceIdentifier
public String getSourceIdentifier()
Get the source identifier.- Returns:
- source identifier
-
getOperator
public String 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
public String 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
public String 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
-
-