raccoon.core.uitest.data
Class ReceivedMessage

java.lang.Object
  extended by raccoon.core.uitest.data.ReceivedMessage
All Implemented Interfaces:
IReceivedMessage

public class ReceivedMessage
extends java.lang.Object
implements IReceivedMessage

Contains information relevant to an expected message.

Since:
Raccoon v0.7
Version:
$Id: ReceivedMessage.java,v 1.1 2004/08/08 20:19:18 crouvrais Exp $
Author:
Cedric ROUVRAIS

Constructor Summary
ReceivedMessage()
          Default constructor.
ReceivedMessage(java.util.Date pReceptionTime, java.lang.String pExpectedFileName)
          Convenience constructor.
 
Method Summary
 java.lang.String getExpectedFileName()
          The name of the file that contains the expected message.
 java.util.Date getReceptionTime()
          The time at which the expected message was received.
 void setExpectedFileName(java.lang.String pFileName)
          Defines the name of the file related to the expected message.
 void setReceptionTime(java.util.Date pReceptionTime)
          Defines the time at which the expected message was received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceivedMessage

public ReceivedMessage()
Default constructor.


ReceivedMessage

public ReceivedMessage(java.util.Date pReceptionTime,
                       java.lang.String pExpectedFileName)
Convenience constructor.

Parameters:
pReceptionTime - the time of reception of the message.
pExpectedFileName - the name of the file that contains the expected message.
Method Detail

getReceptionTime

public java.util.Date getReceptionTime()
The time at which the expected message was received.

Specified by:
getReceptionTime in interface IReceivedMessage
Returns:
the reception time.

setReceptionTime

public void setReceptionTime(java.util.Date pReceptionTime)
Defines the time at which the expected message was received.

Parameters:
pReceptionTime - the reception time.

getExpectedFileName

public java.lang.String getExpectedFileName()
The name of the file that contains the expected message.

Specified by:
getExpectedFileName in interface IReceivedMessage
Returns:
the file of the expected message.

setExpectedFileName

public void setExpectedFileName(java.lang.String pFileName)
Defines the name of the file related to the expected message.

Parameters:
pFileName - the name of the expected message file.


Copyright null null. All Rights Reserved.