Class RmiContext

java.lang.Object
com.jme3.network.service.rmi.RmiContext

public class RmiContext extends Object
Keeps track of the current connection performing a particular RMI call. RMI-based services can use this to find out which connection is calling a particular method without having to pass additional problematic data on the method calls.
  • Method Details

    • getRmiConnection

      public static HostedConnection getRmiConnection()
      Returns the HostedConnection that is responsible for any RMI-related calls on this thread.