Java Code Examples for sun.rmi.transport.tcp.TCPEndpoint#getLocalEndpoint()

The following examples show how to use sun.rmi.transport.tcp.TCPEndpoint#getLocalEndpoint() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CheckFQDNClient.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public void run () {
    try {
        synchronized(this) {
            ep = TCPEndpoint.getLocalEndpoint(0);
        }
    } catch (Exception e) {
        throw new RuntimeException();
    } finally {
        synchronized(this) {
            this.notify();
        }
    }
}
 
Example 2
Source File: CheckFQDNClient.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
public void run () {
    try {
        synchronized(this) {
            ep = TCPEndpoint.getLocalEndpoint(0);
        }
    } catch (Exception e) {
        throw new RuntimeException();
    } finally {
        synchronized(this) {
            this.notify();
        }
    }
}
 
Example 3
Source File: CheckFQDNClient.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
public void run () {
    try {
        synchronized(this) {
            ep = TCPEndpoint.getLocalEndpoint(0);
        }
    } catch (Exception e) {
        throw new RuntimeException();
    } finally {
        synchronized(this) {
            this.notify();
        }
    }
}
 
Example 4
Source File: CheckFQDNClient.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public void run () {
    try {
        synchronized(this) {
            ep = TCPEndpoint.getLocalEndpoint(0);
        }
    } catch (Exception e) {
        throw new RuntimeException();
    } finally {
        synchronized(this) {
            this.notify();
        }
    }
}
 
Example 5
Source File: LiveRef.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space, to use sockets of the specified type.
 */
public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf,
               RMIServerSocketFactory ssf)
{
    this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
}
 
Example 6
Source File: LiveRef.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space, to use sockets of the specified type.
 */
public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf,
               RMIServerSocketFactory ssf)
{
    this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
}
 
Example 7
Source File: LiveRef.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space, to use sockets of the specified type.
 */
public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf,
               RMIServerSocketFactory ssf)
{
    this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
}
 
Example 8
Source File: LiveRef.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space, to use sockets of the specified type.
 */
public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf,
               RMIServerSocketFactory ssf)
{
    this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
}
 
Example 9
Source File: LiveRef.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space, to use sockets of the specified type.
 */
public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf,
               RMIServerSocketFactory ssf)
{
    this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
}
 
Example 10
Source File: LiveRef.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space, to use sockets of the specified type.
 */
public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf,
               RMIServerSocketFactory ssf)
{
    this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
}
 
Example 11
Source File: LiveRef.java    From jdk8u_jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 12
Source File: LiveRef.java    From jdk8u-dev-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 13
Source File: LiveRef.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 14
Source File: LiveRef.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 15
Source File: LiveRef.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 16
Source File: LiveRef.java    From jdk8u-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 17
Source File: LiveRef.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 18
Source File: LiveRef.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 19
Source File: LiveRef.java    From jdk8u-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}
 
Example 20
Source File: LiveRef.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct a new live reference for a "well-known" server object
 * in the local address space.
 */
public LiveRef(ObjID objID, int port) {
    this(objID, TCPEndpoint.getLocalEndpoint(port), true);
}