Package com.iplanet.dpro.session.service
Class SessionNotificationSender
- java.lang.Object
-
- com.iplanet.dpro.session.service.SessionNotificationSender
-
- All Implemented Interfaces:
InternalSessionListener
@Singleton public class SessionNotificationSender extends Object implements InternalSessionListener
Responsible for sending PLL session notification events to registered listeners. Remote listeners (e.g. other instances of AM, Agents, and rich clients) will be notified using PLL/HTTP. Local listeners (i.e. this instance of AM) will be notified by calling SessionNotificationHandler directly.
-
-
Constructor Summary
Constructors Constructor Description SessionNotificationSender(Debug sessionDebug, SessionServiceConfig serviceConfig, SessionServerConfig serverConfig, SessionInfoFactory sessionInfoFactory, org.forgerock.util.thread.listener.ShutdownManager shutdownManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNotificationQueueSize()Returns current Notification queue size.voidonEvent(InternalSessionEvent event)Callback method allowing observers to receive notification ofInternalSessionevents.
-
-
-
Constructor Detail
-
SessionNotificationSender
@Inject public SessionNotificationSender(@Named("amSession") Debug sessionDebug, SessionServiceConfig serviceConfig, SessionServerConfig serverConfig, SessionInfoFactory sessionInfoFactory, org.forgerock.util.thread.listener.ShutdownManager shutdownManager)
-
-
Method Detail
-
getNotificationQueueSize
public int getNotificationQueueSize()
Returns current Notification queue size.
-
onEvent
public void onEvent(InternalSessionEvent event)
Description copied from interface:InternalSessionListenerCallback method allowing observers to receive notification ofInternalSessionevents.- Specified by:
onEventin interfaceInternalSessionListener- Parameters:
event- Non nullInternalSessionEventdescribing the event which occurred.
-
-