/*
 * Created on 2004-6-9
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.huihoo.willow.client;

import java.rmi.Remote;
import java.rmi.RemoteException;

import workflow.live.LiveService;


/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface Naming extends Remote
{   
	public String           authenticate(String username,String password) throws RemoteException; 
	
	public int              getMaxInactiveInterval(String sessionID)throws RemoteException;
	public void             setMaxInactiveInterval(String sessionID,int interval)throws RemoteException;
	public void             keepAlive(String sessionID) throws RemoteException; 
	public void             disconnect(String sessionID) throws RemoteException; 
	
	public LiveService      findService(String workflowID,String seesionID) throws RemoteException; 
	public LiveService[]    findServices(String seesionID) throws RemoteException;
}