blob: cd179ec124187dd0d5890e77e14583a8e5b14e21 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2007 Boeing.
* 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:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.ote.core;
import java.rmi.Remote;
import java.rmi.RemoteException;
import org.eclipse.osee.ote.core.framework.prompt.IPassFailPromptResponse;
import org.eclipse.osee.ote.core.framework.prompt.IResumeResponse;
import org.eclipse.osee.ote.core.framework.prompt.IUserInputPromptResponse;
/**
* @author Ken J. Aguilar
*/
public interface IRemoteUserSession extends Remote, IUserSession {
@Override
public String getAddress() throws RemoteException;
@Override
public OSEEPerson1_4 getUser() throws RemoteException;
@Override
public byte[] getFile(String workspacePath) throws RemoteException;
@Override
public long getFileDate(String workspacePath) throws RemoteException;
@Override
public void initiatePassFailPrompt(IPassFailPromptResponse prompt) throws RemoteException;
@Override
public void initiateUserInputPrompt(IUserInputPromptResponse prompt) throws RemoteException;
@Override
public void initiateResumePrompt(IResumeResponse prompt) throws RemoteException;
@Override
public void initiateInformationalPrompt(String message) throws RemoteException;
@Override
public boolean isAlive() throws RemoteException;
// @Override
// public void sendMessageToClient(Message message) throws RemoteException;
}