blob: 0002016fd2bafbd436d6d8217f6e8555b41712e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package com.orbekk.same;
/**
* An interface that returns a connection for a participant.
*
* When testing, this interface can be mocked to use local participants only.
*/
public interface ConnectionManager {
Services.Master getMaster0(String location);
Services.Client getClient0(String location);
Services.Directory getDirectory(String location);
Services.Paxos getPaxos0(String location);
}
|