blob: 6505507d7846538a9bd818424a3e3a6a594f5ad9 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 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
*******************************************************************************/
package org.eclipse.wst.jsdt.debug.opera.internal.jsdi.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest;
import org.eclipse.wst.jsdt.debug.opera.internal.jsdi.VirtualMachineImpl;
/**
* Default {@link SuspendRequest} implementation for Opera
*
* @since 0.1
*/
public class SuspendRequestImpl extends EventRequestImpl implements SuspendRequest {
ThreadReference thread = null;
/**
* Constructor
* @param vm
* @param thread
*/
public SuspendRequestImpl(VirtualMachineImpl vm, ThreadReference thread) {
super(vm);
this.thread = thread;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest#thread()
*/
public ThreadReference thread() {
return thread;
}
}