Package com.iizix.server.loadbalancer
package com.iizix.server.loadbalancer
- ClassDescriptionThe hub's licence until B-9 (
HUB-DESIGN.mdsection 9.2,LICENSE-V2-DESIGN.mdsection 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.mdsections 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.mdsection 9.2 asLICENSE-V2-DESIGN.mdsection 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.mdsections 2.4, 3.5 and 4.1 (B-7b): shared by every member connection of the hub module, it admits or refuses aREGISTERin the order of section 2.4, keeps the admitted members with the round-trip time of each link as measured at both ends, and writesHUB.MEMBERSinformationally (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 writesHUB.MEMBERS: the module'sDBLoadBalancer, nothing in a test.The outcome of a registration.WhatIHubLicence.onLogin(String, long, String, boolean)answers,LICENSE-V2-DESIGN.mdsection 13: allow; allow with a warning and a grace deadline (R-6 (b)); refuse with a message.The kinds of verdict.WhatIHubLicence.verifyMember(String, byte[], byte[], String, byte[])answers for an admitted member,LICENSE-V2-DESIGN.mdsection 13: the licence and entitlement identities, the product, the limits, the expiry and the state.