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

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

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

import org.omg.dds.core.Duration;
import org.omg.dds.pub.DataWriter;
import org.omg.dds.rpc.Sample;
import org.omg.dds.rpc.ReplierParams;
import org.omg.dds.sub.DataReader;
import org.omg.dds.core.SampleIdentity;

public interface Replier extends RPCEntity 
{
    public void sendReply(
            TRep reply,
            SampleIdentity relatedRequestId);

    public boolean receiveRequest(
            Sample request,
            Duration maxWait);

    public Sample.Iterator receiveRequests(
            Duration maxWait);

    public Sample.Iterator receiveRequests(
            int minRequestCount,
            int maxRequestCount,
            Duration maxWait);

    public boolean waitForRequests(
            Duration maxWait);

    public boolean waitForRequests(
            int minCount, 
            Duration maxWait);

    public boolean takeRequest(Sample request);

    public Sample.Iterator takeRequests(int maxSamples);

    public boolean readRequest(Sample request);

    public Sample.Iterator readRequests(int maxSamples);

    boolean receiveNondataSamples(boolean enable);
    
    public ReplierParams getReplierParams();
    
    public DataReader getRequestDataReader();

    public DataWriter getReplyDataWriter();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy