This repository has been archived on 2026-02-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
InfoName-Lib/README.md
2026-02-10 19:34:28 +01:00

751 B

InfoName - Lib

InfoName and URL library to make client-side connection set-ups easier


Just set the protocol schemes to OAC-InfoName ones by calling:

import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
import org.openautonomousconnection.infonamelib.OacWebUrlInstaller;
import org.openautonomousconnection.infonamelib.ProtocolHandlerPackages;
import org.openautonomousconnection.protocol.side.client.ProtocolClient;

class Example {
    private void init() {
        EventManager eventManager = new EventManager();
        ProtocolClient client = new MyImpl();

        ProtocolHandlerPackages.installPackage("org.openautonomousconnection.infonamelib");
        OacWebUrlInstaller.installOnce(eventManager, client);
    }
}