C# Class IBE.EDSM.EDStarmapInterface

ファイルを表示 Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
EDStarmapInterface ( DBConnector dbConnection ) : Newtonsoft.Json
GetDataFromServer ( String commandstring ) : dynamic
GetSystemComment ( String systemName ) : String
GetSystemComment ( String systemName, System.DateTime timestamp ) : String
JournalEventRecieved ( object sender, FileScanner e ) : void

event-worker for JournalEventRecieved-event

LoginTest ( ) : ErrorCodes
ServerStatus ( ) : ServerStatus
TransmitCommentExtension ( String systemName, String stationName, string commentExtension, System.DateTime dateVisited ) : void
TransmitVisit ( String systemName, Double x, Double y, Double z, System.DateTime dateVisited ) : void
i_TransmitQueuedData ( object sender, System e ) : void
registerJournalScanner ( FileScanner JournalScanner ) : void

register the LogfileScanner in the CommandersLog for the DataEvent

Private Methods

Method Description
M_SendTimer_Elapsed ( object sender, System e ) : void
RemoveApiKey ( string request ) : string
i_TransmitComment ( EDSMTransmissionData data ) : void
i_TransmitVisit ( EDSMTransmissionData data ) : void

Method Details

EDStarmapInterface() public method

public EDStarmapInterface ( DBConnector dbConnection ) : Newtonsoft.Json
dbConnection DBConnector
return Newtonsoft.Json

GetDataFromServer() public method

public GetDataFromServer ( String commandstring ) : dynamic
commandstring String
return dynamic

GetSystemComment() public method

public GetSystemComment ( String systemName ) : String
systemName String
return String

GetSystemComment() public method

public GetSystemComment ( String systemName, System.DateTime timestamp ) : String
systemName String
timestamp System.DateTime
return String

JournalEventRecieved() public method

event-worker for JournalEventRecieved-event
public JournalEventRecieved ( object sender, FileScanner e ) : void
sender object
e FileScanner
return void

LoginTest() public method

public LoginTest ( ) : ErrorCodes
return ErrorCodes

ServerStatus() public method

public ServerStatus ( ) : ServerStatus
return ServerStatus

TransmitCommentExtension() public method

public TransmitCommentExtension ( String systemName, String stationName, string commentExtension, System.DateTime dateVisited ) : void
systemName String
stationName String
commentExtension string
dateVisited System.DateTime
return void

TransmitVisit() public method

public TransmitVisit ( String systemName, Double x, Double y, Double z, System.DateTime dateVisited ) : void
systemName String
x Double
y Double
z Double
dateVisited System.DateTime
return void

i_TransmitQueuedData() public method

public i_TransmitQueuedData ( object sender, System e ) : void
sender object
e System
return void

registerJournalScanner() public method

register the LogfileScanner in the CommandersLog for the DataEvent
public registerJournalScanner ( FileScanner JournalScanner ) : void
JournalScanner FileScanner
return void