01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.debug.jdi.tests;
11:
12: import com.sun.jdi.event.VMDisconnectEvent;
13:
14: /**
15: * Listen for VMDisconnectEvent.
16: */
17: public class VMDisconnectEventWaiter extends EventWaiter {
18:
19: /**
20: * Constructor
21: * @param request
22: * @param shouldGo
23: */
24: public VMDisconnectEventWaiter(
25: com.sun.jdi.request.EventRequest request, boolean shouldGo) {
26: super (request, shouldGo);
27: }
28:
29: /**
30: * @see org.eclipse.debug.jdi.tests.EventWaiter#vmDisconnect(com.sun.jdi.event.VMDisconnectEvent)
31: */
32: public boolean vmDisconnect(VMDisconnectEvent event) {
33: notifyEvent(event);
34: return fShouldGo;
35: }
36: }
|