001 package com.croftsoft.core.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="https://www.croftsoft.com/library/tutorials/slot/"> 008 * Interface Slot</a>. 009 * 010 * @version 011 * $Id: Slot.java,v 1.1 2008/09/20 05:01:27 croft Exp $ 012 * @since 013 * 2007-01-28 014 * @author 015 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 016 ***********************************************************************/ 017 018 public interface Slot<E> 019 //////////////////////////////////////////////////////////////////////// 020 //////////////////////////////////////////////////////////////////////// 021 { 022 023 public boolean offer ( E e ); 024 025 //////////////////////////////////////////////////////////////////////// 026 //////////////////////////////////////////////////////////////////////// 027 }