Usages of

org.onosproject.net.host.HostService.getHost(?)

@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... private Set<Host> constructHostIds(Iterator<JsonNode> elements) { Set<Host> hostIds = Sets.newHashSet(); JsonNode n; while (elements.hasNext()) { n = elements.next(); hostIds.add(hostService.getHost(HostId.hostId(n.textValue()))); } return hostIds; }
Back to Search Results
Usage snippet has been bookmarked! Review your bookmarks
Thank you! Review your likes