Documentation of 'visad.collab.MessageMonitorEvent' Java class
MessageMonitorEvent
visad.collab

Class MessageMonitorEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class MessageMonitorEvent
    extends MonitorEvent
    MessageMonitorEvent is the VisAD class for MessageEvent-related events from display monitors. They are sourced by DisplayMonitor objects and received by MonitorCallback objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • MessageMonitorEvent

        public MessageMonitorEvent(MessageEvent msg)
                            throws java.rmi.RemoteException,
                                   VisADException
        Creates a MessageMonitorEvent for the specified MessageEvent.
        Parameters:
        msg - the MessageEvent.
        Throws:
        VisADException - When a bad type is specified.
        java.rmi.RemoteException
      • MessageMonitorEvent

        public MessageMonitorEvent(int type,
                                   MessageEvent msg)
                            throws java.rmi.RemoteException,
                                   VisADException
        Creates a MessageMonitorEvent for the specified MessageEvent.
        Parameters:
        type - The event type (currently only MonitorEvent.MESSAGE_SENT.)
        msg - the MessageEvent.
        Throws:
        VisADException - When a bad type is specified.
        java.rmi.RemoteException
      • MessageMonitorEvent

        public MessageMonitorEvent(int type,
                                   int originator,
                                   MessageEvent msg)
                            throws java.rmi.RemoteException,
                                   VisADException
        Creates a MessageMonitorEvent for the specified MessageEvent.
        Parameters:
        type - The event type (currently only MonitorEvent.MESSAGE_SENT.)
        originator - The ID of the connection from which this event came, relative to the receiver of the event.
        msg - the MessageEvent.
        Throws:
        VisADException - When a bad type is specified.
        java.rmi.RemoteException
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Get the key used to uniquely identify this event.
        Specified by:
        getKey in class MonitorEvent
        Returns:
        The unique key.
      • getMessage

        public MessageEvent getMessage()
        Gets the ScalarMap to which this event refers.
      • equals

        public boolean equals(java.lang.Object o)
        Returns true if the specified object matches this object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - The object to compare.
      • clone

        public java.lang.Object clone()
        Returns an exact clone of this object.
        Specified by:
        clone in class MonitorEvent
      • toString

        public java.lang.String toString()
        Returns a String representation of this object.
        Overrides:
        toString in class MonitorEvent

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.