raccoon.tibco.tibrv.uitest.data
Class RecorderChannel

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

public class RecorderChannel
extends AbsChannel

The recording channel component used by the recorder.

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

Field Summary
static int MEMORY_RECORDER
          Memory recorder: messages are kept in memory.
static int STANDARD_RECORDER
          Classical recorder: just writes the received message to the hard drive
 
Constructor Summary
RecorderChannel()
          Default constructor required for dynamic instanciation.
 
Method Summary
 int getChannelType()
          The type of this recording channel
 java.lang.String getSaveFolder()
          The folder where the received messages are to be stored.
 java.lang.String getSubject()
          The subject of subscription
 void setChannelType(int pChannelType)
          Defines the type of this recording channel
 void setSaveFolder(java.lang.String pSaveFolder)
          Defines the folder where the received messages are to be stored.
 void setSubject(java.lang.String pSubject)
          Assigns the subject to monitor
 
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
 

Field Detail

STANDARD_RECORDER

public static final int STANDARD_RECORDER
Classical recorder: just writes the received message to the hard drive

See Also:
Constant Field Values

MEMORY_RECORDER

public static final int MEMORY_RECORDER
Memory recorder: messages are kept in memory. If the save folder isn't null, the message will be persisted to the hard drive

See Also:
Constant Field Values
Constructor Detail

RecorderChannel

public RecorderChannel()
Default constructor required for dynamic instanciation.

Method Detail

getSubject

public java.lang.String getSubject()
The subject of subscription

Returns:
the TIB/Rendezvous subject of subscription

setSubject

public void setSubject(java.lang.String pSubject)
Assigns the subject to monitor

Parameters:
pSubject - a valid TIB/Rendezvous subject

getSaveFolder

public java.lang.String getSaveFolder()
The folder where the received messages are to be stored.

Returns:
the storage folder location and name

setSaveFolder

public void setSaveFolder(java.lang.String pSaveFolder)
Defines the folder where the received messages are to be stored.

Parameters:
pSaveFolder - the storage folder name and location (relative or absolute)

getChannelType

public int getChannelType()
The type of this recording channel

Returns:
the channel type

setChannelType

public void setChannelType(int pChannelType)
Defines the type of this recording channel

Parameters:
pChannelType - the channel type


Copyright null null. All Rights Reserved.