summaryrefslogtreecommitdiff
path: root/java/JACE/netsvcs/Token/RemoteMutex.java
blob: 7f2a4311116bd9e4920e3bddce7ddfe486c33ac5 (plain)
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
package JACE.netsvcs.Token;

/**
 * Proxy used by clients for accessing a mutex at the token service.
 */
public class RemoteMutex extends RemoteLock
{
  /**
   * Constructor.
   *
   *@param tokenName name of the mutex to access
   *@param clientID identification of this client
   *@param host host of the token service
   *@param port port number of the token service
   */
  public RemoteMutex (String tokenName,
		      String clientID,
		      String host,
		      int port)
  {
    super (LockTypes.MUTEX,
	   0,
	   tokenName,
	   clientID,
	   host,
	   port);
  }
}