Package net.xeoh.plugins.remotediscovery.impl.v4.probes.network

Examples of net.xeoh.plugins.remotediscovery.impl.v4.probes.network.NetworkProbe


        final ExportInfo exportInfoFor = this.dmp.getExportInfoFor(plugin.getCanonicalName());
        final Collection<ExportedPlugin> allExported = exportInfoFor.allExported;

        for (final ExportedPlugin e : allExported) {
            rval.add(new DiscoveredPluginImpl(PublishMethod.valueOf(e.exportMethod), e.exportURI, 0 , e.timeSinceExport));
        }

        return rval;
    }
View Full Code Here


                    _newURI += uri.getPort();
                    _newURI += uri.getPath();

                    try {
                        // TODO: Compute distance properly.
                        result.add(new DiscoveredPluginImpl(method, new URI(_newURI), pingTime.get(), p.timeSinceExport));
                    } catch (final URISyntaxException e) {
                        e.printStackTrace();
                    }
                }
            } catch (final Exception e) {
View Full Code Here

    /** */
    @Init
    public void init() {
        this.networkProbe = new NetworkProbe(this.pluginManager);
        this.localProbe = new LocalProbe(this.pluginManager);

        this.networkProbe.startup();
        this.localProbe.startup();
    }
View Full Code Here

    }

    /** */
    @Init
    public void init() {
        this.networkProbe = new NetworkProbe(this.pluginManager);
        this.localProbe = new LocalProbe(this.pluginManager);

        this.networkProbe.startup();
        this.localProbe.startup();
    }
View Full Code Here

TOP

Related Classes of net.xeoh.plugins.remotediscovery.impl.v4.probes.network.NetworkProbe

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.