Beispiel #1
0
  public void onUnavailableImage(
      final long correlationId, final int streamId, final String channel) {
    imageMessage.correlationId(correlationId).streamId(streamId).channel(channel);

    final int length = imageMessage.length();
    transmit(ON_UNAVAILABLE_IMAGE, buffer, 0, length);
  }
Beispiel #2
0
  public ClientProxy(final BroadcastTransmitter transmitter) {
    this.transmitter = transmitter;

    errorResponse.wrap(buffer, 0);
    imageReady.wrap(buffer, 0);
    publicationReady.wrap(buffer, 0);
    correlatedMessage.wrap(buffer, 0);
    imageMessage.wrap(buffer, 0);
  }