raccoon.tibco.tibrv.uitest.data
Class PlayerChannel

java.lang.Object
  extended by raccoon.tibco.tibrv.uitest.data.AbsChannel
      extended by raccoon.tibco.tibrv.uitest.data.PlayerChannel

public class PlayerChannel
extends AbsChannel

The channel used for publishing TIB/Rendezvous messages.

Since:
Raccoon v0.7
Version:
$Id: PlayerChannel.java,v 1.3 2003/07/01 19:21:00 crouvrais Exp $
Author:
Cedric ROUVRAIS

Constructor Summary
PlayerChannel()
          Default constructor, required for dynamic instanciation
 
Method Summary
 IBusMessage getBusMessage()
          Retrieves the message to send.
 java.lang.String getMsgFile()
          The name of the file that contains the message to be published.
 int getNbPublications()
          The number of times this message has to be published.
 java.lang.String getPlayFile()
           
 java.lang.String getPlayFolder()
           
 int getSeqNumber()
          The order, in the playing sequence, of this message.
 long getSleepTime()
          The time to wait between each publication.
 void setBusMsg(IBusMessage pBusMessage)
          Defines the message to send over the MOM.
 void setMsgFile(java.lang.String pMsgFile)
          Assigns the name of the file that contains teh message to be published.
 void setNbPublications(int pNbPublications)
          Assigns the number of times this message has to be published.
 void setPlayFolder(java.lang.String pPlayFolder)
           
 void setSeqNumber(int pSeqNumber)
          The order, in the playing sequence, assigned to this message.
 void setSleepTime(long pSleepTime)
          Assigns the time to wait between each publication.
 
Methods inherited from class raccoon.tibco.tibrv.uitest.data.AbsChannel
getDaemon, getDescription, getKey, getName, getNetwork, getService, setDaemon, setDescription, setName, setNetwork, setService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerChannel

public PlayerChannel()
Default constructor, required for dynamic instanciation

Method Detail

getPlayFolder

public java.lang.String getPlayFolder()

setPlayFolder

public void setPlayFolder(java.lang.String pPlayFolder)

getMsgFile

public java.lang.String getMsgFile()
The name of the file that contains the message to be published.

Returns:
the file name of the message.

setMsgFile

public void setMsgFile(java.lang.String pMsgFile)
Assigns the name of the file that contains teh message to be published.

Parameters:
pMsgFile - the file name.

getSeqNumber

public int getSeqNumber()
The order, in the playing sequence, of this message.

Returns:
the order

setSeqNumber

public void setSeqNumber(int pSeqNumber)
The order, in the playing sequence, assigned to this message.

Parameters:
pSeqNumber - the sequence number.

getNbPublications

public int getNbPublications()
The number of times this message has to be published.

Returns:
the number of publications.

setNbPublications

public void setNbPublications(int pNbPublications)
Assigns the number of times this message has to be published.

Parameters:
pNbPublications - the number of publications.

getSleepTime

public long getSleepTime()
The time to wait between each publication.

Returns:
the number of milliseconds to pause before playing the next message.

setSleepTime

public void setSleepTime(long pSleepTime)
Assigns the time to wait between each publication.

Parameters:
pSleepTime - the number of milliseconds to pause before playing the next message.

setBusMsg

public void setBusMsg(IBusMessage pBusMessage)
Defines the message to send over the MOM.

Parameters:
pBusMessage - the middleware message.

getBusMessage

public IBusMessage getBusMessage()
Retrieves the message to send.

Returns:
the middleware message.

getPlayFile

public java.lang.String getPlayFile()


Copyright null null. All Rights Reserved.