public class NullRedirector extends java.lang.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,
java.util.Set<java.lang.String> nodeUuids)
Does nothing.
|
Glacier2.SessionPrx |
getProxyOrNull(Redirector.Context context,
java.lang.String userId,
Glacier2.SessionControlPrx control,
Ice.Current current)
Always returns null
|
void |
handleRingShutdown(Redirector.Context context,
java.lang.String uuid)
Does nothing.
|
public Glacier2.SessionPrx getProxyOrNull(Redirector.Context context, java.lang.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, java.util.Set<java.lang.String> nodeUuids)
chooseNextRedirect
in interface Redirector
public void handleRingShutdown(Redirector.Context context, java.lang.String uuid)
handleRingShutdown
in interface Redirector
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.