org.apache.maven.wagon.events
Interface SessionListener
- Debug
public interface SessionListener
Interface for classes which wants to receive and respond to any session update events.
$Id: SessionListener.java 162476 2005-04-19 02:49:45Z brett $
debug
public void debug(String message)
This methid allows to send arbitrary debug messages.
message
- the debug messgae
sessionConnectionRefused
public void sessionConnectionRefused(SessionEvent sessionEvent)
This method will be called when Wagon when connection to
the repository was refused.
The type of the event should
be set to
SessionEvent.SESSION_CONNECTION_REFUSED
sessionEvent
- the session event
sessionDisconnected
public void sessionDisconnected(SessionEvent sessionEvent)
This method will be called when Wagon has closed connection to
the repository.
The type of the event should
be set to SessionEvent.SESSION_DISCONNECTED
sessionEvent
- the session event
sessionDisconnecting
public void sessionDisconnecting(SessionEvent sessionEvent)
This method will be called when Wagon has closed connection to
to the repository.
The type of the event should
be set to SessionEvent.SESSION_DISCONNECTING
sessionEvent
- the session event
sessionError
public void sessionError(SessionEvent sessionEvent)
This method will be called by Wagon when an error occured.
The type of the event should
be set to
SessionEvent.SESSION_ERROR_OCCURRED
sessionEvent
- the session event
sessionLoggedIn
public void sessionLoggedIn(SessionEvent sessionEvent)
This method will be called by Wagon when Wagon manged
to login to the repository.
sessionEvent
- the session event
sessionLoggedOff
public void sessionLoggedOff(SessionEvent sessionEvent)
This method will be called by Wagon has logged off
from the repository.
The type of the event should
be set to
SessionEvent.SESSION_LOGGED_OFF
sessionEvent
- the session event
sessionOpened
public void sessionOpened(SessionEvent sessionEvent)
This method will be called when Wagon has sucessfully connected to
to the repository.
The type of the event should
be set to SessionEvent.SESSION_OPENED
sessionEvent
- the session event
sessionOpening
public void sessionOpening(SessionEvent sessionEvent)
This method will be called when Wagon is about to open
connection to the repository.
The type of the event should
be set to SessionEvent.SESSION_OPENING
sessionEvent
- the session event