org.omg.dds.rpc.ServiceProxy Maven / Gradle / Ivy
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);
}