JBoss Remoting 3.1.0.Beta1

org.jboss.remoting3.spi
Interface RequestHandlerConnector


public interface RequestHandlerConnector

A holder for a request handler that is to be sent to a remote peer.


Method Summary
 org.jboss.xnio.Cancellable createRequestHandler(org.jboss.xnio.Result<RequestHandler> result)
          Get the request handler.
 

Method Detail

createRequestHandler

org.jboss.xnio.Cancellable createRequestHandler(org.jboss.xnio.Result<RequestHandler> result)
                                                throws SecurityException
Get the request handler. If this connector was forwarded, this method may only be called once; further attempts to call it should result in a SecurityException.

Parameters:
result - the result of the connection
Returns:
the cancellation handle
Throws:
SecurityException - if this is a forwarding connector, thrown if the connector was not forwarded or if this method is called more than one time

JBoss Remoting 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.