public class SimpleStreamProxyObject<T> extends Object implements SimpleStreamProxy<T>
| Constructor and Description |
|---|
SimpleStreamProxyObject(SimpleStreamExtension provider,
SimpleStream streamActorRef) |
| Modifier and Type | Method and Description |
|---|---|
Task<Void> |
onError(Exception ex) |
Task<Void> |
onNext(T data,
StreamSequenceToken sequenceToken) |
Task<StreamSubscriptionHandle<T>> |
subscribe(AsyncObserver<T> observer) |
Task<Void> |
unsubscribe(String handle) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObserverReference, pingpublic SimpleStreamProxyObject(SimpleStreamExtension provider, SimpleStream streamActorRef)
public Task<Void> onNext(T data, StreamSequenceToken sequenceToken)
onNext in interface AsyncObserver<T>onNext in interface SimpleStreamProxy<T>public Task<Void> onError(Exception ex)
onError in interface AsyncObserver<T>onError in interface SimpleStreamProxy<T>public Task<StreamSubscriptionHandle<T>> subscribe(AsyncObserver<T> observer)
Copyright © 2019 Electronic Arts Inc. All rights reserved.