Author: david.lloyd(a)jboss.com
Date: 2008-07-01 10:01:12 -0400 (Tue, 01 Jul 2008)
New Revision: 4338
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/AbstractRequestListener.java
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Closeable.java
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Endpoint.java
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientWrapper.java
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/SessionWrapper.java
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/stream/package-info.java
Log:
minor fixes & javadoc
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/AbstractRequestListener.java
===================================================================
---
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/AbstractRequestListener.java 2008-07-01
03:44:29 UTC (rev 4337)
+++
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/AbstractRequestListener.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -2,6 +2,9 @@
/**
* A simple request listener implementation that implements all methods with no-operation
implementations.
+ *
+ * @param <I> the request type
+ * @param <O> the reply type
*/
public abstract class AbstractRequestListener<I, O> implements
RequestListener<I, O> {
Modified: remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Closeable.java
===================================================================
--- remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Closeable.java 2008-07-01
03:44:29 UTC (rev 4337)
+++ remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Closeable.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -16,13 +16,6 @@
void close() throws RemotingException;
/**
- * Close immediately. Any outstanding processing is immediately aborted.
- *
- * @throws RemotingException if the close failed
- */
- void closeImmediate() throws RemotingException;
-
- /**
* Add a handler that will be called upon close. The handler may be called before or
after the close acutally
* takes place.
*
Modified: remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Endpoint.java
===================================================================
--- remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Endpoint.java 2008-07-01
03:44:29 UTC (rev 4337)
+++ remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/Endpoint.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -49,6 +49,8 @@
*
* You must have the TODO permission to invoke this method.
*
+ * @param <I> the request type
+ * @param <O> the reply type
* @param requestListener the request listener
* @return the client
*/
@@ -61,6 +63,8 @@
*
* You must have the TODO permission to invoke this method.
*
+ * @param <I> the request type
+ * @param <O> the reply type
* @param requestListener the request listener
* @return the context source
*/
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java
===================================================================
---
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java 2008-07-01
03:44:29 UTC (rev 4337)
+++
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -33,13 +33,6 @@
/**
* {@inheritDoc} This implementation calls the same method on the delegate object.
*/
- public void closeImmediate() throws RemotingException {
- delegate.closeImmediate();
- }
-
- /**
- * {@inheritDoc} This implementation calls the same method on the delegate object.
- */
public void addCloseHandler(final CloseHandler<ClientSource<I, O>>
closeHandler) {
delegate.addCloseHandler(new CloseHandler<ClientSource<I, O>>() {
public void handleClose(final ClientSource<I, O> closed) {
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientWrapper.java
===================================================================
---
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientWrapper.java 2008-07-01
03:44:29 UTC (rev 4337)
+++
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientWrapper.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -35,13 +35,6 @@
/**
* {@inheritDoc} This implementation calls the same method on the delegate object.
*/
- public void closeImmediate() throws RemotingException {
- delegate.closeImmediate();
- }
-
- /**
- * {@inheritDoc} This implementation calls the same method on the delegate object.
- */
public void addCloseHandler(final CloseHandler<Client<I, O>>
closeHandler) {
delegate.addCloseHandler(new CloseHandler<Client<I, O>>() {
public void handleClose(final Client<I, O> closed) {
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/SessionWrapper.java
===================================================================
---
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/SessionWrapper.java 2008-07-01
03:44:29 UTC (rev 4337)
+++
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/SessionWrapper.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -31,13 +31,6 @@
/**
* {@inheritDoc} This implementation calls the same method on the delegate object.
*/
- public void closeImmediate() throws RemotingException {
- delegate.closeImmediate();
- }
-
- /**
- * {@inheritDoc} This implementation calls the same method on the delegate object.
- */
public void addCloseHandler(final CloseHandler<Session> closeHandler) {
delegate.addCloseHandler(new CloseHandler<Session>() {
public void handleClose(final Session closed) {
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/stream/package-info.java
===================================================================
---
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/stream/package-info.java 2008-07-01
03:44:29 UTC (rev 4337)
+++
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/stream/package-info.java 2008-07-01
14:01:12 UTC (rev 4338)
@@ -1,4 +1,4 @@
/**
* Stream-related API classes.
*/
-package org.jboss.cx.remoting.spi.stream;
+package org.jboss.cx.remoting.stream;
Show replies by date