public class NullRedirector extends Object implements Redirector
Redirector
implementation to effectively disable redirects.Redirector.Context
Constructor and Description |
---|
NullRedirector() |
Modifier and Type | Method and Description |
---|---|
void |
chooseNextRedirect(Redirector.Context context,
Set<String> nodeUuids)
Does nothing.
|
Glacier2.SessionPrx |
getProxyOrNull(Redirector.Context context,
String userId,
Glacier2.SessionControlPrx control,
Ice.Current current)
Always returns null
|
void |
handleRingShutdown(Redirector.Context context,
String uuid)
Does nothing.
|
public Glacier2.SessionPrx getProxyOrNull(Redirector.Context context, String userId, Glacier2.SessionControlPrx control, Ice.Current current) throws Glacier2.CannotCreateSessionException
getProxyOrNull
in interface Redirector
userId
- Not null.Glacier2.CannotCreateSessionException
public void chooseNextRedirect(Redirector.Context context, Set<String> nodeUuids)
chooseNextRedirect
in interface Redirector
public void handleRingShutdown(Redirector.Context context, String uuid)
handleRingShutdown
in interface Redirector
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.