public class RemoteCallbackSink extends AbstractQueuedCallbackSink
VehicleManager
. Once
registered, a receiver gets all messages regardless of their type or
value.Constructor and Description |
---|
RemoteCallbackSink() |
Modifier and Type | Method and Description |
---|---|
int |
getListenerCount() |
protected void |
propagateMessage(VehicleMessage message) |
void |
register(VehicleServiceListener listener) |
java.lang.String |
toString() |
void |
unregister(VehicleServiceListener listener) |
clearQueue, receive, stop
public void register(VehicleServiceListener listener)
public void unregister(VehicleServiceListener listener)
public int getListenerCount()
public java.lang.String toString()
toString
in class java.lang.Object
protected void propagateMessage(VehicleMessage message)
propagateMessage
in class AbstractQueuedCallbackSink