org.opentcs.access.rmi.services.RemoteTransportOrderService Maven / Gradle / Ivy
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.access.rmi.services;
import java.rmi.Remote;
import java.rmi.RemoteException;
import org.opentcs.access.rmi.ClientID;
import org.opentcs.access.to.order.OrderSequenceCreationTO;
import org.opentcs.access.to.order.TransportOrderCreationTO;
import org.opentcs.components.kernel.services.TransportOrderService;
import org.opentcs.data.TCSObjectReference;
import org.opentcs.data.model.Vehicle;
import org.opentcs.data.order.OrderSequence;
import org.opentcs.data.order.TransportOrder;
/**
* Declares the methods provided by the {@link TransportOrderService} via RMI.
*
*
* The majority of the methods declared here have signatures analogous to their counterparts in
* {@link TransportOrderService}, with an additional {@link ClientID} parameter which serves the
* purpose of identifying the calling client and determining its permissions.
*
*
* To avoid redundancy, the semantics of methods that only pass through their arguments are not
* explicitly documented here again. See the corresponding API documentation in
* {@link TransportOrderService} for these, instead.
*
*/
public interface RemoteTransportOrderService
extends
RemoteTCSObjectService,
Remote {
// CHECKSTYLE:OFF
OrderSequence createOrderSequence(ClientID clientId, OrderSequenceCreationTO to)
throws RemoteException;
TransportOrder createTransportOrder(ClientID clientId, TransportOrderCreationTO to)
throws RemoteException;
void markOrderSequenceComplete(ClientID clientId, TCSObjectReference ref)
throws RemoteException;
void updateTransportOrderIntendedVehicle(
ClientID clientId,
TCSObjectReference orderRef,
TCSObjectReference vehicleRef
)
throws RemoteException;
// CHECKSTYLE:ON
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy