summaryrefslogtreecommitdiff
path: root/java/JACE/netsvcs/Token/RemoteRWMutex.java
blob: cc666bfd70f38f1d2229fd134b806f7e454fa02b (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
29
package JACE.netsvcs.Token;

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