C# Class PleaseIgnore.IntelMap.IntelReporter

Inheritance: System.ComponentModel.Component, INotifyPropertyChanged
Afficher le fichier Open project: EtherealWake/test-intel

Private Properties

Свойство Type Description
ObjectInvariant void
OnPropertyChanged void
channels_IntelReported void
channels_PropertyChanged void
timer_Callback void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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. ///
Résultat void

Dispose() protected méthode

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

GetSession() protected méthode

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. ///
Résultat PleaseIgnore.IntelMap.IntelSession

IntelReporter() public méthode

Initializes a new instance of the IntelReporter class.
public IntelReporter ( ) : System
Résultat System

IntelReporter() public méthode

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

OnIntelReported() protected méthode

Raises the IntelReported event.
protected OnIntelReported ( IntelEventArgs e ) : void
e IntelEventArgs
Résultat void

OnKeepAlive() protected méthode

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

OnPropertyChanged() protected méthode

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs
Résultat void

Start() public méthode

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

Stop() public méthode

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