Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0859b996b71b9f1f451c17c842fa3685017559e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
 * Copyright (c) 2005, 2009 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *     Bjorn Freeman-Benson - initial API and implementation
 *     Pawel Piech (Wind River) - ported PDA Virtual Machine to Java (Bug 261400)
 *******************************************************************************/
package org.eclipse.debug.examples.core.pda.model;

import org.eclipse.debug.examples.core.pda.protocol.PDAEvent;

/**
 * Listeners are notified of events occurring in a PDA program
 * being interpreted.
 *
 * @see org.eclipse.debug.examples.core.protocol.PDAVMStarted
 * @see org.eclipse.debug.examples.core.protocol.PDAVMTerminated
 * @see org.eclipse.debug.examples.core.protocol.PDAVMSuspneded
 * @see org.eclipse.debug.examples.core.protocol.PDAVMResumed
 * @see org.eclipse.debug.examples.core.protocol.PDAStarted
 * @see org.eclipse.debug.examples.core.protocol.PDAExited
 * @see org.eclipse.debug.examples.core.protocol.PDASuspended
 * @see org.eclipse.debug.examples.core.protocol.PDAResumed
 * @see org.eclipse.debug.examples.core.pda.protocol.PDAUnimplementedInstructionEvent
 * @see org.eclipse.debug.examples.core.pda.protocol.PDARegisterData
 * @see org.eclipse.debug.examples.core.pda.protocol.PDANoSuchLabelEvent
 * @see org.eclipse.debug.examples.core.pda.protocol.PDAEvalResultEvent
 */
public interface IPDAEventListener {

	/**
	 * Notification the given event occurred in the target program
	 * being interpreted.
	 *
	 * @param event the event
	 */
	void handleEvent(PDAEvent event);

}

Back to the top