Public Member Functions | Properties

GridGain.Client.Impl.GridClientTcpRequestFuture< T > Class Template Reference

Tcp specific future with generic type specified. Note that in C# you need to provide two classes if you need wildcard-analogue from Java.

Inherits GridGain::Client::Impl::GridClientTcpRequestFuture, and GridGain::Client::IGridClientFuture.

List of all members.

Public Member Functions

 GridClientTcpRequestFuture (GridClientRequest msg)
override void Done (Object res)
 Callback to notify that future is finished successfully.
void Done (T res)
 Callback to notify that future is finished successfully.

Properties

Func< Object, T > DoneConverter [get, set]
 Successfull done converter from object to expected type.
T Result [get]
 Synchronously waits for task completion and returns execution result.

template<T>
class GridGain::Client::Impl::GridClientTcpRequestFuture-g< T >


Member Function Documentation

template<T >
override void GridGain.Client.Impl.GridClientTcpRequestFuture< T >.Done ( Object  res  ) 
Parameters:
res Result (can be null).
template<T >
void GridGain.Client.Impl.GridClientTcpRequestFuture< T >.Done ( T  res  ) 
Parameters:
res Result (can be null).
Parameters:
msg Message to send.

Property Documentation

template<T >
Func<Object, T> GridGain.Client.Impl.GridClientTcpRequestFuture< T >.DoneConverter [get, set]
template<T >
T GridGain.Client.Impl.GridClientTcpRequestFuture< T >.Result [get]
Exceptions:
GridClientException If task execution fails with exception.