Package net.integrio.maven.aws.data
Interface SessionListenerSupport
-
- All Known Implementing Classes:
StandardSessionListenerSupport
public interface SessionListenerSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)Add aSessionListenerto be notifiedvoidfireSessionConnectionRefused()NotifySessionListeners that creation of the session's connection was refusedvoidfireSessionDisconnected()NotifySessionListeners that a session has been disconnected successfullyvoidfireSessionDisconnecting()NotifySessionListeners that a session is being disconnectedvoidfireSessionError(Exception exception)NotifySessionListeners that an error occurred during while the session was in usevoidfireSessionLoggedIn()NotifySessionListeners that the session was logged in successfullyvoidfireSessionLoggedOff()NotifySessionListeners that the session was logged off successfullyvoidfireSessionOpened()NotifySessionListeners that a session has been opened successfullyvoidfireSessionOpening()NotifySessionListeners that a session is being openedbooleanhasSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)Returns whether aSessionListeneris already in the collection ofSessionListeners to be notifiedvoidremoveSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)Remove aSessionListenerso that it is no longer notified
-
-
-
Method Detail
-
addSessionListener
void addSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)
Add aSessionListenerto be notified- Parameters:
sessionListener- TheSessionListenerto be notified
-
removeSessionListener
void removeSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)
Remove aSessionListenerso that it is no longer notified- Parameters:
sessionListener- TheSessionListenerthat should no longer be notified
-
hasSessionListener
boolean hasSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)
Returns whether aSessionListeneris already in the collection ofSessionListeners to be notified- Parameters:
sessionListener- TheSessionListenerto look for- Returns:
trueif theSessionListeneris already in the collection ofSessionListeners to be notified, otherwisefalse
-
fireSessionOpening
void fireSessionOpening()
NotifySessionListeners that a session is being opened- See Also:
SessionEvent.SESSION_OPENING
-
fireSessionOpened
void fireSessionOpened()
NotifySessionListeners that a session has been opened successfully- See Also:
SessionEvent.SESSION_OPENED
-
fireSessionDisconnecting
void fireSessionDisconnecting()
NotifySessionListeners that a session is being disconnected- See Also:
SessionEvent.SESSION_DISCONNECTING
-
fireSessionDisconnected
void fireSessionDisconnected()
NotifySessionListeners that a session has been disconnected successfully- See Also:
SessionEvent.SESSION_DISCONNECTED
-
fireSessionConnectionRefused
void fireSessionConnectionRefused()
NotifySessionListeners that creation of the session's connection was refused- See Also:
SessionEvent.SESSION_CONNECTION_REFUSED
-
fireSessionLoggedIn
void fireSessionLoggedIn()
NotifySessionListeners that the session was logged in successfully- See Also:
SessionEvent.SESSION_LOGGED_IN
-
fireSessionLoggedOff
void fireSessionLoggedOff()
NotifySessionListeners that the session was logged off successfully- See Also:
SessionEvent.SESSION_LOGGED_OFF
-
fireSessionError
void fireSessionError(Exception exception)
NotifySessionListeners that an error occurred during while the session was in use- Parameters:
exception- The error that occurred
-
-