예제 #1
0
 /**
  * Query the value of the Duration property. This function is thread-safe and can only be called
  * if {@link #subscribe} has been called and a first eventing callback received more recently than
  * any call to {@link #unsubscribe}.
  *
  * @return value of the Duration property.
  */
 public long getPropertyDuration() {
   propertyReadLock();
   long val = iDuration.getValue();
   propertyReadUnlock();
   return val;
 }
예제 #2
0
 /**
  * Query the value of the Seconds property. This function is thread-safe and can only be called if
  * {@link #subscribe} has been called and a first eventing callback received more recently than
  * any call to {@link #unsubscribe}.
  *
  * @return value of the Seconds property.
  */
 public long getPropertySeconds() {
   propertyReadLock();
   long val = iSeconds.getValue();
   propertyReadUnlock();
   return val;
 }
예제 #3
0
 /**
  * Query the value of the TrackCount property. This function is thread-safe and can only be called
  * if {@link #subscribe} has been called and a first eventing callback received more recently than
  * any call to {@link #unsubscribe}.
  *
  * @return value of the TrackCount property.
  */
 public long getPropertyTrackCount() {
   propertyReadLock();
   long val = iTrackCount.getValue();
   propertyReadUnlock();
   return val;
 }