Author: trustin
Date: Mon Oct 11 08:43:38 2004
New Revision: 54597
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EnqueuePredicate.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventFilter.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouter.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouterMonitor.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Frontend.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/FrontendFactory.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/ResourceException.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Session.java
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/SessionEvent.java
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Stage.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/StageConfig.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/StageHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/StageMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Subscriber.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/SubscriberMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/adaptor/EventRouterMonitorAdapter.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/adaptor/StageMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/BufferPool.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/BufferPoolConfig.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/BufferPoolMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/BufferPoolMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/DefaultBufferPool.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/DefaultBufferPoolConfig.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/LoggingBufferMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/buffer/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/event/SessionCreationEvent.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/event/SessionCreationSubscriber.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/event/SessionDestructionEvent.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/event/SessionDestructionListener.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/event/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultEventRouter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultFrontend.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultFrontendFactory.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultStage.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultStageConfig.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/Enum.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/EnumUtils.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/LoggingStageMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/ValuedEnum.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/DefaultInetServicesDatabase.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/HandlerTypeEnum.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/InetServiceEntry.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/InetServicesDatabase.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/ManyReplyHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/NoReplyHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/ProtocolProvider.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/RequestHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/RequestProcessor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/RequestProcessorMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/RequestProcessorMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/SingleReplyHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/TransportTypeEnum.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/protocol/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/ClientDecoder.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/DecodeStageHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/DecoderManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/DecoderManagerMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/DecoderManagerMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/DefaultDecoderManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/decode/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/ClientEncoder.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/DefaultEncoderManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/EncodeStageHandler.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/EncoderManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/EncoderManagerMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/EncoderManagerMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/BindPoint.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InetSocketBindPoint.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InputManager.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InputManagerMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InputManagerMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/TcpBindPoint.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/TcpInputManager.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/UdpBindPoint.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/AvailablePortFinder.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/ClientKey.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/KeyExpiryException.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/ListenerManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/ListenerManagerMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/ListenerManagerMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/TCPListenerManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/listener/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/DefaultOutputManager.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/LoggingOutputMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/OutputManager.java
(contents, props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/OutputMonitor.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/OutputMonitorAdapter.java
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/package.html
(props changed)
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/thread/ThreadPool.java
(props changed)
Log:
Added some JavaDocs.
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventFilter.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventFilter.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventFilter.java
Mon Oct 11 08:43:38 2004
@@ -18,7 +18,7 @@
/**
- * A filter in the event router is used to further prune the subscriber's
+ * A filter in the event router which is used to further prune the subscriber's
* interest list.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Apache
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouter.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouter.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouter.java
Mon Oct 11 08:43:38 2004
@@ -18,29 +18,33 @@
/**
- * Event service based on an exact version of the event notifier pattern found
- * <a href="http://www.dralasoft.com/products/eventbroker/whitepaper/">here
- * </a>.
+ * Routes [EMAIL PROTECTED] SessionEvent}s that [EMAIL PROTECTED] Subscriber}s
fire to other
+ * [EMAIL PROTECTED] [EMAIL PROTECTED] EventRouter}is an event service based
on an
+ * exact version of the event notifier pattern found <a
+ * href="http://www.dralasoft.com/products/eventbroker/whitepaper/">here</a>.
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Apache
- * Directory Project </a>
- * @version $Rev$
+ * @author <a href="mailto:[EMAIL PROTECTED]">Apache Directory
+ * Project </a>
+ * @author Trustin Lee ([EMAIL PROTECTED])
+ * @version $Rev$, $Date$
*/
public interface EventRouter {
/**
- * Subscribes an event subscriber.
+ * Adds the specified [EMAIL PROTECTED] Subscriber} to this router.
*
- * @param name DOCUMENT ME!
- * @param subscriber the Subscriber to subscribe
+ * @param name the name of the specified subscriber
+ * @param subscriber the [EMAIL PROTECTED] Subscriber} to get event
routing service
*
- * @return DOCUMENT ME!
+ * @return A context object for <code>subscriber</code> to interact with
+ * this router
*/
SubscriberContext add(String name, Subscriber subscriber);
/**
- * Unsubscribes an event subscriber.
+ * Removes the [EMAIL PROTECTED] Subscriber} with the specified name.
*
- * @param name the name of the [EMAIL PROTECTED] Subscriber}.
+ * @param name the name of the [EMAIL PROTECTED] Subscriber} to remove
which you have
+ * specified at [EMAIL PROTECTED] #add(String, Subscriber)}
*/
void remove(String name);
}
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouterMonitor.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouterMonitor.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/EventRouterMonitor.java
Mon Oct 11 08:43:38 2004
@@ -18,23 +18,23 @@
/**
- * Monitors the activities of the event router.
+ * Monitors the activities of [EMAIL PROTECTED] EventRouter}.
*
* @author <a href="mailto:[EMAIL PROTECTED]"> Apache
* Directory Project </a>
- * @version $Rev$
+ * @author Trustin Lee ([EMAIL PROTECTED])
+ * @version $Rev$, $Date$
*/
public interface EventRouterMonitor {
/**
- * Monitores the addition of new subscriptions.
+ * Monitors the addition of new [EMAIL PROTECTED] Subscriber}.
*
- * @param name DOCUMENT ME!
- * @param subscriber DOCUMENT ME!
- * @param ctx DOCUMENT ME!
+ * @param name the name of the new [EMAIL PROTECTED] Subscriber}
+ * @param subscriber the newly added [EMAIL PROTECTED] Subscriber} instance
+ * @param ctx a context for the newly added [EMAIL PROTECTED] Subscriber}
*/
void addedSubscriber(String name, Subscriber subscriber,
- SubscriberContext ctx
- );
+ SubscriberContext ctx);
/**
* Monitors the removal of new subscriptions
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/ResourceException.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/ResourceException.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/ResourceException.java
Mon Oct 11 08:43:38 2004
@@ -29,7 +29,6 @@
* Creates a simple ResourceException without any details.
*/
public ResourceException() {
- super();
}
/**
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Session.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Session.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Session.java
Mon Oct 11 08:43:38 2004
@@ -23,15 +23,39 @@
/**
- * TODO Insert type comment.
+ * Provides a way to identify an abstract channel which is used to exchange
+ * [EMAIL PROTECTED] SessionEvent}s.
*
* @author Trustin Lee ([EMAIL PROTECTED])
* @version $Rev$, $Date$
*/
public interface Session {
+ /**
+ * Returns the names of the attributes of this session.
+ * Modifying the returned [EMAIL PROTECTED] Set} does not affect the
actual attributes.
+ */
Set getAttributeNames();
+ /**
+ * Returns the value of the attribute with the specified key.
+ * @return <code>null</code> if the specified key does not exist.
+ */
Object getAttribute(String key);
+ /**
+ * Sets an attribute with the specified key and value.
+ * The old value is replaced with the new one if the attribute with
+ * the specified name already exists.
+ *
+ * @return the replaced attribute value. <code>null</code> if
+ * the attribute is new.
+ */
Object setAttribute(String key, Object value);
+
+ /**
+ * Removes the attribute with the specified name.
+ * @return the removed attribute value. <code>null</code> if the
+ * attribute does not exist.
+ */
+ Object removeAttribute(String key);
}
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/SessionEvent.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/SessionEvent.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/SessionEvent.java
Mon Oct 11 08:43:38 2004
@@ -20,7 +20,8 @@
/**
- * TODO Insert type comment.
+ * An [EMAIL PROTECTED] EventObject} which is used to pass information for a
[EMAIL PROTECTED] Session}
+ * to [EMAIL PROTECTED] Subscriber}s.
*
* @author Trustin Lee ([EMAIL PROTECTED])
* @version $Rev$, $Date$
@@ -29,9 +30,8 @@
private final Session session;
/**
- * Creates a new instance.
- *
- * @param source
+ * Creates a new instance with the specified event source and the
associated
+ * session.
*/
public SessionEvent(Subscriber source, Session session) {
super(source);
@@ -43,10 +43,16 @@
this.session = session;
}
+ /**
+ * Returns the [EMAIL PROTECTED] Subscriber} who created and published
this event.
+ */
public Subscriber getSourceSubscriber() {
return (Subscriber) getSource();
}
+ /**
+ * Returns the [EMAIL PROTECTED] Session} which is associated with this
event.
+ */
public Session getSession() {
return session;
}
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Subscriber.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Subscriber.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/Subscriber.java
Mon Oct 11 08:43:38 2004
@@ -20,7 +20,8 @@
/**
- * A Subscriber from the Event Notifier pattern.
+ * Subscribes to and publishes [EMAIL PROTECTED] SessionEvent}s from and to
+ * [EMAIL PROTECTED] EventRouter}.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Apache Directory
* Project </a>
@@ -32,7 +33,7 @@
/**
* Informs this Subscriber of an event.
*
- * @param ctx DOCUMENT ME!
+ * @param ctx the context of this subscriber
* @param event the event notified of
*/
void inform(SubscriberContext ctx, SessionEvent event);
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/adaptor/EventRouterMonitorAdapter.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/adaptor/EventRouterMonitorAdapter.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/adaptor/EventRouterMonitorAdapter.java
Mon Oct 11 08:43:38 2004
@@ -26,7 +26,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]"> Apache Directory
* Project </a>
- * @version $Rev: 45930 $
+ * @version $Rev$
*/
public class EventRouterMonitorAdapter implements EventRouterMonitor {
public void addedSubscriber(String name, Subscriber subscriber,
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultStage.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultStage.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/DefaultStage.java
Mon Oct 11 08:43:38 2004
@@ -208,7 +208,7 @@
* The runnable driving the main thread of this Stage.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Alex Karasulu </a>
- * @author $Author: akarasulu $
+ * @author $Author$
* @version $Revision$
*/
class StageDriver implements Runnable {
@@ -254,7 +254,7 @@
* The runnable driving the work of this Stage's handler.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Alex Karasulu </a>
- * @author $Author: akarasulu $
+ * @author $Author$
* @version $Revision$
*/
class ExecutableHandler implements Runnable {
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/Enum.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/Enum.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/Enum.java
Mon Oct 11 08:43:38 2004
@@ -229,7 +229,7 @@
* @author Chris Webb
* @author Mike Bowler
* @since 1.0
- * @version $Id: Enum.java,v 1.28 2004/02/23 04:34:20 ggregory Exp $
+ * @version $Id$
*/
public abstract class Enum implements Comparable, Serializable {
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/EnumUtils.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/EnumUtils.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/EnumUtils.java
Mon Oct 11 08:43:38 2004
@@ -29,7 +29,7 @@
* @author Stephen Colebourne
* @author Gary Gregory
* @since 1.0
- * @version $Id: EnumUtils.java,v 1.12 2004/02/23 04:34:20 ggregory Exp $
+ * @version $Id$
*/
public class EnumUtils {
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/ValuedEnum.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/ValuedEnum.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/impl/util/ValuedEnum.java
Mon Oct 11 08:43:38 2004
@@ -96,7 +96,7 @@
* @author Apache Avalon project
* @author Stephen Colebourne
* @since 1.0
- * @version $Id: ValuedEnum.java,v 1.16 2004/02/23 04:34:20 ggregory Exp $
+ * @version $Id$
*/
public abstract class ValuedEnum extends Enum {
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/ClientEncoder.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/ClientEncoder.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/encode/ClientEncoder.java
Mon Oct 11 08:43:38 2004
@@ -29,7 +29,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">
* Apache Directory Project</a>
- * @version $Rev: 43377 $
+ * @version $Rev$
*/
public class ClientEncoder implements StatefulEncoder, EncoderCallback {
/** the key of the client this encoder is associated with */
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InputManager.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InputManager.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/InputManager.java
Mon Oct 11 08:43:38 2004
@@ -18,8 +18,6 @@
import org.apache.seda.Subscriber;
-import java.io.IOException;
-
/**
* Service interface for server modules that monitor incomming PDU requests on
@@ -33,18 +31,25 @@
* Binds and registers a server listener.
*
* @param listenerConfig the listener to register and bind
+ * @throws org.apache.seda.SedaException if there is a problem unbinding a
listener
*/
- void bind(BindPoint listenerConfig) throws IOException;
+ void bind(BindPoint listenerConfig);
/**
* Unbinds and unregisters a server listener.
*
* @param listenerConfig the listener to unregister and unbind
- * @throws IOException if there is a problem unbinding a listener
+ * @throws org.apache.seda.SedaException if there is a problem unbinding a
listener
*/
- void unbind(BindPoint listenerConfig) throws IOException;
+ void unbind(BindPoint listenerConfig);
+ /**
+ * Returns the monitor of this input manager.
+ */
InputManagerMonitor getMonitor();
+ /**
+ * Sets the monitor of this input manager.
+ */
void setMonitor(InputManagerMonitor monitor);
}
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/TcpInputManager.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/TcpInputManager.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/input/TcpInputManager.java
Mon Oct 11 08:43:38 2004
@@ -39,7 +39,7 @@
* Default InputManager implementation based on NIO selectors and channels.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Apache Directory Project</a>
- * @version $Rev: 1452 $
+ * @version $Rev$
*/
public class TcpInputManager extends AbstractSubscriber implements
InputManager,
ConnectSubscriber,
@@ -390,7 +390,7 @@
* the interest claim and release methods.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Alex Karasulu</a>
- * @author $Author: akarasulu $
+ * @author $Author$
* @version $Revision$
*/
class ConcreteInputEvent extends InputEvent {
Modified:
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/OutputManager.java
==============================================================================
---
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/OutputManager.java
(original)
+++
incubator/directory/seda/branches/trustin_api_redesign/src/java/org/apache/seda/stage/output/OutputManager.java
Mon Oct 11 08:43:38 2004
@@ -27,7 +27,7 @@
* Service interface used to manage output.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Apache Directory Project</a>
- * @version $Rev: 9555 $
+ * @version $Rev$
*/
public interface OutputManager {
/**