diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs index 4c33db5..2a60b48 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | |||
@@ -274,6 +274,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
274 | return false; | 274 | return false; |
275 | } | 275 | } |
276 | 276 | ||
277 | public long CurrentTokenCount() | ||
278 | { | ||
279 | return m_tokenCount; | ||
280 | } | ||
281 | |||
277 | /// <summary> | 282 | /// <summary> |
278 | /// Deposit tokens into the bucket from a child bucket that did | 283 | /// Deposit tokens into the bucket from a child bucket that did |
279 | /// not use all of its available tokens | 284 | /// not use all of its available tokens |