Class AuthenticationResponse

    • Constructor Detail

      • AuthenticationResponse

        public AuthenticationResponse​(AuthenticationRequest request,
                                      int status,
                                      int length,
                                      java.util.function.Consumer<io.netty.buffer.ByteBuf> serializer)
        Parameters:
        request - the request this is a response to
        status - the status (usually kXR_authmore)
        length - of the data container to be serialized
        serializer - function responsible for writing to the buffer