org.exolab.jms.net.connector
Interface Invocation

All Known Implementing Classes:
MarshalledInvocation

public interface Invocation

An Invocation represents a remote method invocation, which may be handled synchronously or asynchrounously by an InvocationHandler.

Version:
$Revision: 1.2 $ $Date: 2005/06/04 14:41:37 $
Author:
Tim Anderson
See Also:
InvocationHandler, Request, Response

Method Summary
 Caller getCaller()
          Returns the caller performing the invocation.
 Request getRequest()
          Returns the request.
 void setResponse(Response response)
          Sets the result of the invocation.
 

Method Detail

getRequest

public Request getRequest()
                   throws java.lang.Throwable
Returns the request.
Returns:
the request
Throws:
java.lang.Throwable - for any error

getCaller

public Caller getCaller()
Returns the caller performing the invocation.
Returns:
the caller

setResponse

public void setResponse(Response response)
Sets the result of the invocation.
Parameters:
response - the result


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.