public class UserDisconnectedEvent
extends org.springframework.context.ApplicationEvent
Connection
is disconnected from middleware right before firing
Connection.StateChangeEvent
listeners.Modifier and Type | Field and Description |
---|---|
protected UserSession |
loggedOutSession |
Constructor and Description |
---|
UserDisconnectedEvent(Connection source,
UserSession loggedOutSession) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
UserSession |
getLoggedOutSession() |
Connection |
getSource() |
protected final UserSession loggedOutSession
public UserDisconnectedEvent(Connection source, @Nullable UserSession loggedOutSession)
public Connection getSource()
getSource
in class java.util.EventObject
public Connection getConnection()
@Nullable public UserSession getLoggedOutSession()