The open source
grid computing
solution

JPPF .Net  5.1
 All Classes Namespaces Files Functions Properties
org.jppf.dotnet.BaseDotnetTask Class Referenceabstract

This is the base class for .Net JPPF tasks. It is intended solely for subclassing. The BaseDotnetTask.Execute() method is run on remote JPPF nodes More...

Public Member Functions

 BaseDotnetTask ()
 
abstract void Execute ()
 Execute this task. This method must be implemented in subclasses More...
 
virtual void OnCancel ()
 Called when the cancellation of this task is requested More...
 
virtual void OnTimeout ()
 Called when this task times out. The timeout is set with a call to More...
 

Properties

bool Cancelled [get]
 The cancelled state of this task. It is set by the Java side and can be used during the computation to determine whether the task should terminate immediately More...
 
bool TimedOut [get]
 The timed out state of this task. It is set by the Java side and can be used during the computation to determine whether the task should terminate immediately More...
 
Exception Exception [get]
 The exception, if any, raised by the execution of this task More...
 
object Result [get, set]
 The result, if any, of this task's execution More...
 
JPPFSchedule TimeoutSchedule [get, set]
 The timeout schedulle for this task, if any More...
 

Detailed Description

This is the base class for .Net JPPF tasks. It is intended solely for subclassing. The BaseDotnetTask.Execute() method is run on remote JPPF nodes

Definition at line 27 of file BaseDotnetTask.cs.

Constructor & Destructor Documentation

org.jppf.dotnet.BaseDotnetTask.BaseDotnetTask ( )

Definition at line 35 of file BaseDotnetTask.cs.

Member Function Documentation

abstract void org.jppf.dotnet.BaseDotnetTask.Execute ( )
pure virtual

Execute this task. This method must be implemented in subclasses

virtual void org.jppf.dotnet.BaseDotnetTask.OnCancel ( )
virtual

Called when the cancellation of this task is requested

Definition at line 42 of file BaseDotnetTask.cs.

virtual void org.jppf.dotnet.BaseDotnetTask.OnTimeout ( )
virtual

Called when this task times out. The timeout is set with a call to

org.jppf.node.protocol.Task.setTimeout(org.jppf.scheduling.JPPFSchedule)

Definition at line 58 of file BaseDotnetTask.cs.

Property Documentation

bool org.jppf.dotnet.BaseDotnetTask.Cancelled
get

The cancelled state of this task. It is set by the Java side and can be used during the computation to determine whether the task should terminate immediately

Definition at line 47 of file BaseDotnetTask.cs.

Exception org.jppf.dotnet.BaseDotnetTask.Exception
get

The exception, if any, raised by the execution of this task

Definition at line 73 of file BaseDotnetTask.cs.

object org.jppf.dotnet.BaseDotnetTask.Result
getset

The result, if any, of this task's execution

Definition at line 76 of file BaseDotnetTask.cs.

bool org.jppf.dotnet.BaseDotnetTask.TimedOut
get

The timed out state of this task. It is set by the Java side and can be used during the computation to determine whether the task should terminate immediately

Definition at line 63 of file BaseDotnetTask.cs.

JPPFSchedule org.jppf.dotnet.BaseDotnetTask.TimeoutSchedule
getset

The timeout schedulle for this task, if any

Definition at line 79 of file BaseDotnetTask.cs.


The documentation for this class was generated from the following file: