1 24 25 package org.objectweb.dream.queue; 26 27 import org.objectweb.dream.message.Message; 28 29 32 public class PullOutgoingHandlerImpl extends AbstractPullOutgoingHandlerImpl 33 { 34 35 38 protected boolean hasAvailableMessage() 39 { 40 return (bufferItf.availableMessagesIndicator() > 0); 41 } 42 43 46 protected Message doPull() throws InterruptedException  47 { 48 return bufferItf.remove(); 49 } 50 51 } | Popular Tags |