APISonar


uk.co.real_logic.aeron.common.event.EventLogger.log

> uk > co > real_logic > aeron > common > event > EventLogger > log
uk APIs co APIs real_logic APIs aeron APIs common APIs event APIs EventLogger APIs log APIs

Example 1
private final EventLogger logger;

    public int sendTo(final ByteBuffer buffer, final InetSocketAddress remoteAddress) throws Exception
    {
        logger.log(EventCode.FRAME_OUT, buffer, buffer.position(), buffer.remaining(), remoteAddress);

        return datagramChannel.send(buffer, remoteAddress);
    }
Example 2
private final EventLogger logger;

    public void operationSucceeded(final long correlationId)
    {
        correlatedMessage.wrap(tmpBuffer, 0);
        correlatedMessage.correlationId(correlationId);

        logger.log(EventCode.CMD_OUT_ON_OPERATION_SUCCESS, tmpBuffer, 0, CorrelatedMessageFlyweight.LENGTH);

        transmitter.transmit(ON_OPERATION_SUCCESS, tmpBuffer, 0, CorrelatedMessageFlyweight.LENGTH);
    }