Public Member Functions | Package Functions

com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener Interface Reference

Inheritance diagram for com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener:
com.google.security.zynamics.binnavi.API.disassembly.DatabaseListenerAdapter

List of all members.

Public Member Functions

void addedProject (Database database, Project project)
void changedAutoConnect (Database database, boolean autoConnect)
void changedDescription (Database database, String description)
void changedDriver (Database database, String driver)
void changedHost (Database database, String host)
void changedIdentity (Database database, String identity)
void changedName (Database database, String name)
void changedPassword (Database database, String password)
void changedSavePassword (Database database, boolean savePassword)
void changedUser (Database database, String user)
void closedDatabase (Database database)
boolean closingDatabase (Database database)
void deletedModule (Database database, Module module)
void deletedProject (Database database, Project project)
void loadedDatabase (Database database)
void openedDatabase (Database database)

Package Functions

void addedModule (Database database, Module module)

Detailed Description

Interface that can be implemented by objects that want to be notified about changes in Database objects.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.addedModule ( Database  database,
Module  module 
) [package]

Invoked after a new module was added to the database.

Parameters:
database The database the module was added to.
module The module that was added to the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.addedProject ( Database  database,
Project  project 
)

Invoked after a new project was added to the database.

Parameters:
database The database the project was added to.
project The project that was added to the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedAutoConnect ( Database  database,
boolean  autoConnect 
)

Invoked after the flag changes that determines whether a connection to the database is established automatically when BinNavi starts.

Parameters:
database The database whose auto-connection flag changed.
autoConnect The new value of the auto-connection flag.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedDescription ( Database  database,
String  description 
)

Invoked after the description string of the database changed.

Parameters:
database The database whose description changed.
description The new description string of the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedDriver ( Database  database,
String  driver 
)

Invoked after the driver string of the database changed.

Parameters:
database The database whose driver string changed.
driver The new driver string of the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedHost ( Database  database,
String  host 
)

Invoked after the host string of the database changed.

Parameters:
database The database whose host string changed.
host The new host string of the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedIdentity ( Database  database,
String  identity 
)

Invoked after the identity used for the current database has been changed.

Parameters:
database The database where the identity changed.
identity The changed identity.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedName ( Database  database,
String  name 
)

Invoked after the database name string of the database changed.

Parameters:
database The database whose database name string changed.
name The new database name string of the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedPassword ( Database  database,
String  password 
)

Invoked after the password that is used to connect to the database changed.

Parameters:
database The database whose password changed.
password The new password string of the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedSavePassword ( Database  database,
boolean  savePassword 
)

Invoked after the flag changes that determines whether the password of the database is saved in the configuration file.

Parameters:
database The database whose save-password flag changed.
savePassword The new value of the save-password flag.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.changedUser ( Database  database,
String  user 
)

Invoked after the user that is used to connect to the database changed.

Parameters:
database The database whose user string changed.
user The new user string of the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.closedDatabase ( Database  database  ) 

Invoked after the connection to the database closed.

Parameters:
database The database whose connection closed.
boolean com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.closingDatabase ( Database  database  ) 

Invoked right before a database is closed. The listening object has the opportunity to veto the close process if it still needs to work with the database.

Parameters:
database The database that is about to be closed.
Returns:
True, to indicate that the database can be closed. False, to veto the close process.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.deletedModule ( Database  database,
Module  module 
)

Invoked after a module was deleted from the database.

After this function was invoked, further usage of the deleted module or objects inside that module lead to undefined behavior.

Parameters:
database The database the module was deleted from.
module The module that was deleted from the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.deletedProject ( Database  database,
Project  project 
)

Invoked after a project was deleted from the database.

After this function was invoked, further usage of the deleted project or objects inside that project lead to undefined behavior.

Parameters:
database The database the project was deleted from.
project The project that was deleted from the database.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.loadedDatabase ( Database  database  ) 

Invoked after the data stored in the database was loaded.

After this function was invoked, database objects like the projects or modules stored in the database can be accessed.

Parameters:
database The database that was loaded.
void com.google.security.zynamics.binnavi.API.disassembly.IDatabaseListener.openedDatabase ( Database  database  ) 

Invoked after a connection to the database was established.

Parameters:
database The database a connection was established to.