All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.dds.rpc.ServiceProxy Maven / Gradle / Ivy

There is a newer version: 1.0_beta2
Show newest version
package org.omg.dds.rpc;

import java.util.Collection;
import java.util.concurrent.Future;
import org.omg.dds.core.Duration;

public interface ServiceProxy extends RPCEntity {

    public boolean bind(String instanceName);
    
    public boolean unbind();
    
    public boolean isBound();
    
    public String getBoundInstanceName();
    
    public Collection getDiscoveredServiceInstances();
    
    
    public void waitForService();
    public void waitForService(Duration maxWait);
    
    public void waitForService(String instanceName);
    public void waitForService(Duration maxWait, String instanceName);
    
    
    public void waitForServices(int count);
    public void waitForServices(Duration maxWait, int count);
    
    public void waitForServices(String... instanceNames);
    public void waitForServices(Duration maxWait, String... instanceNames);
    
    
    
    public Future waitForServiceAsync();
    
    public Future waitForServiceAsync(String instanceName);
    
    public Future waitForServicesAsync(int count);
    
    public Future waitForServicesAsync(String... instanceNames);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy