com.altair.hwm.comm
Class HWMCommEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.altair.hwm.comm.HWMCommEvent
All Implemented Interfaces:
java.io.Serializable

public class HWMCommEvent
extends java.util.EventObject

Title: HWMCommEvent

Description: This is the event object which will be passed on when an event is fired by HWMClientComm (when a command is received that is not the result of any query).

Company: Altair Engineering, Inc.

See Also:
Serialized Form

Constructor Summary
HWMCommEvent(java.lang.Object objSource, java.lang.String strMsg)
          Constructor
 
Method Summary
 java.lang.String GetMessage()
          Gets the message
 void SetMessage(java.lang.String strMsg)
          Sets the message
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HWMCommEvent

public HWMCommEvent(java.lang.Object objSource,
                    java.lang.String strMsg)
Constructor

Parameters:
objSource - The source object (comm client) which fires the event
strMsg - The message that needs to be passed to the handler of the event (the command that was received through the socket)
Method Detail

GetMessage

public java.lang.String GetMessage()
Gets the message

Returns:
String message that needs to passed on to the listener (maybe err msg)

SetMessage

public void SetMessage(java.lang.String strMsg)
Sets the message

Parameters:
strMsg - The message that needs to passed on to the listener (maybe err msg)