public static XLinkConnector [ ] getLocalToolFromRegistrations ( List < XLinkConnectorRegistration > registrations ) { List < XLinkConnector > tools = new ArrayList < XLinkConnector > ( ) ; for ( XLinkConnectorRegistration registration : registrations ) { XLinkConnector newLocalTools = new XLinkConnector ( registration . getConnectorId ( ) , registration . getToolName ( ) , getViewsOfRegistration ( registration ) ) ; tools . add ( newLocalTools ) ; } return tools . toArray ( new XLinkConnector [ 0 ] ) ; }
Returns a list of RemoteTools to a list of RemoteToolRegistrations . The list of RemoteTool can be sent to a remote host . A RemoteToolRegistration is for internal usage only .