/**
 * JBoss, Home of Professional Open Source
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.example.jms.stateless.bean;

import javax.ejb.EJBObject;
import java.util.List;
import java.rmi.RemoteException;

/**
 * @author <a href="mailto:ovidiu@jboss.org">Ovidiu Feodorov</a>
 * @version <tt>$Revision: 1.2 $</tt>

 * $Id: StatelessSessionExample.java,v 1.2 2006/01/03 03:00:42 ovidiu Exp $
 */

public interface StatelessSessionExample extends EJBObject
{
   public void drain(String queueName) throws RemoteException, Exception;
   public void send(String txt, String queueName) throws RemoteException, Exception;
   public List browse(String queueName) throws RemoteException, Exception;
   public String receive(String queueName) throws RemoteException, Exception;
}
