Class RPCChannelProvider

    • Constructor Detail

    • Method Detail

      • createChannel

        public Channel createChannel​(String channelName,
                                     ChannelRequester channelRequester,
                                     short priority)
        Description copied from interface: ChannelProvider
        Create a channel.
        Specified by:
        createChannel in interface ChannelProvider
        Parameters:
        channelName - The name of the channel.
        channelRequester - The requester.
        priority - channel priority, must be PRIORITY_MIN ≤ priority ≤ PRIORITY_MAX.
        Returns:
        Channel instance. If channel does not exist null is returned and channelRequester notified.
      • createChannel

        public Channel createChannel​(String channelName,
                                     ChannelRequester channelRequester,
                                     short priority,
                                     String address)
        Description copied from interface: ChannelProvider
        Create a channel.
        Specified by:
        createChannel in interface ChannelProvider
        Parameters:
        channelName - The name of the channel.
        channelRequester - The requester.
        priority - channel priority, must be PRIORITY_MIN ≤ priority ≤ PRIORITY_MAX.
        address - address (or list of addresses) where to look for a channel. Implementation independent string.
        Returns:
        Channel instance. If channel does not exist null is returned and channelRequester notified.
      • registerService

        public void registerService​(String serviceName,
                                    Service service)
      • unregisterService

        public void unregisterService​(String serviceName)