C# Class PleaseIgnore.IntelMap.IntelReporter

Inheritance: System.ComponentModel.Component, INotifyPropertyChanged
显示文件 Open project: EtherealWake/test-intel

Private Properties

Property Type Description
ObjectInvariant void
OnPropertyChanged void
channels_IntelReported void
channels_PropertyChanged void
timer_Callback void

Public Methods

Method Description
Authenticate ( string username, string password ) : void

Updates the user's credentials and forces the service to reauthenticate with the reporting service.

IntelReporter ( ) : System

Initializes a new instance of the IntelReporter class.

IntelReporter ( IContainer container ) : System

Initializes a new instance of the IntelReporter class and adds it to the specified Container.

Start ( ) : void

Downloads the channel list and begins the acquisition of log entries from the EVE chat logs. This method enables IntelReported events.

Stop ( ) : void

Stops the IntelReporter from providing location data and events. IntelReported events will no longer be raised.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GetSession ( bool create ) : PleaseIgnore.IntelMap.IntelSession

Gets the instance of IntelSession to use when contacting the intel server.

OnIntelReported ( IntelEventArgs e ) : void

Raises the IntelReported event.

OnKeepAlive ( ) : void

Called every KeepAliveInterval while the server connection is open.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

Private Methods

Method Description
ObjectInvariant ( ) : void
OnPropertyChanged ( string propertyName ) : void

Helper function to automatically construct a PropertyChangedEventArgs for OnPropertyChanged(PropertyChangedEventArgs).

channels_IntelReported ( object sender, IntelEventArgs e ) : void

Event handler for IntelChannelContainer.IntelReported.

channels_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Event handler for IntelChannelContainer.PropertyChanged.

timer_Callback ( object state ) : void

Periodically sends keep-alives to the session.

Method Details

Authenticate() public method

Updates the user's credentials and forces the service to reauthenticate with the reporting service.
/// The credentials provided by the user are incorrect. ///
public Authenticate ( string username, string password ) : void
username string /// The TEST auth username. ///
password string /// The plaintext TEST services password. It will be hashed /// automatically. ///
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetSession() protected method

Gets the instance of IntelSession to use when contacting the intel server.
protected GetSession ( bool create ) : PleaseIgnore.IntelMap.IntelSession
create bool /// to create a new instance of /// if there is currently not an active /// session; othwerise, return if no session /// is currently active. ///
return PleaseIgnore.IntelMap.IntelSession

IntelReporter() public method

Initializes a new instance of the IntelReporter class.
public IntelReporter ( ) : System
return System

IntelReporter() public method

Initializes a new instance of the IntelReporter class and adds it to the specified Container.
public IntelReporter ( IContainer container ) : System
container IContainer
return System

OnIntelReported() protected method

Raises the IntelReported event.
protected OnIntelReported ( IntelEventArgs e ) : void
e IntelEventArgs
return void

OnKeepAlive() protected method

Called every KeepAliveInterval while the server connection is open.
protected OnKeepAlive ( ) : void
return void

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs
return void

Start() public method

Downloads the channel list and begins the acquisition of log entries from the EVE chat logs. This method enables IntelReported events.
public Start ( ) : void
return void

Stop() public method

Stops the IntelReporter from providing location data and events. IntelReported events will no longer be raised.
public Stop ( ) : void
return void