Skip to content
Snippets Groups Projects
Commit 6d78188e authored by Florian Fittkau's avatar Florian Fittkau
Browse files

changed receive remote record

parent 8a9bcfab
No related branches found
No related tags found
No related merge requests found
......@@ -396,8 +396,6 @@ public class TCPReaderOneClient extends Thread implements IPeriodicTimeSignalRec
}
private final void readInReceivedRemoteCallEvent(final ByteBuffer buffer) {
final int callerHost = buffer.getInt();
final int callerApplication = buffer.getInt();
final long callerTraceId = buffer.getLong();
final int callerOrderIndex = buffer.getInt();
......@@ -405,24 +403,8 @@ public class TCPReaderOneClient extends Thread implements IPeriodicTimeSignalRec
final long traceId = buffer.getLong();
final int orderIndex = buffer.getInt();
try {
// System.out.println(callerHost);
// System.out.println(callerApplication);
// System.out.println("caller: " +
// stringRegistry.getStringFromId(callerHost) + " "
// + stringRegistry.getStringFromId(callerApplication));
// System.out.println("callee: " +
// hostApplicationMetadata.getHostname() + " "
// + hostApplicationMetadata.getApplication());
putInRingBuffer(new ReceivedRemoteCallRecord(timestamp,
stringRegistry.getStringFromId(callerHost),
stringRegistry.getStringFromId(callerApplication), callerTraceId,
callerOrderIndex, traceId, orderIndex, hostApplicationMetadata));
} catch (final IdNotAvailableException e) {
putInWaitingMessages(buffer,
ReceivedRemoteCallRecord.COMPRESSED_BYTE_LENGTH_WITH_CLAZZ_ID);
}
putInRingBuffer(new ReceivedRemoteCallRecord(timestamp, callerTraceId, callerOrderIndex,
traceId, orderIndex, hostApplicationMetadata));
}
private final void readInBeforeStaticOperationEvent(final ByteBuffer buffer) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment