JBoss Remoting 3.1.0.Beta1

org.jboss.remoting3
Interface RequestCancelHandler<O>

Type Parameters:
O - the reply type

public interface RequestCancelHandler<O>

A handler for request listeners to receive a notification when a request was cancelled.

See Also:
RequestContext.addCancelHandler(RequestCancelHandler)

This interface is part of the Remoting 3 public API, and is intended to be implemented by users of this API. Abstract members will generally not be added to such types so as to avoid backwards compatibility problems.


Method Summary
 void notifyCancel(RequestContext<O> requestContext)
          Receive notification that the request was cancelled.
 

Method Detail

notifyCancel

void notifyCancel(RequestContext<O> requestContext)
Receive notification that the request was cancelled.

Parameters:
requestContext - the request context

JBoss Remoting 3.1.0.Beta1

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