/*
 * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 * This software is the proprietary information of Sun Microsystems, Inc.
 * Use is subject to license terms.
 * 
 * Copyright 2004 Sun Microsystems, Inc.  Tous droits réservés.
 * Ce logiciel est propriété de Sun Microsystems, Inc.
 * Distribué par des licences qui en restreignent l'utilisation.
 *
 * ident        "@(#)Service.java 1.3     04/05/19 SMI"
 *
 */

package com.sun.mfwk.conn;

import java.rmi.RemoteException;
import com.sun.rmi2rpc.SingletonRemote;
import javax.management.AttributeList;

/** Simple example RPC service. */
public interface Service extends SingletonRemote {
    int TYPE_CODE = 50506;
    int VERSION_CODE = 1;

    public MfAttValue getAttribute(String objectName, String attribute)
	throws RemoteException;
    int getAttribute = 0;

    public MfAttValue[] getAttributes(String objectName, String[] attributes)
	throws RemoteException;
    int getAttributes = 1;

    public MfAttValue invoke(String objectName, String operationName, MfAttValue[] params,
			   String[] signature)
	throws RemoteException;
    int invoke = 2;

}
