/** * Retrieve the affiliation list for this node as owner. * * @return list of entities whose affiliation is not 'none'. * @throws NoResponseException * @throws XMPPErrorException * @throws NotConnectedException * @throws InterruptedException * @see #getAffiliations(List, Collection) * @since 4.2 */ public List<Affiliation> getAffiliationsAsOwner() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException { return getAffiliationsAsOwner(null, null); }
protocol.addResponse(response); List<Affiliation> returnedAffiliations = testNode.getAffiliationsAsOwner();