Package org.apache.harmony.rmi.transport

Examples of org.apache.harmony.rmi.transport.Endpoint


     * @param objId Object ID of remoteObject
     */
    public UnicastRef(String host,
                      int port,
                      ObjID objId) {
        this(new Endpoint(host, port, null, null), objId);
    }
View Full Code Here


                            RMIClientSocketFactory csf,
                            RMIServerSocketFactory ssf,
                            ObjID objId) {
        super();
        isLocal = true;
        ep = new Endpoint(port, csf, ssf);
        this.objId = objId;
    }
View Full Code Here

     * Removes connection from the list of connections.
     *
     * @param conn connection to be removed
     */
    public static void removeConnection(ClientConnection conn) {
        Endpoint ep = conn.getEndpoint();

        synchronized (connsTable) {
            Set conns = (Set) connsTable.get(ep);

            if (conns == null) {
View Full Code Here

                wakeUpTime = Long.MAX_VALUE;

                synchronized (connsTable) {
                    for (Enumeration eps = connsTable.keys();
                            eps.hasMoreElements();) {
                        Endpoint ep = (Endpoint) eps.nextElement();
                        Set conns = (Set) connsTable.get(ep);

                        if (conns.isEmpty()) {
                            connsTable.remove(ep);
                            continue;
View Full Code Here

TOP

Related Classes of org.apache.harmony.rmi.transport.Endpoint

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.