org.linuxsampler.lscp.event
Class BufferFillEvent
java.lang.Object
java.util.EventObject
org.linuxsampler.lscp.event.BufferFillEvent
- All Implemented Interfaces:
- java.io.Serializable
public class BufferFillEvent
- extends java.util.EventObject
A semantic event which indicates that the fill state of a disk stream buffer
in a sampler channel has changed.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
BufferFillEvent(java.lang.Object source,
int samplerChn,
java.util.Vector<BufferFill> fills)
Constructs a BufferFillEvent object. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BufferFillEvent
public BufferFillEvent(java.lang.Object source,
int samplerChn,
java.util.Vector<BufferFill> fills)
- Constructs a
BufferFillEvent
object.
- Parameters:
source
- The object that originated the event.samplerChn
- The number of the sampler channel for which
the buffer fill state change occurred.fills
- The new fill state of all disk streams in percent.
getSamplerChannel
public int getSamplerChannel()
- Gets the number of the sampler channel for which
the buffer fill state change occurred.
- Returns:
- The number of the sampler channel for which
the buffer fill state change occurred.
getChannelBufferFillPercentage
public java.util.Vector<BufferFill> getChannelBufferFillPercentage()
- Gets the new fill state of all disk streams in percent.
- Returns:
- The new fill state of all disk streams in percent.
Copyright © 2009 Grigor Iliev. All rights reserved.