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 RedirectoruserId - Not null.Glacier2.CannotCreateSessionExceptionpublic void chooseNextRedirect(Redirector.Context context, Set<String> nodeUuids)
chooseNextRedirect in interface Redirectorpublic void handleRingShutdown(Redirector.Context context, String uuid)
handleRingShutdown in interface Redirector
                
                
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.