Class CMDummyEvent


public class CMDummyEvent extends CMEvent
The CMDummyEvent represents a simple event that has a string message.

A CM application can generate an instance of this class to simply send and receive a string message.

  • Constructor Details

    • CMDummyEvent

      public CMDummyEvent()
      Creates a new instance of the CMDummyEvent class.
    • CMDummyEvent

      public CMDummyEvent(ByteBuffer msg)
  • Method Details

    • setDummyInfo

      public void setDummyInfo(String info)
      Sets a string message to this event.
      Parameters:
      info - - the string message
    • getDummyInfo

      public String getDummyInfo()
      Returns the string message in this event.
      Returns:
      the string message.
    • getByteNum

      protected int getByteNum()
      Overrides:
      getByteNum in class CMEvent
    • marshallBody

      protected void marshallBody()
      Specified by:
      marshallBody in class CMEvent
    • unmarshallBody

      protected void unmarshallBody(ByteBuffer msg)
      Specified by:
      unmarshallBody in class CMEvent