Skip to content
Horace Li edited this page Jul 3, 2020 · 1 revision
  • RadiusClient manages setting up sockets and netty, and the plumbing for the communicate() method to return a Future<RadiusPacket>
  • TimeoutHandler contains a method which is called after every request is sent, with a Runnable to retry. The retry runnable is then scheduled or timeout triggered depending on the implementation.
  • PromiseAdapter is a ChannelHandler that requires a promise to be passed in with the outbound request in a PendingRequestCtx wrapper.
    • The Promise passed into the handler is incomplete. The Promise is completed and removed from memory when a valid response is received or timeouts.
    • Appends a Proxy-State attribute to the packet and uses that to match request/responses.
Clone this wiki locally