001 package edu.jhu.mb.ernst.util.slot; 002 003 /*********************************************************************** 004 * Mail slot for receiving messages to be processed, stored, or relayed. 005 * 006 * Please see the online tutorial <a target="_blank" 007 * href="http://www.CroftSoft.com/library/tutorials/slot/"> 008 * Interface Slot</a>. 009 * 010 * @version 011 * $Date: 2012-04-15 13:06:25 -0500 (Sun, 15 Apr 2012) $ 012 * $Rev: 7 $ 013 * $Author: croft $ 014 * @since 015 * 2007-01-28 016 * @author 017 * David Wallace Croft 018 ***********************************************************************/ 019 020 public interface Slot<E> 021 //////////////////////////////////////////////////////////////////////// 022 //////////////////////////////////////////////////////////////////////// 023 { 024 025 boolean offer ( E e ); 026 027 //////////////////////////////////////////////////////////////////////// 028 //////////////////////////////////////////////////////////////////////// 029 }