blob: b1bf6a7f138b8d26da832ca9db6fb3b87c3b6650 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 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.ptp.debug.sdm.core.pdi.request;
import org.eclipse.ptp.core.util.BitList;
import org.eclipse.ptp.debug.core.pdi.request.AbstractListArgumentsRequest;
import org.eclipse.ptp.proxy.debug.event.IProxyDebugArgsEvent;
public class SDMListArgumentsRequest extends AbstractListArgumentsRequest {
public SDMListArgumentsRequest(BitList tasks, int low, int high) {
super(tasks, low, high);
}
/* (non-Javadoc)
* @see org.eclipse.ptp.debug.core.pdi.request.AbstractEventResultRequest#storeResult(org.eclipse.ptp.core.util.BitList, java.lang.Object)
*/
protected void storeResult(BitList rTasks, Object result) {
if (result instanceof IProxyDebugArgsEvent) {
results.put(rTasks, ((IProxyDebugArgsEvent)result).getVariables());
}
else {
storeUnknownResult(rTasks, result);
}
}
}