jlscp
v0.8

org.linuxsampler.lscp.event
Class TotalStreamCountEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.linuxsampler.lscp.event.TotalStreamCountEvent
All Implemented Interfaces:
java.io.Serializable

public class TotalStreamCountEvent
extends java.util.EventObject

A semantic event which indicates that the total number of active streams has changed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TotalStreamCountEvent(java.lang.Object source, int count)
          Constructs a TotalStreamCountEvent object.
 
Method Summary
 int getTotalStreamCount()
          Gets the total number of active streams.
 
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
 

Constructor Detail

TotalStreamCountEvent

public TotalStreamCountEvent(java.lang.Object source,
                             int count)
Constructs a TotalStreamCountEvent object.

Parameters:
source - The object that originated the event.
count - The new number of active streams.
Method Detail

getTotalStreamCount

public int getTotalStreamCount()
Gets the total number of active streams.

Returns:
The total number of active streams.

jlscp
v0.8

Copyright © 2009 Grigor Iliev. All rights reserved.