org.netbeans.lib.cvsclient.commandLine
Class BasicListener
java.lang.Object
org.netbeans.lib.cvsclient.event.CVSAdapter
org.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".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicListener
public BasicListener()
BasicListener
public BasicListener(java.io.PrintStream stdout,
java.io.PrintStream stderr)
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
messageSent
public 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.
- 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