Permalink
Browse files

cosmetic

  • Loading branch information...
Klaus Pfeiffer
Klaus Pfeiffer committed Sep 12, 2017
1 parent e2d2245 commit 3e4b34a04d059da95df727320fa0fde070f5e058
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/main/java/com/jfastnet/Client.java
@@ -136,9 +136,10 @@ public void receive(Message message) {
connectLock.lock();
try {
if (!state.connectionFailed) {
((ConnectResponse) message).setLastReliableSeqIdInSequenceProcessor();
ConnectResponse connectResponse = (ConnectResponse) message;
connectResponse.setLastReliableSeqIdInSequenceProcessor();
state.connected = true;
clientId = ((ConnectResponse) message).getClientId();
clientId = connectResponse.getClientId();
log.info("Set client id to {}", clientId);
config.setSenderId(clientId);
config.newSenderIdConsumer.accept(clientId);

0 comments on commit 3e4b34a

Please sign in to comment.