Class UserSourceProfileKernelImpl
java.lang.Object
com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernelImpl
- All Implemented Interfaces:
UserSourceProfileKernel
-
Constructor Summary
ConstructorsConstructorDescriptionUserSourceProfileKernelImpl(GatewayContext context, long profileId, String profileName, long cacheTimeout) -
Method Summary
Modifier and TypeMethodDescriptionlonglongvoidshutdown()Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.voidstartup(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, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernel
isLockedOut, notifyFailedAttempt
-
Constructor Details
-
UserSourceProfileKernelImpl
public UserSourceProfileKernelImpl(GatewayContext context, long profileId, String profileName, long cacheTimeout)
-
-
Method Details
-
getContext
- Specified by:
getContextin interfaceUserSourceProfileKernel- Returns:
- the
GatewayContextin which thisUserSourceProfileKernelis running
-
getManager
- Specified by:
getManagerin interfaceUserSourceProfileKernel- Returns:
- the
UserSourceManagerrunning in this context
-
getProfileId
public long getProfileId()- Specified by:
getProfileIdin interfaceUserSourceProfileKernel- Returns:
- the ID of this user source profile
-
getProfileName
- Specified by:
getProfileNamein interfaceUserSourceProfileKernel- Returns:
- the name of this user source profile
-
getCacheValidationTimeout
public long getCacheValidationTimeout()- Specified by:
getCacheValidationTimeoutin interfaceUserSourceProfileKernel- Returns:
- the cache update time-out option
-
startup
Description copied from interface:UserSourceProfileKernelCalled when the user source is created before it is used.- Specified by:
startupin interfaceUserSourceProfileKernel
-
shutdown
public void shutdown()Description copied from interface:UserSourceProfileKernelCalled either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.- Specified by:
shutdownin interfaceUserSourceProfileKernel
-