-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSellerInterface.java
More file actions
30 lines (23 loc) · 998 Bytes
/
SellerInterface.java
File metadata and controls
30 lines (23 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package AuctioningSystem;
/*
Code: auction Interface auction.java
Date: 10th October 2000
The auction interface provides a description of the 5 remote
arithmetic methods available as part of the service provided
by the remote object auctionimpl. Note carefully that the interface
extends remote and each methods throws a remote exception.
*/
public interface SellerInterface
extends java.rmi.Remote {
public int newAuction(Item item)
throws java.rmi.RemoteException;
public int removeItem(int auctionId)
throws java.rmi.RemoteException;
public Float getHighestBid(int auctionId)
throws java.rmi.RemoteException;
public String closeAuction(int auctionId, int uid)
throws java.rmi.RemoteException;
public byte[] sign(byte[] b) throws java.rmi.RemoteException;
public byte[] authUser(int uid) throws java.rmi.RemoteException;
public boolean returnSignedNumber(byte[] b, int uid) throws java.rmi.RemoteException;
}