public abstract class RecordingStrategiesElement
extends java.lang.Object
| Constructor and Description |
|---|
RecordingStrategiesElement() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear()
If a pool is used this method is for releasing the element from the pool.
|
abstract int |
getIdentification()
Returns the unambiguous identification of the element.
|
abstract void |
process(RecorderStrategy strategy)
Hands the information of the element to the
RecorderStrategy. |
abstract void |
read(java.io.DataInputStream in)
Reads this instance from the given input stream.
|
void |
release()
Release this element from the pool if this instance is
Poolable. |
abstract void |
send(java.io.DataOutputStream out)
Writes this instance to the given output stream.
|
public abstract void send(java.io.DataOutputStream out)
throws java.io.IOException
out - the output streamjava.io.IOException - in case of any I/O error or problempublic abstract void read(java.io.DataInputStream in)
throws java.io.IOException
in - the input streamjava.io.IOException - in case of any I/O error or problempublic abstract int getIdentification()
public abstract void process(RecorderStrategy strategy)
RecorderStrategy.strategy - the RecorderStrategypublic abstract void clear()
public void release()
Poolable.