org.netbeans.lib.cvsclient.commandLine
Class BasicListener

java.lang.Object
  extended byorg.netbeans.lib.cvsclient.event.CVSAdapter
      extended byorg.netbeans.lib.cvsclient.commandLine.BasicListener
All Implemented Interfaces:
CVSListener

public class BasicListener
extends CVSAdapter

A basic implementation of a CVS listener. Is really only interested in message events. This listener is suitable for command line clients and clients that don't "persist".


Constructor Summary
BasicListener()
           
BasicListener(java.io.PrintStream stdout, java.io.PrintStream stderr)
           
 
Method Summary
 void fileInfoGenerated(FileInfoEvent e)
          Called when file status information has been received
 void messageSent(MessageEvent e)
          Called when the server wants to send a message to be displayed to the user.
 
Methods inherited from class org.netbeans.lib.cvsclient.event.CVSAdapter
commandTerminated, fileAdded, fileRemoved, fileUpdated, moduleExpanded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicListener

public BasicListener()

BasicListener

public BasicListener(java.io.PrintStream stdout,
                     java.io.PrintStream stderr)
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.

Specified by:
messageSent in interface CVSListener
Overrides:
messageSent in class CVSAdapter
Parameters:
e - the event

fileInfoGenerated

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

Specified by:
fileInfoGenerated in interface CVSListener
Overrides:
fileInfoGenerated in class CVSAdapter


Built on December 18 2007.  |  Portions Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.