Documentation of 'visad.MessageEvent' Java class
MessageEvent
visad

Class MessageEvent



  • public class MessageEvent
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ID_GENERIC 
    • Constructor Summary

      Constructors 
      Constructor and Description
      MessageEvent(int id)
      Create a message event with the given ID
      MessageEvent(int id, int originator, java.lang.String str, RemoteData data)
      Create a message event with the given IDs, string and data
      MessageEvent(int id, RemoteData data)
      Create a message event with the given ID and data
      MessageEvent(int id, java.lang.String str)
      Create a message event with the given ID and string
      MessageEvent(int id, java.lang.String str, RemoteData data)
      Create a message event with the given ID, string and data
      MessageEvent(RemoteData data)
      Create a message event with the given data
      MessageEvent(java.lang.String str)
      Create a message event with the given string
      MessageEvent(java.lang.String str, RemoteData data)
      Create a message event with the given string and data
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      RemoteData getData()
      Get the data associated with this message.
      int getId()
      Get this message's ID.
      int getOriginatorId()
      Get the ID of the originator of this message.
      java.lang.String getString()
      Get the string associated with this message.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MessageEvent

        public MessageEvent(int id)
        Create a message event with the given ID
        Parameters:
        id - Message ID
      • MessageEvent

        public MessageEvent(java.lang.String str)
        Create a message event with the given string
        Parameters:
        str - Message String
      • MessageEvent

        public MessageEvent(RemoteData data)
        Create a message event with the given data
        Parameters:
        data - Message Data
      • MessageEvent

        public MessageEvent(int id,
                            java.lang.String str)
        Create a message event with the given ID and string
        Parameters:
        id - Message ID
        str - Message String
      • MessageEvent

        public MessageEvent(int id,
                            RemoteData data)
        Create a message event with the given ID and data
        Parameters:
        id - Message ID
        data - Message Data
      • MessageEvent

        public MessageEvent(java.lang.String str,
                            RemoteData data)
        Create a message event with the given string and data
        Parameters:
        str - Message String
        data - Message Data
      • MessageEvent

        public MessageEvent(int id,
                            java.lang.String str,
                            RemoteData data)
        Create a message event with the given ID, string and data
        Parameters:
        id - Message ID
        str - Message String
        data - Message Data
      • MessageEvent

        public MessageEvent(int id,
                            int originator,
                            java.lang.String str,
                            RemoteData data)
        Create a message event with the given IDs, string and data
        Parameters:
        id - Message ID
        originator - Originator ID.
        str - Message String
        data - Message Data
    • Method Detail

      • getId

        public int getId()
        Get this message's ID.
        Returns:
        The message ID.
      • getOriginatorId

        public int getOriginatorId()
        Get the ID of the originator of this message.
        Returns:
        The originator's ID.
      • getString

        public java.lang.String getString()
        Get the string associated with this message.
        Returns:
        The message string.
      • getData

        public RemoteData getData()
        Get the data associated with this message.
        Returns:
        The message Data.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.