com.jme3.network.rmi
Class RemoteObject

java.lang.Object
  extended by com.jme3.network.rmi.RemoteObject
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class RemoteObject
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Contains various meta-data about an RMI interface.


Constructor Summary
RemoteObject(ObjectStore store, HostedConnection client)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          Callback from InvocationHandler.
 void loadMethods(java.lang.Class<?> interfaceClass)
          Generates mappings from the given interface into the remote RMI interface's implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteObject

public RemoteObject(ObjectStore store,
                    HostedConnection client)
Method Detail

loadMethods

public void loadMethods(java.lang.Class<?> interfaceClass)
Generates mappings from the given interface into the remote RMI interface's implementation.

Parameters:
interfaceClass - The interface class to use.

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Callback from InvocationHandler.

Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable