C# Class IBE.EDDN.EDDNCommunicator

Afficher le fichier Open project: Duke-Jones/ED-IBE Class Usage Examples

Private Properties

Свойство Type Description
ConvertCommodityV3_To_CSVRows String[]
JournalEventRecieved void
RecievedEDDNData void
SendCommodityData_i void
SendDelayTimerCommodity_Elapsed void
SendDelayTimerJournal_Elapsed void
SendDelayTimerMarket_Elapsed void
SendDelayTimerOutfitting_Elapsed void
SendDelayTimerShipyard_Elapsed void
SendJournalData_i void
SendMarketData_i void
SendOutfittingData_i void
SendShipyardData_i void
UpdateRawData void
UpdateRejectedData void
UpdateStatisticData void
UpdateStatisticDataMsg void

Méthodes publiques

Méthode Description
ActivateSender ( ) : void

activatesender the sender

DeactivateSender ( ) : void

deactivates the sender

Dispose ( ) : void
EDDNCommunicator ( ) : System
RegisterJournalScanner ( FileScanner journalScanner ) : void
SendCommodityData ( JObject dataObject ) : void

send the commodity data of this station

SendJournalData ( JObject dataObject ) : void

send the journal data

SendOutfittingData ( JObject dataObject ) : void

send the outfitting data of this station

SendShipyardData ( JObject dataObject ) : void

send the shipyard data of this station

SendingReset ( ) : void
StartEDDNListening ( ) : void

starts EDDN-listening (if already started the EDDN-lister will be stopped and restarted)

StopEDDNListening ( ) : void

stops EDDN-listening if started

UserIdentification ( ) : String

checks and gets the EDDN id

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnLocationChanged ( DataChangedEventArgs e ) : void
OnLocationChanged ( DataTransmittedEventArgs e ) : void

Private Methods

Méthode Description
ConvertCommodityV3_To_CSVRows ( JObject commodityV3Data ) : String[]
JournalEventRecieved ( object sender, FileScanner e ) : void

event-worker for JournalEventRecieved-event

RecievedEDDNData ( object sender, EDDN e ) : void

processing of the recieved data

SendCommodityData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendDelayTimerCommodity_Elapsed ( object source, System e ) : void

timer routine for sending all registered commoditydata to EDDN

SendDelayTimerJournal_Elapsed ( object source, System e ) : void

timer routine for sending all registered data to EDDN

SendDelayTimerMarket_Elapsed ( object source, System e ) : void

timer routine for sending all registered commoditydata to EDDN

SendDelayTimerOutfitting_Elapsed ( object source, System e ) : void

timer routine for sending all registered data to EDDN

SendDelayTimerShipyard_Elapsed ( object source, System e ) : void

timer routine for sending all registered data to EDDN

SendJournalData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendMarketData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendOutfittingData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendShipyardData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

UpdateRawData ( String info ) : void

updates the content of the "recieve" data

UpdateRejectedData ( String info ) : void

updates the content of the "implausible" data

UpdateStatisticData ( int dataCount, string SoftwareID, String relay, String commander ) : void

refreshes the info about software versions and recieved messages

UpdateStatisticDataMsg ( enMessageTypes mType ) : void

refreshes the info about recieved messagetypes

Method Details

ActivateSender() public méthode

activatesender the sender
public ActivateSender ( ) : void
Résultat void

DeactivateSender() public méthode

deactivates the sender
public DeactivateSender ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EDDNCommunicator() public méthode

public EDDNCommunicator ( ) : System
Résultat System

OnLocationChanged() protected méthode

protected OnLocationChanged ( DataChangedEventArgs e ) : void
e DataChangedEventArgs
Résultat void

OnLocationChanged() protected méthode

protected OnLocationChanged ( DataTransmittedEventArgs e ) : void
e DataTransmittedEventArgs
Résultat void

RegisterJournalScanner() public méthode

public RegisterJournalScanner ( FileScanner journalScanner ) : void
journalScanner FileScanner
Résultat void

SendCommodityData() public méthode

send the commodity data of this station
public SendCommodityData ( JObject dataObject ) : void
dataObject JObject
Résultat void

SendJournalData() public méthode

send the journal data
public SendJournalData ( JObject dataObject ) : void
dataObject JObject
Résultat void

SendOutfittingData() public méthode

send the outfitting data of this station
public SendOutfittingData ( JObject dataObject ) : void
dataObject JObject
Résultat void

SendShipyardData() public méthode

send the shipyard data of this station
public SendShipyardData ( JObject dataObject ) : void
dataObject JObject
Résultat void

SendingReset() public méthode

public SendingReset ( ) : void
Résultat void

StartEDDNListening() public méthode

starts EDDN-listening (if already started the EDDN-lister will be stopped and restarted)
public StartEDDNListening ( ) : void
Résultat void

StopEDDNListening() public méthode

stops EDDN-listening if started
public StopEDDNListening ( ) : void
Résultat void

UserIdentification() public méthode

checks and gets the EDDN id
public UserIdentification ( ) : String
Résultat String