C# Class Org.IdentityConnectors.Framework.Impl.Api.DelegatingTimeoutProxy

Delegating timeout proxy that selects the appropriate timeout handler depending on the method.
Inheritance: InvocationHandler
Datei anzeigen Open project: Tirasa/ConnId Class Usage Examples

Public Properties

Property Type Description
NO_TIMEOUT int

Public Methods

Method Description
DelegatingTimeoutProxy ( object target, int timeoutMillis, int bufferSize ) : System

Create a new MethodTimeoutProxy.

Invoke ( object proxy, MethodInfo method, object args ) : Object

Private Methods

Method Description
IsStreamHandlerMethod ( MethodInfo method ) : bool

Method Details

DelegatingTimeoutProxy() public method

Create a new MethodTimeoutProxy.
public DelegatingTimeoutProxy ( object target, int timeoutMillis, int bufferSize ) : System
target object /// The object we are wrapping
timeoutMillis int
bufferSize int
return System

Invoke() public method

public Invoke ( object proxy, MethodInfo method, object args ) : Object
proxy object
method System.Reflection.MethodInfo
args object
return Object

Property Details

NO_TIMEOUT public_oe static_oe property

Default timeout for all operations.
public static int NO_TIMEOUT
return int