org.jboss.remoting3.spi
Interface RequestHandlerConnector
public interface RequestHandlerConnector
A holder for a request handler that is to be sent to a remote peer.
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
Copyright © 2010 JBoss, a division of Red Hat, Inc.