gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | List of all members
grpc.framework.foundation._timer_future.TimerFuture Class Reference
Inheritance diagram for grpc.framework.foundation._timer_future.TimerFuture:
grpc.framework.foundation.future.Future

Public Member Functions

def __init__
 
def start
 
def cancel
 
def cancelled
 
def running
 
def done
 
def result
 
def exception
 
def traceback
 
def add_done_callback
 
- Public Member Functions inherited from grpc.framework.foundation.future.Future
def cancel
 
def cancelled
 
def running
 
def done
 
def result
 
def exception
 
def traceback
 
def add_done_callback
 

Detailed Description

A Future implementation based around Timer objects.

Constructor & Destructor Documentation

def grpc.framework.foundation._timer_future.TimerFuture.__init__ (   self,
  compute_time,
  computation 
)
Constructor.

Args:
  compute_time: The time after which to begin this future's computation.
  computation: The computation to be performed within this Future.

Member Function Documentation

def grpc.framework.foundation._timer_future.TimerFuture.add_done_callback (   self,
  fn 
)
See future.Future.add_done_callback for specification.
def grpc.framework.foundation._timer_future.TimerFuture.cancel (   self)
See future.Future.cancel for specification.
def grpc.framework.foundation._timer_future.TimerFuture.cancelled (   self)
See future.Future.cancelled for specification.
def grpc.framework.foundation._timer_future.TimerFuture.done (   self)
See future.Future.done for specification.
def grpc.framework.foundation._timer_future.TimerFuture.exception (   self,
  timeout = None 
)
See future.Future.exception for specification.
def grpc.framework.foundation._timer_future.TimerFuture.result (   self,
  timeout = None 
)
See future.Future.result for specification.
def grpc.framework.foundation._timer_future.TimerFuture.running (   self)
See future.Future.running for specification.
def grpc.framework.foundation._timer_future.TimerFuture.start (   self)
Starts this Future.

This must be called exactly once, immediately after construction.
def grpc.framework.foundation._timer_future.TimerFuture.traceback (   self,
  timeout = None 
)
See future.Future.traceback for specification.

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