summaryrefslogtreecommitdiffstats
path: root/src/main/java/derms/replica/replica1/Responder.java
blob: 5fb7359409757cffe29a206a974f6965dd496ff8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package derms.replica.replica1;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface Responder {
    void addResource(Resource r);

    void removeResource(ResourceID rid, int duration)
            throws NoSuchResourceException;

    Resource[] listResourceAvailability(ResourceName rname)
            throws ServerCommunicationError;
}