Class UserSourceProfileKernelImpl
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernelImpl
-
- All Implemented Interfaces:
UserSourceProfileKernel
public class UserSourceProfileKernelImpl extends java.lang.Object implements UserSourceProfileKernel
-
-
Constructor Summary
Constructors Constructor Description UserSourceProfileKernelImpl(GatewayContext context, long profileId, java.lang.String profileName, long cacheTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCacheValidationTimeout()
GatewayContext
getContext()
UserSourceManager
getManager()
long
getProfileId()
java.lang.String
getProfileName()
void
shutdown()
Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.void
startup(UserSourceManager manager)
Called when the user source is created before it is used.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernel
isLockedOut, notifyFailedAttempt
-
-
-
-
Constructor Detail
-
UserSourceProfileKernelImpl
public UserSourceProfileKernelImpl(GatewayContext context, long profileId, java.lang.String profileName, long cacheTimeout)
-
-
Method Detail
-
getContext
public GatewayContext getContext()
- Specified by:
getContext
in interfaceUserSourceProfileKernel
- Returns:
- the
GatewayContext
in which thisUserSourceProfileKernel
is running
-
getManager
public UserSourceManager getManager()
- Specified by:
getManager
in interfaceUserSourceProfileKernel
- Returns:
- the
UserSourceManager
running in this context
-
getProfileId
public long getProfileId()
- Specified by:
getProfileId
in interfaceUserSourceProfileKernel
- Returns:
- the ID of this user source profile
-
getProfileName
public java.lang.String getProfileName()
- Specified by:
getProfileName
in interfaceUserSourceProfileKernel
- Returns:
- the name of this user source profile
-
getCacheValidationTimeout
public long getCacheValidationTimeout()
- Specified by:
getCacheValidationTimeout
in interfaceUserSourceProfileKernel
- Returns:
- the cache update time-out option
-
startup
public void startup(UserSourceManager manager)
Description copied from interface:UserSourceProfileKernel
Called when the user source is created before it is used.- Specified by:
startup
in interfaceUserSourceProfileKernel
-
shutdown
public void shutdown()
Description copied from interface:UserSourceProfileKernel
Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.- Specified by:
shutdown
in interfaceUserSourceProfileKernel
-
-