blob: 0098fa3145cb42355a73819e0b9c6df0fc4bb2da [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 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.proxy.runtime.event;
import org.eclipse.ptp.proxy.event.IProxyEventFactory;
import org.eclipse.ptp.proxy.event.IProxyMessageEvent;
import org.eclipse.ptp.proxy.event.IProxyMessageEvent.Level;
public interface IProxyRuntimeEventFactory extends IProxyEventFactory {
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeAttributeDefEvent newProxyRuntimeAttributeDefEvent(int transID, String[] args);
/**
* @return
*/
public IProxyRuntimeConnectedStateEvent newProxyRuntimeConnectedStateEvent();
/**
* @return
*/
public IProxyRuntimeErrorStateEvent newProxyRuntimeErrorStateEvent();
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeJobChangeEvent newProxyRuntimeJobChangeEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeMachineChangeEvent newProxyRuntimeMachineChangeEvent(int transID, String[] args);
/**
* @param event
* @return
*/
public IProxyRuntimeMessageEvent newProxyRuntimeMessageEvent(IProxyMessageEvent event);
/**
* @param level
* @param message
* @return
*/
public IProxyRuntimeMessageEvent newProxyRuntimeMessageEvent(Level level, String message);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeNewJobEvent newProxyRuntimeNewJobEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeNewMachineEvent newProxyRuntimeNewMachineEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeNewNodeEvent newProxyRuntimeNewNodeEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeNewProcessEvent newProxyRuntimeNewProcessEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeNewQueueEvent newProxyRuntimeNewQueueEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeNodeChangeEvent newProxyRuntimeNodeChangeEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeProcessChangeEvent newProxyRuntimeProcessChangeEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeRemoveAllEvent newProxyRuntimeRemoveAllEventt(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeRemoveJobEvent newProxyRuntimeRemoveJobEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeRemoveMachineEvent newProxyRuntimeRemoveMachineEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeRemoveNodeEvent newProxyRuntimeRemoveNodeEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeRemoveProcessEvent newProxyRuntimeRemoveProcessEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeRemoveQueueEvent newProxyRuntimeRemoveQueueEvent(int transID, String[] args);
/**
* @return
*/
public IProxyRuntimeRunningStateEvent newProxyRuntimeRunningStateEvent();
/**
* @return
*/
public IProxyRuntimeShutdownStateEvent newProxyRuntimeShutdownStateEvent();
/**
* @param message
* @return
*/
public IProxyRuntimeStartupErrorEvent newProxyRuntimeStartupErrorEvent(String message);
/**
* @param args
* @return
*/
public IProxyRuntimeStartupErrorEvent newProxyRuntimeStartupErrorEvent(String args[]);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeSubmitJobErrorEvent newProxyRuntimeSubmitJobErrorEvent(int transID, String[] args);
/**
* @param transID
* @param args
* @return
*/
public IProxyRuntimeTerminateJobErrorEvent newProxyRuntimeTerminateJobErrorEvent(int transID, String[] args);
}