/* JFox, the OpenSource J2EE Application Server
 *
 * Distributable under GNU LGPL license by gun.org
 * more details please visit http://www.huihoo.org/jfox
 */

package org.jfox.ejb.connector;

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

import org.jfox.ejb.Invocation;

/**
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */

public interface ContainerRemote extends Remote {
    Object invoke(Invocation invocation) throws RemoteException;

    /**
     * 用来测试该 ContainerRemote 是否还活动的方法，方法主体为空
     *
     * @throws RemoteException
     */
    void ping() throws RemoteException;
}