Coverage Report - org.mule.transport.rmi.RmiAble
 
Classes in this File Line Coverage Branch Coverage Complexity
RmiAble
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.rmi;
 8  
 
 9  
 /**
 10  
  * A callback proxy for binding a RmiMessage receiver to a Remote object
 11  
  */
 12  
 
 13  
 public interface RmiAble
 14  
 {
 15  
     /**
 16  
      * Set Mule receiver as parameter for callback
 17  
      * 
 18  
      * @param receiver
 19  
      */
 20  
     public void setReceiver(RmiMessageReceiver receiver);
 21  
 
 22  
     /**
 23  
      * Implementing method should route message back to Mule receiver and receive
 24  
      * possible reply for program that calls this Receiver
 25  
      * 
 26  
      * @param message from calling program
 27  
      * @return possible reply from Mule to be routed back to calling program as
 28  
      *         method result
 29  
      */
 30  
     public Object route(Object message);
 31  
 }