org.jboss.remoting3.spi
Interface RemoteRequestHandler
- All Superinterfaces:
- Closeable, HandleableCloseable<RemoteRequestHandler>
public interface RemoteRequestHandler
- extends HandleableCloseable<RemoteRequestHandler>
A request handler which forwards across the JVM boundary.
This is an internal Remoting interface, intended to be implemented only by Remoting internals and protocol implementations.
It should not be used or implemented by end-users. Members may be added without notice. Applications should instead use
the Client and RequestListener interfaces.
receiveRequest
org.jboss.xnio.Cancellable receiveRequest(Object request,
LocalReplyHandler replyHandler)
- Receive a request bound to a remote system. This method is intended to be called by protocol handlers. If the
request cannot be accepted for some reason, the
RemoteReplyHandler.handleException(java.io.IOException)
method is called immediately.
- Parameters:
request - the requestreplyHandler - a handler for the reply
- Returns:
- a reference which may be used to cancel the request
Copyright © 2010 JBoss, a division of Red Hat, Inc.