Public Member Functions

com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate Class Reference

Inherits com::google::security::zynamics::binnavi::APIHelpers::ApiObject< CDebuggerTemplate >.

List of all members.

Public Member Functions

void addListener (final IDebuggerTemplateListener listener)
String getHost ()
String getName ()
int getPort ()
void removeListener (final IDebuggerTemplateListener listener)
void setHost (final String host) throws CouldntSaveDataException
void setName (final String name) throws CouldntSaveDataException
void setPort (final int port) throws CouldntSaveDataException

Detailed Description

Represents a debugger template. Debugger templates can be assigned to projects and modules where they are converted to Debugger objects that can be used to debug the targets.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.addListener ( final IDebuggerTemplateListener  listener  ) 

Adds an object that is notified about changes in the debugger template.

Parameters:
listener The listener object that is notified about changes in the debugger template.
Exceptions:
IllegalArgumentException Thrown if the listener argument is null.
IllegalStateException Thrown if the listener object is already listening on the debugger template.
String com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.getHost (  ) 

Returns the host of the debug client used by the debugger template.

Returns:
The host of the debug client.
String com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.getName (  ) 

Returns the name of the debugger template.

Returns:
The name of the debugger template.
int com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.getPort (  ) 

Returns the port of the debug client used by the debugger template.

Returns:
The port of the debug client.
void com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.removeListener ( final IDebuggerTemplateListener  listener  ) 

Removes a listener object from the debugger template.

Parameters:
listener The listener object to remove from the debugger template.
Exceptions:
IllegalArgumentException Thrown if the listener argument is null.
IllegalStateException Thrown if the listener object was not listening on the debugger template.
void com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.setHost ( final String  host  )  throws CouldntSaveDataException

Changes the host of the debug client used by the debugger template.

Parameters:
host The new debug client host.
Exceptions:
CouldntSaveDataException Thrown if the debugger template could not be updated.
void com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.setName ( final String  name  )  throws CouldntSaveDataException

Changes the name of the debugger template.

Parameters:
name The new name of the debugger template.
Exceptions:
CouldntSaveDataException Thrown if the debugger template could not be updated.
void com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplate.setPort ( final int  port  )  throws CouldntSaveDataException

Changes the port of the debug client used by the debugger template.

Parameters:
port The new debug client port.
Exceptions:
CouldntSaveDataException Thrown if the debugger template could not be updated.