public class RoleBasedEndpointResolver extends Object implements TestEndpointResolver
| Constructor and Description |
|---|
RoleBasedEndpointResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
register(Role role,
TestEndpoint testEndpoint)
Register a test endpoint for the given role
|
TestEndpoint |
resolve(PeerEndpoint peerEndpoint)
Get the test endpoint for the given peer endpoint
|
public void register(Role role, TestEndpoint testEndpoint)
TestEndpointResolverregister in interface TestEndpointResolverrole - the role to be assigned to the given test endpointtestEndpoint - the test endpoint to assign to the given rolepublic TestEndpoint resolve(PeerEndpoint peerEndpoint)
TestEndpointResolverresolve in interface TestEndpointResolverpeerEndpoint - the peer endpoint for which the test end point needs to be resolvedThis documentation was released into the public domain.