Package com.iizix.server.loadbalancer


package com.iizix.server.loadbalancer
  • Class
    Description
    The hub's licence until B-9 (HUB-DESIGN.md section 9.2, LICENSE-V2-DESIGN.md section 13): admits every member the interim cluster key authenticates, allows every sign-in, and COUNTS - the distinct users signed in per application, cluster-wide, so that B-9 inherits the numbers and replaces the verdicts.
    One member connection on the principal, HUB-DESIGN.md sections 2.4, 3.4 and 13 (B-7b): the state machine between the WebSocket opening and admission, shared by the production end point (LoadBalancerEndPoint) and the two-ended test's end point, so that both run the same code.
    The end point behind a connection.
    The interface between the hub and the licence system, HUB-DESIGN.md section 9.2 as LICENSE-V2-DESIGN.md section 13 fills it in: D-LIC owns the numbers, the grace length, the messages and the credential format; the hub fixes only where the counting happens and what crosses it.
    The Load Balancer running as an iiziServer Module.
    The Load Balancer end point web socket connection: a member's connection on the principal (HUB-DESIGN.md 3.1, B-7b).
    The principal's member table, HUB-DESIGN.md sections 2.4, 3.5 and 4.1 (B-7b): shared by every member connection of the hub module, it admits or refuses a REGISTER in the order of section 2.4, keeps the admitted members with the round-trip time of each link as measured at both ends, and writes HUB.MEMBERS informationally (R-3) through the recorder it was given.
    An admitted member.
    The principal's own facts, read at every registration.
    A member connection as the table sees it.
    What writes HUB.MEMBERS: the module's DBLoadBalancer, nothing in a test.
    The outcome of a registration.
    What IHubLicence.onLogin(String, long, String, boolean) answers, LICENSE-V2-DESIGN.md section 13: allow; allow with a warning and a grace deadline (R-6 (b)); refuse with a message.
    The kinds of verdict.
    What IHubLicence.verifyMember(String, byte[], byte[], String, byte[]) answers for an admitted member, LICENSE-V2-DESIGN.md section 13: the licence and entitlement identities, the product, the limits, the expiry and the state.