Exemple #1
0
        internal void OnSessionMessage(long clusterSessionId, long correlationId, long timestampMs,
                                       IDirectBuffer buffer, int offset, int length, Header header)
        {
            this.timestampMs = timestampMs;

            service.OnSessionMessage(clusterSessionId, correlationId, timestampMs, buffer, offset, length, header);
        }
Exemple #2
0
        internal void OnSessionMessage(long clusterSessionId, long correlationId, long timestampMs,
                                       IDirectBuffer buffer, int offset, int length, Header header)
        {
            clusterTimeMs = timestampMs;
            var clientSession = sessionByIdMap[clusterSessionId];

            try
            {
                service.OnSessionMessage(clientSession, correlationId, timestampMs, buffer, offset, length, header);
            }
            finally
            {
                clientSession.LastCorrelationId(correlationId);
            }
        }