Class SessionListenerContainerImpl
java.lang.Object
io.github.qbast.azurewagon.listener.SessionListenerContainerImpl
- All Implemented Interfaces:
SessionListenerContainer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener) Add aSessionListenerto be notifiedvoidNotifySessionListeners that creation of the session's connection was refusedvoidNotifySessionListeners that a session has been disconnected successfullyvoidNotifySessionListeners that a session is being disconnectedvoidfireSessionError(Exception exception) NotifySessionListeners that an error occurred during while the session was in usevoidNotifySessionListeners that the session was logged in successfullyvoidNotifySessionListeners that the session was logged off successfullyvoidNotifySessionListeners that a session has been opened successfullyvoidNotifySessionListeners 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
-
Constructor Details
-
SessionListenerContainerImpl
public SessionListenerContainerImpl(org.apache.maven.wagon.Wagon wagon)
-
-
Method Details
-
addSessionListener
public void addSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener) Description copied from interface:SessionListenerContainerAdd aSessionListenerto be notified- Specified by:
addSessionListenerin interfaceSessionListenerContainer- Parameters:
sessionListener- TheSessionListenerto be notified
-
removeSessionListener
public void removeSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener) Description copied from interface:SessionListenerContainerRemove aSessionListenerso that it is no longer notified- Specified by:
removeSessionListenerin interfaceSessionListenerContainer- Parameters:
sessionListener- TheSessionListenerthat should no longer be notified
-
hasSessionListener
public boolean hasSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener) Description copied from interface:SessionListenerContainerReturns whether aSessionListeneris already in the collection ofSessionListeners to be notified- Specified by:
hasSessionListenerin interfaceSessionListenerContainer- Parameters:
sessionListener- TheSessionListenerto look for- Returns:
trueif theSessionListeneris already in the collection ofSessionListeners to be notified, otherwisefalse
-
fireSessionOpening
public void fireSessionOpening()Description copied from interface:SessionListenerContainerNotifySessionListeners that a session is being opened- Specified by:
fireSessionOpeningin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_OPENING
-
fireSessionOpened
public void fireSessionOpened()Description copied from interface:SessionListenerContainerNotifySessionListeners that a session has been opened successfully- Specified by:
fireSessionOpenedin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_OPENED
-
fireSessionDisconnecting
public void fireSessionDisconnecting()Description copied from interface:SessionListenerContainerNotifySessionListeners that a session is being disconnected- Specified by:
fireSessionDisconnectingin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_DISCONNECTING
-
fireSessionDisconnected
public void fireSessionDisconnected()Description copied from interface:SessionListenerContainerNotifySessionListeners that a session has been disconnected successfully- Specified by:
fireSessionDisconnectedin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_DISCONNECTED
-
fireSessionConnectionRefused
public void fireSessionConnectionRefused()Description copied from interface:SessionListenerContainerNotifySessionListeners that creation of the session's connection was refused- Specified by:
fireSessionConnectionRefusedin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_CONNECTION_REFUSED
-
fireSessionLoggedIn
public void fireSessionLoggedIn()Description copied from interface:SessionListenerContainerNotifySessionListeners that the session was logged in successfully- Specified by:
fireSessionLoggedInin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_LOGGED_IN
-
fireSessionLoggedOff
public void fireSessionLoggedOff()Description copied from interface:SessionListenerContainerNotifySessionListeners that the session was logged off successfully- Specified by:
fireSessionLoggedOffin interfaceSessionListenerContainer- See Also:
-
SessionEvent.SESSION_LOGGED_OFF
-
fireSessionError
Description copied from interface:SessionListenerContainerNotifySessionListeners that an error occurred during while the session was in use- Specified by:
fireSessionErrorin interfaceSessionListenerContainer- Parameters:
exception- The error that occurred
-