com.efiAnalytics.plugin.ecu.servers
Interface OutputChannelServer


public interface OutputChannelServer

Author:
Philip Tobin

Method Summary
 OutputChannel getOutputChannel(java.lang.String ecuConfigurationName, java.lang.String outputChannelName)
          returns the OutputChannel belonging to the provided ecuConfiguration Name
 java.lang.String[] getOutputChannels(java.lang.String ecuConfigurationName)
          returns a String[] of all OutputChannels available for the provided ecuName
 void subscribe(java.lang.String ecuConfigurationName, java.lang.String outputChannelName, OutputChannelClient client)
           
 void unsubscribe(OutputChannelClient listener)
          unsubscribe a listener, it will no longer receive updated values for any OutputChannels
 void unsubscribeConfiguration(java.lang.String ecuConfigurationName)
          all listeners for the provided ecuConfigurationName
 

Method Detail

subscribe

void subscribe(java.lang.String ecuConfigurationName,
               java.lang.String outputChannelName,
               OutputChannelClient client)
               throws ControllerException
Throws:
ControllerException

unsubscribeConfiguration

void unsubscribeConfiguration(java.lang.String ecuConfigurationName)
all listeners for the provided ecuConfigurationName


unsubscribe

void unsubscribe(OutputChannelClient listener)
unsubscribe a listener, it will no longer receive updated values for any OutputChannels


getOutputChannels

java.lang.String[] getOutputChannels(java.lang.String ecuConfigurationName)
                                     throws ControllerException
returns a String[] of all OutputChannels available for the provided ecuName

Throws:
ControllerException

getOutputChannel

OutputChannel getOutputChannel(java.lang.String ecuConfigurationName,
                               java.lang.String outputChannelName)
                               throws ControllerException
returns the OutputChannel belonging to the provided ecuConfiguration Name

Throws:
ControllerException