package com.l7tech.server.secureconversation;

import com.l7tech.objectmodel.Goid;
import com.l7tech.util.Functions.Unary;

class b implements Unary<Boolean, StoredSecureConversationSession> {
   final Goid val$providerId;
   final String val$userId;
   final String val$serviceUrl;

   b(StoredSecureConversationSessionManagerImpl var1, Goid var2, String var3, String var4) {
      this.val$providerId = var2;
      this.val$userId = var3;
      this.val$serviceUrl = var4;
   }

   public Boolean call(StoredSecureConversationSession var1) {
      return var1 != null
         && !var1.isInbound()
         && var1.getProviderId().equals(this.val$providerId)
         && var1.getUserId().equals(this.val$userId)
         && var1.getServiceUrl().equals(this.val$serviceUrl);
   }
}
