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 boolean
canReceiveNMEA()
Check if caster can receive NMEA messages.String
getCountry()
Get the country.String
getFallbackHostOrIPAddress()
Get the fallback host or IP address.int
getFallbackPort()
Get the fallback port number.String
getHostOrIPAddress()
Get the host or IP address.double
getLatitude()
Get the latitude.double
getLongitude()
Get the longitude.String
getOperator()
Get the institution/agency/company operating the caster.int
getPort()
Get the port number.RecordType
getRecordType()
Get the type of record.String
getSourceIdentifier()
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:
getRecordType
in 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
-
-