org.netbeans.lib.cvsclient.event
Interface CVSListener

All Known Implementing Classes:
AddCommand, AnnotateCommand, BasicCommand, BasicListener, BuildableCommand, CheckoutCommand, Command, CommitCommand, CVSAdapter, DiffCommand, EditCommand, EditorsCommand, ExportCommand, HistoryCommand, ImportCommand, locbundlecheck, LogCommand, RannotateCommand, RemoveCommand, RepositoryCommand, RlogCommand, RtagCommand, StatusCommand, TagCommand, UneditCommand, UpdateCommand, WatchCommand, WatchersCommand

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 fileToRemove(FileToRemoveEvent e)
          Called when a file is going to be removed.
 void fileUpdated(FileUpdatedEvent e)
          Called when a file has been updated
 void messageSent(BinaryMessageEvent e)
          Called when the server wants to send a binary message to be displayed to the user.
 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

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

messageSent

void messageSent(BinaryMessageEvent e)
Called when the server wants to send a binary 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

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

Parameters:
e - the event

fileToRemove

void fileToRemove(FileToRemoveEvent e)
Called when a file is going to be removed.

Parameters:
e - the event

fileRemoved

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

Parameters:
e - the event

fileUpdated

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

Parameters:
e - the event

fileInfoGenerated

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


commandTerminated

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


moduleExpanded

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


 

Built on October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.