org.apache.avalon.fortress.util
Class CommandSink

java.lang.Object
  extended byorg.apache.avalon.fortress.util.CommandSink
All Implemented Interfaces:
org.d_haven.event.Sink

public class CommandSink
extends java.lang.Object
implements org.d_haven.event.Sink

Created by IntelliJ IDEA. User: bloritsch Date: Jun 24, 2004 Time: 2:59:37 PM To change this template use File | Settings | File Templates.


Constructor Summary
CommandSink(org.d_haven.event.command.CommandManager manager)
           
 
Method Summary
 void enqueue(java.lang.Object o)
           
 void enqueue(java.lang.Object[] objects)
           
 org.d_haven.event.PreparedEnqueue prepareEnqueue(java.lang.Object[] objects)
           
 int size()
           
 boolean tryEnqueue(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandSink

public CommandSink(org.d_haven.event.command.CommandManager manager)
Method Detail

enqueue

public void enqueue(java.lang.Object o)
             throws org.d_haven.event.SinkException
Specified by:
enqueue in interface org.d_haven.event.Sink
Throws:
org.d_haven.event.SinkException

enqueue

public void enqueue(java.lang.Object[] objects)
             throws org.d_haven.event.SinkException
Specified by:
enqueue in interface org.d_haven.event.Sink
Throws:
org.d_haven.event.SinkException

tryEnqueue

public boolean tryEnqueue(java.lang.Object o)
Specified by:
tryEnqueue in interface org.d_haven.event.Sink

prepareEnqueue

public org.d_haven.event.PreparedEnqueue prepareEnqueue(java.lang.Object[] objects)
                                                 throws org.d_haven.event.SinkException
Specified by:
prepareEnqueue in interface org.d_haven.event.Sink
Throws:
org.d_haven.event.SinkException

size

public int size()
Specified by:
size in interface org.d_haven.event.Sink


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.