Package org.yamcs.client
Interface MessageListener<T extends com.google.protobuf.Message>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageListener<T extends com.google.protobuf.Message>
A listener for handling data messages received from a WebSocket call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
onError(Throwable t)
Called when an exception claused the call to abort.void
onMessage(T message)
Called when a single data message is received.
-