Exemplo n.º 1
0
  public void onPublicationReady(
      final long registrationId,
      final int streamId,
      final int sessionId,
      final String logFileName,
      final int positionCounterId) {
    publicationReady
        .sessionId(sessionId)
        .streamId(streamId)
        .correlationId(registrationId)
        .publicationLimitCounterId(positionCounterId)
        .logFileName(logFileName);

    final int length = publicationReady.length();
    transmit(ON_PUBLICATION_READY, buffer, 0, length);
  }
Exemplo n.º 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);
  }