org.netbeans.lib.cvsclient.event
Interface CVSListener

All Known Implementing Classes:
Command, CVSAdapter

public interface CVSListener

This interface must be implemented by clients wishing to receive events describing the results of commands.


Method Summary
 void commandTerminated(TerminationEvent e)
          called when server responses with "ok" or "error", (when the command finishes)
 void fileAdded(FileAddedEvent e)
          Called when a file has been added.
 void fileInfoGenerated(FileInfoEvent e)
          Called when file information has been received
 void fileRemoved(FileRemovedEvent e)
          Called when a file is removed.
 void fileUpdated(FileUpdatedEvent e)
          Called when a file has been updated
 void messageSent(MessageEvent e)
          Called when the server wants to send a message to be displayed to the user.
 void moduleExpanded(ModuleExpansionEvent e)
          Fire a module expansion event.
 

Method Detail

messageSent

public void messageSent(MessageEvent e)
Called when the server wants to send a message to be displayed to the user. The message is only for information purposes and clients can choose to ignore these messages if they wish.

Parameters:
e - the event

fileAdded

public void fileAdded(FileAddedEvent e)
Called when a file has been added.

Parameters:
e - the event

fileRemoved

public void fileRemoved(FileRemovedEvent e)
Called when a file is removed.

Parameters:
e - the event

fileUpdated

public void fileUpdated(FileUpdatedEvent e)
Called when a file has been updated

Parameters:
e - the event

fileInfoGenerated

public void fileInfoGenerated(FileInfoEvent e)
Called when file information has been received


commandTerminated

public void commandTerminated(TerminationEvent e)
called when server responses with "ok" or "error", (when the command finishes)


moduleExpanded

public void moduleExpanded(ModuleExpansionEvent e)
Fire a module expansion event. This is called when the servers has responded to an expand-modules request.



Built on February 19 2008.  |  Portions Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.