Packagenet.guttershark.support.servicemanager.shared
Classpublic final class Limiter

The Limiter class stops duplicate calls in RemotingServices when a call has been made, but no response has happened yet.



Public Methods
 MethodDefined by
  
New RemotinCallLimiter.
Limiter
  
canExecute(uniquePath:String):Boolean
Test whether or not a call can be executed.
Limiter
  
dispose():void
Dispose of this RemotingCallLimiter.
Limiter
  
lockCall(uniquePath:String):void
Locks a call so that no further calls can be made to it until it's unlocked.
Limiter
  
Clears all currently locked calls.
Limiter
  
releaseCall(uniquePath:String):void
Releases a call from the call pool.
Limiter
Constructor detail
Limiter()constructor
public function Limiter()

New RemotinCallLimiter.

Method detail
canExecute()method
public function canExecute(uniquePath:String):Boolean

Test whether or not a call can be executed.

Parameters
uniquePath:String — The unique identifier for a remoting call.

Returns
Boolean
dispose()method 
public function dispose():void

Dispose of this RemotingCallLimiter.

lockCall()method 
public function lockCall(uniquePath:String):void

Locks a call so that no further calls can be made to it until it's unlocked.

Parameters
uniquePath:String — A unique identifier for a remoting call.
releaseAllCalls()method 
public function releaseAllCalls():void

Clears all currently locked calls.

releaseCall()method 
public function releaseCall(uniquePath:String):void

Releases a call from the call pool.

Parameters
uniquePath:String — The unique identifier for a remoting call.