Package gnu.java.rmi.server

Examples of gnu.java.rmi.server.RMIIncomingThread


  public static String getClientHost() throws ServerNotActiveException
  {
    Thread currThread = Thread.currentThread();
    if (currThread instanceof RMIIncomingThread)
      {
        RMIIncomingThread incomingThread = (RMIIncomingThread) currThread;
        return incomingThread.getClientHost();
      }
    else
      {
        throw new ServerNotActiveException(
          "Unknown client host - current thread not instance of 'RMIIncomingThread'");
View Full Code Here

TOP

Related Classes of gnu.java.rmi.server.RMIIncomingThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.