com.bluemarsh.jswat
Interface SessionListener

All Known Subinterfaces:
Manager
All Known Implementing Classes:
JSwatPanel, GraphicalInputAdapter, GraphicalOutputAdapter, SourceView

public interface SessionListener

The listener interface for receiving Session events. Unlike more traditional listener interfaces, this one does not receive event objects. Instead, each method is passed a reference to the calling Session object.

Author:
Nathan Fiedler

Method Summary
 void activate(Session session)
          Called when the Session is about to begin an active debugging session.
 void close(Session session)
          Called when the Session is about to close down.
 void deactivate(Session session)
          Called when the Session is about to end an active debugging session.
 void init(Session session)
          Called after the Session has added this listener to the Session listener list.
 

Method Detail

activate

public void activate(Session session)
Called when the Session is about to begin an active debugging session. That is, JSwat is about to debug a debuggee VM.
Parameters:
session - Session being activated.

close

public void close(Session session)
Called when the Session is about to close down.
Parameters:
session - Session being closed.

deactivate

public void deactivate(Session session)
Called when the Session is about to end an active debugging session. That is, JSwat is about to terminate the connection with the debuggee VM.
Parameters:
session - Session being deactivated.

init

public void init(Session session)
Called after the Session has added this listener to the Session listener list.
Parameters:
session - Session adding this listener.