Author: david.lloyd(a)jboss.com
Date: 2009-03-04 20:30:06 -0500 (Wed, 04 Mar 2009)
New Revision: 4868
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandler.java
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandlerFactory.java
Log:
javadoc
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandler.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandler.java 2009-03-05
01:28:47 UTC (rev 4867)
+++
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandler.java 2009-03-05
01:30:06 UTC (rev 4868)
@@ -32,6 +32,9 @@
* the local and remote side. Stream handlers are non-reentrant; in other words, it is
an error
* for a stream handler to have a stream type as one of its serializable fields or for a
stream handler's
* {@code writeObject} method (if any) to write a stream type.
+ *
+ * @param <T> the streamable object type
+ * @param <C> the channel type that this handler uses
*/
public interface StreamHandler<T, C extends Channel> extends Serializable {
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandlerFactory.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandlerFactory.java 2009-03-05
01:28:47 UTC (rev 4867)
+++
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/stream/StreamHandlerFactory.java 2009-03-05
01:30:06 UTC (rev 4868)
@@ -28,6 +28,9 @@
/**
* A stream handler factory. Produces stream handler instances for the given object,
which in turn uses a specified
* channel type to stream the data.
+ *
+ * @param <T> the streamable object type
+ * @param <C> the channel type that this handler uses
*/
public interface StreamHandlerFactory<T, C extends Channel> {
Show replies by date