diff options
author | Jeff Ames | 2008-05-16 01:22:11 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 01:22:11 +0000 |
commit | 65c5efe43b68700bad94076d4cd421160203c5de (patch) | |
tree | 589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs | |
parent | Thank you very much, mjm for : (diff) | |
download | opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.zip opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2 opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs b/OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs index 6ec21d9..1a9cc24 100644 --- a/OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs +++ b/OpenSim/Framework/Communications/Limit/IRequestLimitStrategy.cs | |||
@@ -31,9 +31,9 @@ namespace OpenSim.Framework.Communications.Limit | |||
31 | /// Interface for strategies that can limit requests from the client. Currently only used in the | 31 | /// Interface for strategies that can limit requests from the client. Currently only used in the |
32 | /// texture modules to deal with repeated requests for certain textures. However, limiting strategies | 32 | /// texture modules to deal with repeated requests for certain textures. However, limiting strategies |
33 | /// could be used with other requests. | 33 | /// could be used with other requests. |
34 | /// </summary> | 34 | /// </summary> |
35 | public interface IRequestLimitStrategy<TId> | 35 | public interface IRequestLimitStrategy<TId> |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
38 | /// Should the request be allowed? If the id is not monitored, then the request is always allowed. | 38 | /// Should the request be allowed? If the id is not monitored, then the request is always allowed. |
39 | /// Otherwise, the strategy criteria will be applied. | 39 | /// Otherwise, the strategy criteria will be applied. |
@@ -41,21 +41,21 @@ namespace OpenSim.Framework.Communications.Limit | |||
41 | /// <param name="id"></param> | 41 | /// <param name="id"></param> |
42 | /// <returns></returns> | 42 | /// <returns></returns> |
43 | bool AllowRequest(TId id); | 43 | bool AllowRequest(TId id); |
44 | 44 | ||
45 | /// <summary> | 45 | /// <summary> |
46 | /// Has the request been refused just once? | 46 | /// Has the request been refused just once? |
47 | /// </summary> | 47 | /// </summary> |
48 | /// <returns>False if the request has not yet been refused, or if the request has been refused more | 48 | /// <returns>False if the request has not yet been refused, or if the request has been refused more |
49 | /// than once.</returns> | 49 | /// than once.</returns> |
50 | bool IsFirstRefusal(TId id); | 50 | bool IsFirstRefusal(TId id); |
51 | 51 | ||
52 | /// <summary> | 52 | /// <summary> |
53 | /// Start monitoring for future AllowRequest calls. If the id is already monitored, then monitoring | 53 | /// Start monitoring for future AllowRequest calls. If the id is already monitored, then monitoring |
54 | /// continues. | 54 | /// continues. |
55 | /// </summary> | 55 | /// </summary> |
56 | /// <param name="id"></param> | 56 | /// <param name="id"></param> |
57 | void MonitorRequests(TId id); | 57 | void MonitorRequests(TId id); |
58 | 58 | ||
59 | /// <summary> | 59 | /// <summary> |
60 | /// Is the id being monitored? | 60 | /// Is the id being monitored? |
61 | /// </summary> | 61 | /// </summary> |