X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fclients%2FA1ClientFactory.java;h=636a69f6e07fca32c5776e652cd8ed66855eb0fd;hb=9c86f9c3b94494d587e7ae7a61effe6515f11159;hp=6598c27672fa12e1b300e1fa3e9a5e6fad5acc48;hpb=1391d501b25e6559a76bb1ab5681429a181d358a;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/clients/A1ClientFactory.java b/policy-agent/src/main/java/org/oransc/policyagent/clients/A1ClientFactory.java index 6598c276..636a69f6 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/clients/A1ClientFactory.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/clients/A1ClientFactory.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% - * Copyright (C) 2019 Nordix Foundation + * Copyright (C) 2020 Nordix Foundation * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,8 @@ import org.springframework.beans.factory.annotation.Autowired; import reactor.core.publisher.Mono; /** - * Factory for A1 clients that supports four different protocol versions of the A1 api. + * Factory for A1 clients that supports four different protocol versions of the + * A1 api. */ public class A1ClientFactory { @@ -46,16 +47,17 @@ public class A1ClientFactory { * Creates an A1 client with the correct A1 protocol for the provided Ric. * *
- * It detects the protocol version by trial and error, since there is no getVersion method specified in the A1 - * api yet. + * It detects the protocol version by trial and error, since there is no + * getVersion method specified in the A1 api yet. * *
- * As a side effect it also sets the protocol version in the provided Ric. This means that after the first
- * successful creation it won't have to try which protocol to use, but can create the client directly.
+ * As a side effect it also sets the protocol version in the provided Ric. This
+ * means that after the first successful creation it won't have to try which
+ * protocol to use, but can create the client directly.
*
- * @param ric The Ric to get a client for.
- * @return a client with the correct protocol, or a ServiceException if none of the protocols are supported by the
- * Ric.
+ * @param ric The RIC to get a client for.
+ * @return a client with the correct protocol, or a ServiceException if none of
+ * the protocols are supported by the Ric.
*/
public Mono