This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.RX.Impl.SimpleSubject< T > Class Template Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Wake.RX.Impl.SimpleSubject< T > Class Template Reference

A Subject that relays all messages to its subscribers. More...

Inherits Org.Apache.REEF.Wake.RX.ISubject< T, T >.

Public Member Functions

 SimpleSubject (IObserver< T > observer)
 Constructs a simple subject More...
 
virtual void OnNext (T value)
 Provides the observer with the new value More...
 
virtual void OnError (Exception error)
 Provides the observer with the error More...
 
virtual void OnCompleted ()
 Provides the observer with it has finished sending push-based notifications. More...
 

Detailed Description

A Subject that relays all messages to its subscribers.

Constructor & Destructor Documentation

Org.Apache.REEF.Wake.RX.Impl.SimpleSubject< T >.SimpleSubject ( IObserver< T >  observer)
inline

Constructs a simple subject

Parameters
observerthe observer

Member Function Documentation

virtual void Org.Apache.REEF.Wake.RX.Impl.SimpleSubject< T >.OnCompleted ( )
inlinevirtual

Provides the observer with it has finished sending push-based notifications.

virtual void Org.Apache.REEF.Wake.RX.Impl.SimpleSubject< T >.OnError ( Exception  error)
inlinevirtual

Provides the observer with the error

Parameters
errorthe error
virtual void Org.Apache.REEF.Wake.RX.Impl.SimpleSubject< T >.OnNext ( value)
inlinevirtual

Provides the observer with the new value

Parameters
valuethe new value

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