|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rbnb.plugins.PlugInRecorder
public class PlugInRecorder
Makes requests of a plug-in at a fixed interval. Records the results in a channel on the server. The requests are spaced so as to be gap free, without overlap.
| Constructor Summary | |
|---|---|
PlugInRecorder()
|
|
PlugInRecorder(String in,
String out)
A convenience constructor which sets the input and output channels. |
|
| Method Summary | |
|---|---|
int |
getArchiveSize()
Returns the length of the archive to use for recording. |
String |
getHost()
The RBNB hostname:port. |
String |
getInputChannel()
Returns the channel to record. |
int |
getInterval()
Returns the interval between requests, in milliseconds. |
String |
getOutputChannel()
Get the recording destination channel. |
String |
getPassword()
Password used in connecting to the RBNB. |
Throwable |
getRecorderException()
If the recording thread stops because of an exception, it can be retrieved using this method. |
String |
getRequestStart()
Returns the starting point for recording. |
String |
getUser()
Username used in connecting to the RBNB. |
boolean |
isRunning()
Returns true if the recorder is running. |
void |
setArchiveSize(int archiveSize)
Set the length of the archive to use for recording. |
void |
setHost(String host)
|
void |
setInputChannel(String inputChannel)
Set the channel to record. |
void |
setInterval(int interval_ms)
Set the interval between requests, in milliseconds. |
void |
setOutputChannel(String outputChannel)
Set the destination of recording. |
void |
setPassword(String pass)
|
void |
setRequestStart(String requestStart)
Sets the start of the recording. |
void |
setUser(String user)
|
void |
start()
Begins recording. |
void |
stop()
Ends recording. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlugInRecorder()
public PlugInRecorder(String in,
String out)
setInputChannel(String),
setOutputChannel(String)| Method Detail |
|---|
public int getArchiveSize()
public void setArchiveSize(int archiveSize)
public final String getHost()
public final void setHost(String host)
public final String getUser()
public final void setUser(String user)
public final String getPassword()
public final void setPassword(String pass)
public int getInterval()
public void setInterval(int interval_ms)
public String getInputChannel()
public final void setInputChannel(String inputChannel)
public String getOutputChannel()
public final void setOutputChannel(String outputChannel)
where the folders are optional.
IllegalArgumentException - If the channel is not the correct form.public String getRequestStart()
public void setRequestStart(String requestStart)
The default is newest.
public final boolean isRunning()
public Throwable getRecorderException()
public void start()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||