com.deltax.util.listener
Class MsgSignal

java.lang.Object
  extended bycom.deltax.util.listener.Signal
      extended bycom.deltax.util.listener.MsgSignal

public class MsgSignal
extends Signal

A signal class carrying a message.

Version:
1.0
Author:
Cristiano Sadun

Constructor Summary
MsgSignal(java.lang.String msg, java.lang.Object source)
          Create a signal with the given message.
 
Method Summary
 java.lang.String getMsg()
          Return the signal message.
 
Methods inherited from class com.deltax.util.listener.Signal
getSource, sourceSupportsExceptionSignals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgSignal

public MsgSignal(java.lang.String msg,
                 java.lang.Object source)
Create a signal with the given message.

Parameters:
msg - the message
source - the stated signal source.
Method Detail

getMsg

public java.lang.String getMsg()
Return the signal message.

Returns:
the signal message.