org.netbeans.lib.cvsclient.event
Class BinaryMessageEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.netbeans.lib.cvsclient.event.CVSEvent
          extended byorg.netbeans.lib.cvsclient.event.BinaryMessageEvent
All Implemented Interfaces:
java.io.Serializable

public class BinaryMessageEvent
extends CVSEvent

An event sent from the server to indicate that a binary message should be displayed to the user

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BinaryMessageEvent(java.lang.Object source, byte[] message)
          Construct a MessageEvent
 
Method Summary
protected  void fireEvent(CVSListener listener)
          Fire the event to the event listener.
 byte[] getMessage()
          Getter for property message.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryMessageEvent

public BinaryMessageEvent(java.lang.Object source,
                          byte[] message)
Construct a MessageEvent

Parameters:
source - the source of the event
message - the message text
Method Detail

getMessage

public byte[] getMessage()
Getter for property message.

Returns:
Value of property message.

fireEvent

protected void fireEvent(CVSListener listener)
Fire the event to the event listener. Subclasses should call the appropriate method on the listener to dispatch this event.

Specified by:
fireEvent in class CVSEvent
Parameters:
listener - the event listener

 

Built on February 11 2005.  |  Portions Copyright 1997-2004 Sun Microsystems, Inc. All rights reserved.