GigaSpaces XAP.NET Documentation
DelegateDataEventArrivedAdapter<(Of <(<'TData, TResult>)>)> Class
Class LibraryGigaSpaces.XAP.EventsDelegateDataEventArrivedAdapter<(Of <(<'TData, TResult>)>)>
Adapts a supplied delegate of type WriteBackDataEventHandler<(Of <(<'TData, TResult>)>)> to DataEventHandler<(Of <(<'T>)>)> which has a built in logic of writing back the results to space. Usage: Subsribe to the DataEventArrived event with the adapter: IEventListenerContainer.DataEventArrived += new DelegateDataEventArrivedAdapter(myDelegate).OnEvent;
Declaration Syntax
C#Visual BasicVisual C++J#
public class DelegateDataEventArrivedAdapter<TData, TResult> : WriteBackResultDataEventAdapter<TData>, 
	ICloneable
Public Class DelegateDataEventArrivedAdapter(Of TData, TResult) _
	Inherits WriteBackResultDataEventAdapter(Of TData) _
	Implements ICloneable
generic<typename TData, typename TResult>
public ref class DelegateDataEventArrivedAdapter : public WriteBackResultDataEventAdapter<TData>, 
	ICloneable
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
TData
Type of data object.
TResult
Type of result object.
Members
All MembersConstructorsMethods



IconMemberDescription
DelegateDataEventArrivedAdapter<(Of <(<'TData, TResult>)>)>(WriteBackDataEventHandler<(Of <<'(TData, TResult>)>>))
Constructs

DelegateDataEventArrivedAdapter<(Of <(<'TData, TResult>)>)>(WriteBackBatchDataEventHandler<(Of <<'(TData, TResult>)>>))
Constructs

Clone()()()()
Creates a new object that is a copy of the current instance. The supplied handle containing class needs to implement the ICloneable interface as well.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InvokeBatchListenerMethod(Object, BatchDataEventArgs<(Of <<'(TData>)>>))
Invokes the listener method.
(Overrides WriteBackResultDataEventAdapter<(Of <(<'TData>)>)>.InvokeBatchListenerMethod(Object, BatchDataEventArgs<(Of <<'(TData>)>>)).)
InvokeListenerMethod(Object, DataEventArgs<(Of <<'(TData>)>>))
Invokes the listener method.
(Overrides WriteBackResultDataEventAdapter<(Of <(<'TData>)>)>.InvokeListenerMethod(Object, DataEventArgs<(Of <<'(TData>)>>)).)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WriteBackBatchDataEventHandler(Object, BatchDataEventArgs<(Of <<'(TData>)>>))
The adapter method, adapts a regular DataEventHandler<(Of <(<'T>)>)> method call to the supplied method and write backs the results.
(Inherited from WriteBackResultDataEventAdapter<(Of <(<'TData>)>)>.)
WriteBackDataEventHandler(Object, DataEventArgs<(Of <<'(TData>)>>))
The adapter method, adapts a regular DataEventHandler<(Of <(<'T>)>)> method call to the supplied method and write backs the results.
(Inherited from WriteBackResultDataEventAdapter<(Of <(<'TData>)>)>.)
Inheritance Hierarchy
Object
WriteBackResultDataEventAdapter<(Of <(<'TData>)>)>
 DelegateDataEventArrivedAdapter<(Of <(<'TData, TResult>)>)>
See Also

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 15.0.0.0 (15.0.0)