org.exolab.jms.net.rmi
Interface RMIInvoker

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RMIInvokerImpl

public interface RMIInvoker
extends java.rmi.Remote

RMIInvoker enables method invocations to be performed over RMI.

Version:
$Revision: 1.2 $ $Date: 2006/12/16 12:37:17 $
Author:
Tim Anderson

Method Summary
 void disconnect()
          Notifies that the remote peer is disconnecting.
 java.rmi.MarshalledObject invoke(java.rmi.MarshalledObject request)
          Invoke a method on a remote object
 void ping()
          Ping the invoker to determine if it is alive
 

Method Detail

invoke

public java.rmi.MarshalledObject invoke(java.rmi.MarshalledObject request)
                                 throws java.rmi.RemoteException
Invoke a method on a remote object
Parameters:
request - the wrapped Request
Returns:
the result of the invocation
Throws:
java.rmi.RemoteException - if the remote invocation fails

ping

public void ping()
          throws java.rmi.RemoteException
Ping the invoker to determine if it is alive
Throws:
java.rmi.RemoteException - if the handler can't be pinged

disconnect

public void disconnect()
                throws java.rmi.RemoteException
Notifies that the remote peer is disconnecting.
Throws:
java.rmi.RemoteException - for any error


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