Uses of Class
com.eurotech.framework.EsfException

Packages that use EsfException
com.eurotech.framework   
com.eurotech.framework.clock   
com.eurotech.framework.cloud   
com.eurotech.framework.cloud.app.command   
com.eurotech.framework.comm   
com.eurotech.framework.configuration   
com.eurotech.framework.core.cloud   
com.eurotech.framework.core.cloud.call   
com.eurotech.framework.core.comm   
com.eurotech.framework.core.configuration   
com.eurotech.framework.core.data   
com.eurotech.framework.core.data.transport.mqtt   
com.eurotech.framework.core.net   
com.eurotech.framework.core.net.util   
com.eurotech.framework.core.test   
com.eurotech.framework.core.util   
com.eurotech.framework.data   
com.eurotech.framework.emulator.clock   
com.eurotech.framework.emulator.net   
com.eurotech.framework.emulator.usb   
com.eurotech.framework.linux.clock   
com.eurotech.framework.linux.net   
com.eurotech.framework.linux.net.dhcp   
com.eurotech.framework.linux.net.dns   
com.eurotech.framework.linux.net.iptables   
com.eurotech.framework.linux.net.ppp   
com.eurotech.framework.linux.net.rh   
com.eurotech.framework.linux.net.util   
com.eurotech.framework.linux.net.wifi   
com.eurotech.framework.linux.usb   
com.eurotech.framework.net   
com.eurotech.framework.net.admin   
com.eurotech.framework.net.admin.modem   
com.eurotech.framework.net.admin.modem.sierra.usb598   
com.eurotech.framework.net.admin.modem.telit.de910   
com.eurotech.framework.net.admin.modem.telit.he910   
com.eurotech.framework.net.admin.monitor   
com.eurotech.framework.net.admin.visitor.linux   
com.eurotech.framework.net.admin.visitor.linux.util   
com.eurotech.framework.net.dhcp   
com.eurotech.framework.net.route   
com.eurotech.framework.protocol.pcn   
com.eurotech.framework.usb   
 

Uses of EsfException in com.eurotech.framework
 

Subclasses of EsfException in com.eurotech.framework
 class EsfConnectException
          EsfConnectException is raised during connect failures.
 class EsfNotConnectedException
          EsfNotConnectedException is raised when the attempted operation requires an active connection to the remote server while the current state is disconnected.
 class EsfPartialSuccessException
          EsfPartialSuccessException is used capture the response of bulk operations which allow for the failures of some of their steps.
 class EsfStoreCapacityReachedException
          EsfStoreCapacityReachedException is raised when a message can not be appended to the publishing queue as the internal database buffer has reached its capacity for messages that are not yet published or they are still in transit.
 class EsfStoreException
          EsfStoreException is raised when a failure occurred during a persistence operation.
 class EsfTimeoutException
          EsfTimeoutException is raised when the attempted operation failed to respond before the timeout exprises.
 class EsfTooManyInflightMessagesException
          EsfTooManyInflightMessagesException is raised if a publish is attempted when there are already too many messages queued for publishing.
 

Methods in com.eurotech.framework that return EsfException
static EsfException EsfException.internalError(String message)
          Factory method to build an EdcException with the EdcErrorCode.INTERNAL_ERROR code providing only a message.
static EsfException EsfException.internalError(Throwable cause)
          Factory method to build an EdcException with the EdcErrorCode.INTERNAL_ERROR code providing a cause and a message.
static EsfException EsfException.internalError(Throwable cause, String message)
          Factory method to build an EdcException with the EdcErrorCode.INTERNAL_ERROR code providing a cause and a message.
 

Uses of EsfException in com.eurotech.framework.clock
 

Methods in com.eurotech.framework.clock that throw EsfException
 Date ClockService.getLastSync()
          Returns a Date denoting when the clock was synchronized last.
 

Uses of EsfException in com.eurotech.framework.cloud
 

Methods in com.eurotech.framework.cloud that throw EsfException
 EsfResponsePayload CloudCallService.call(String appId, String appTopic, EsfPayload appPayload, int timeout)
          Sends a local (to this device) request to a Cloudlet application with the given application ID waiting for the response.
 EsfResponsePayload CloudCallService.call(String deviceId, String appId, String appTopic, EsfPayload appPayload, int timeout)
          Sends a request to a remote server or device identified by the specified deviceId and targeting the given application ID waiting for the response.
 int CloudClient.controlPublish(String appTopic, EsfPayload payload, int qos, boolean retain, int priority)
          Publishes a control message to the remote server.
 int CloudClient.controlPublish(String deviceId, String appTopic, byte[] payload, int qos, boolean retain, int priority)
          Publishes a control message to the remote server addressing it to another device with a raw byte array payload.
 int CloudClient.controlPublish(String deviceId, String appTopic, EsfPayload payload, int qos, boolean retain, int priority)
          Publishes a control message to the remote server addressing it to another device.
 void CloudClient.controlSubscribe(String appTopic, int qos)
          Subscribes to a control topic with the remote server.
 void CloudClient.controlUnsubscribe(String appTopic)
          Unsubscribes to a control topic with the remote server.
protected  void Cloudlet.doDel(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
protected  void Cloudlet.doExec(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
protected  void Cloudlet.doGet(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
protected  void Cloudlet.doPost(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
protected  void Cloudlet.doPut(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
 List<Integer> CloudClient.getDroppedInFlightMessageIds()
          Finds the list of identifiers of in-flight messages that have been dropped.
 List<Integer> CloudClient.getInFlightMessageIds()
          Finds the list of identifiers of messages that are still in-flight (messages published but not confirmed yet).
 List<Integer> CloudClient.getUnpublishedMessageIds()
          Gets the list of identifiers of messages that have not been published yet.
 CloudClient CloudService.newCloudClient(String appId)
          Returns a new instance of the CloudClient for the given application Id.
 int CloudClient.publish(String appTopic, byte[] payload, int qos, boolean retain, int priority)
          Publishes a message to the remote server with a raw byte array payload.
 int CloudClient.publish(String appTopic, EsfPayload payload, int qos, boolean retain)
          Publishes a message to the remote server using the default priority 5.
 int CloudClient.publish(String appTopic, EsfPayload payload, int qos, boolean retain, int priority)
          Publishes a message to the remote server.
 void CloudClient.subscribe(String appTopic, int qos)
          Subscribes to a topic with the remote server.
 void CloudClient.unsubscribe(String appTopic)
          Unubscribes to a topic with the remote server.
 

Uses of EsfException in com.eurotech.framework.cloud.app.command
 

Methods in com.eurotech.framework.cloud.app.command that throw EsfException
protected  void CommandCloudApp.doExec(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
 

Uses of EsfException in com.eurotech.framework.comm
 

Methods in com.eurotech.framework.comm that throw EsfException
 byte[] CommConnection.flushSerialBuffer()
          Reads all bytes that are waiting in the serial port buffer and returns them in an array.
 byte[] CommConnection.sendCommand(byte[] command, int timeout)
          Sends and array of bytes to a CommConnection and returns an array of bytes that represents the 'response' to the command.
 byte[] CommConnection.sendCommand(byte[] command, int timeout, int demark)
           
 void CommConnection.sendMessage(byte[] message)
          Sends and array of bytes to a CommConnection
 

Uses of EsfException in com.eurotech.framework.configuration
 

Methods in com.eurotech.framework.configuration that throw EsfException
 ComponentConfiguration ConfigurationService.getComponentConfiguration(String pid)
          Returns the ComponentConfiguration for the component identified with specified PID (service's persistent identity).
 List<ComponentConfiguration> ConfigurationService.getComponentConfigurations()
          Returns the list of ConfigurableComponents currently registered with the ConfigurationService.
 ComponentConfiguration SelfConfiguringComponent.getConfiguration()
          This method is called by the ConfigurationService when it requires the current snapshot of the configuration for this components.
 List<ComponentConfiguration> ConfigurationService.getSnapshot(long sid)
          Loads a snapshot given its ID and return the component configurations stored in that snapshot.
 Set<Long> ConfigurationService.getSnapshots()
          Returns the ID of all the snapshots taken by the ConfigurationService.
 long ConfigurationService.rollback()
          Rolls back to the last saved snapshot if available.
 void ConfigurationService.rollback(long id)
          Rolls back to the specified snapshot id.
 long ConfigurationService.snapshot()
          Takes a new snapshot of the current configuration of all the registered ConfigurableCompoenents.
 void ConfigurationService.updateConfiguration(String pid, Map<String,Object> properties)
          Updates the Configuration of the registered component with the specified pid.
 void ConfigurationService.updateConfigurations(List<ComponentConfiguration> configs)
           
 

Uses of EsfException in com.eurotech.framework.core.cloud
 

Methods in com.eurotech.framework.core.cloud that throw EsfException
 int CloudClientImpl.controlPublish(String topic, EsfPayload payload, int qos, boolean retain, int priority)
           
 int CloudClientImpl.controlPublish(String deviceId, String topic, byte[] payload, int qos, boolean retain, int priority)
           
 int CloudClientImpl.controlPublish(String deviceId, String topic, EsfPayload payload, int qos, boolean retain, int priority)
           
 void CloudClientImpl.controlSubscribe(String topic, int qos)
           
 void CloudClientImpl.controlUnsubscribe(String topic)
           
 List<Integer> CloudClientImpl.getDroppedInFlightMessageIds()
           
 List<Integer> CloudClientImpl.getInFlightMessageIds()
           
 List<Integer> CloudClientImpl.getUnpublishedMessageIds()
           
 CloudClient CloudServiceImpl.newCloudClient(String applicationId)
           
 int CloudClientImpl.publish(String topic, byte[] payload, int qos, boolean retain, int priority)
           
 int CloudClientImpl.publish(String topic, EsfPayload payload, int qos, boolean retain)
           
 int CloudClientImpl.publish(String topic, EsfPayload payload, int qos, boolean retain, int priority)
           
 void CloudClientImpl.subscribe(String topic, int qos)
           
 void CloudClientImpl.unsubscribe(String topic)
           
 

Uses of EsfException in com.eurotech.framework.core.cloud.call
 

Methods in com.eurotech.framework.core.cloud.call that throw EsfException
 EsfResponsePayload CloudCallServiceImpl.call(String appId, String appTopic, EsfPayload appPayload, int timeout)
           
 EsfResponsePayload CloudCallServiceImpl.call(String deviceId, String appId, String appTopic, EsfPayload appPayload, int timeout)
           
 

Uses of EsfException in com.eurotech.framework.core.comm
 

Methods in com.eurotech.framework.core.comm that throw EsfException
 byte[] CommConnectionImpl.flushSerialBuffer()
           
 byte[] CommConnectionImpl.sendCommand(byte[] command, int timeout)
           
 byte[] CommConnectionImpl.sendCommand(byte[] command, int timeout, int demark)
           
 void CommConnectionImpl.sendMessage(byte[] message)
           
 

Uses of EsfException in com.eurotech.framework.core.configuration
 

Methods in com.eurotech.framework.core.configuration that throw EsfException
protected  void CloudConfigurationHandler.doExec(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
protected  void CloudConfigurationHandler.doGet(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
protected  void CloudConfigurationHandler.doPut(CloudletTopic reqTopic, EsfRequestPayload reqPayload, EsfResponsePayload respPayload)
           
 ComponentConfiguration ConfigurationServiceImpl.getComponentConfiguration(String pid)
           
 List<ComponentConfiguration> ConfigurationServiceImpl.getComponentConfigurations()
           
 List<ComponentConfiguration> ConfigurationServiceImpl.getSnapshot(long sid)
           
 Set<Long> ConfigurationServiceImpl.getSnapshots()
           
 long ConfigurationServiceImpl.rollback()
           
 void ConfigurationServiceImpl.rollback(long id)
           
 long ConfigurationServiceImpl.snapshot()
           
 void ConfigurationServiceImpl.updateConfiguration(String pidToUpdate, Map<String,Object> propertiesToUpdate)
           
 void ConfigurationServiceImpl.updateConfigurations(List<ComponentConfiguration> configsToUpdate)
           
 

Uses of EsfException in com.eurotech.framework.core.data
 

Methods in com.eurotech.framework.core.data that throw EsfException
 void DataServiceImpl.subscribe(String topic, int qos)
           
 void DataServiceImpl.unsubscribe(String topic)
           
 

Uses of EsfException in com.eurotech.framework.core.data.transport.mqtt
 

Methods in com.eurotech.framework.core.data.transport.mqtt that throw EsfException
 DataTransportToken MqttDataTransport.publish(String topic, byte[] payload, int qos, boolean retain)
           
 void MqttDataTransport.subscribe(String topic, int qos)
           
 void MqttDataTransport.unsubscribe(String topic)
           
 

Uses of EsfException in com.eurotech.framework.core.net
 

Methods in com.eurotech.framework.core.net that throw EsfException
 void NetworkConfiguration.accept(NetworkConfigurationVisitor visitor)
           
 void NetworkConfiguration.addNetConfig(String interfaceName, NetInterfaceType netInterfaceType, NetConfig netConfig)
           
 boolean NetworkConfiguration.isValid()
           
 void NetworkConfigurationVisitor.visit(NetworkConfiguration config)
           
 

Constructors in com.eurotech.framework.core.net that throw EsfException
NetworkConfiguration(Map<String,Object> properties)
          Constructor for create a completely new NetComponentConfiguration based on a set of properties
 

Uses of EsfException in com.eurotech.framework.core.net.util
 

Methods in com.eurotech.framework.core.net.util that throw EsfException
static short NetworkUtil.getNetmaskShortForm(String netmask)
           
static String NetworkUtil.getNetmaskStringForm(int prefix)
           
 

Uses of EsfException in com.eurotech.framework.core.test
 

Methods in com.eurotech.framework.core.test that throw EsfException
 void CloudDeploymentHandlerTest.testServiceExists()
           
 

Uses of EsfException in com.eurotech.framework.core.util
 

Methods in com.eurotech.framework.core.util that throw EsfException
static Map<String,Object> ComponentUtil.getDefaultProperties(OCD ocd)
           
static void ValidationUtil.notEmptyOrNull(String value, String argumentName)
          Throws an EdcIllegalNullArgumentException if the string value for the specified argument is empty or null.
static void ValidationUtil.notNegative(int value, String argumentName)
          Throws an EdcIllegalNullArgumentException if the value for the specified argument is null.
static void ValidationUtil.notNegative(long value, String argumentName)
          Throws an EdcIllegalNullArgumentException if the value for the specified argument is null.
static void ValidationUtil.notNegative(short value, String argumentName)
          Throws an EdcIllegalNullArgumentException if the value for the specified argument is null.
static void ValidationUtil.notNull(Object value, String argumentName)
           
 

Uses of EsfException in com.eurotech.framework.data
 

Methods in com.eurotech.framework.data that throw EsfException
 DataTransportToken DataTransportService.publish(String topic, byte[] payload, int qos, boolean retain)
          Enqueues a message for publishing with the underlying transport implementation.
 void DataTransportService.subscribe(String topic, int qos)
          Subscribes to a topic on the broker.
 void DataService.subscribe(String topic, int qos)
          Subscribes to the specified topic with the remote server.
 void DataTransportService.unsubscribe(String topic)
          Unsubscribes to a topic on the broker.
 void DataService.unsubscribe(String topic)
          Unubscribes to the specified topic with the remote server.
 

Uses of EsfException in com.eurotech.framework.emulator.clock
 

Methods in com.eurotech.framework.emulator.clock that throw EsfException
 Date ClockServiceImpl.getLastSync()
           
 

Uses of EsfException in com.eurotech.framework.emulator.net
 

Methods in com.eurotech.framework.emulator.net that throw EsfException
 List<NetInterface<? extends NetInterfaceAddress>> EmulatedNetworkServiceImpl.getActiveNetworkInterfaces()
           
 List<String> EmulatedNetworkServiceImpl.getAllNetworkInterfaceNames()
           
 String EmulatedNetworkServiceImpl.getModemPppPort(ModemDevice modemDevice)
           
 List<NetInterface<? extends NetInterfaceAddress>> EmulatedNetworkServiceImpl.getNetworkInterfaces()
           
 

Uses of EsfException in com.eurotech.framework.emulator.usb
 

Methods in com.eurotech.framework.emulator.usb that throw EsfException
 UsbServices UsbServiceImpl.getUsbServices()
           
 

Uses of EsfException in com.eurotech.framework.linux.clock
 

Methods in com.eurotech.framework.linux.clock that throw EsfException
 Date ClockServiceImpl.getLastSync()
           
 void GpsClockSyncProvider.init(Map<String,Object> properties, ClockSyncListener listener)
           
 void ClockSyncProvider.init(Map<String,Object> properties, ClockSyncListener listener)
           
 void AbstractNtpClockSyncProvider.init(Map<String,Object> properties, ClockSyncListener listener)
           
 void GpsClockSyncProvider.start()
           
 void ClockSyncProvider.start()
           
 void AbstractNtpClockSyncProvider.start()
           
 void GpsClockSyncProvider.stop()
           
 void ClockSyncProvider.stop()
           
 void AbstractNtpClockSyncProvider.stop()
           
protected  void NtpdClockSyncProvider.syncClock()
           
protected  void JavaNtpClockSyncProvider.syncClock()
           
protected abstract  void AbstractNtpClockSyncProvider.syncClock()
           
protected  void GpsClockSyncProvider.synchClock()
           
 

Uses of EsfException in com.eurotech.framework.linux.net
 

Constructors in com.eurotech.framework.linux.net that throw EsfException
ConnectionInfoImpl(String ifaceName)
          Creates a ConnectionInfo instance with the previously persisted connection properties if they existed
 

Uses of EsfException in com.eurotech.framework.linux.net.dhcp
 

Methods in com.eurotech.framework.linux.net.dhcp that throw EsfException
 boolean DhcpServerImpl.disable()
           
static boolean DhcpServerManager.disable(String interfaceName)
           
 boolean DhcpServerImpl.enable()
           
static boolean DhcpServerManager.enable(String interfaceName)
           
static DhcpServerImpl DhcpServerFactory.getInstance(String interfaceName, boolean enabled, boolean passDns)
           
 boolean DhcpServerImpl.isRunning()
           
static boolean DhcpServerManager.isRunning(String interfaceName)
           
 void DhcpServerImpl.setConfig(DhcpServerConfigIP4 dhcpServerConfig4)
           
 

Uses of EsfException in com.eurotech.framework.linux.net.dns
 

Methods in com.eurotech.framework.linux.net.dns that throw EsfException
 boolean LinuxNamed.disable()
           
 boolean LinuxNamed.enable()
           
 List<IPAddress> LinuxDns.getDhcpDnsServers(String interfaceName, IPAddress address)
           
static LinuxNamed LinuxNamed.getInstance()
           
 boolean LinuxNamed.isEnabled()
           
 boolean LinuxNamed.restart()
           
 void LinuxNamed.setConfig(DnsServerConfigIP4 dnsServerConfigIP4)
           
 

Uses of EsfException in com.eurotech.framework.linux.net.iptables
 

Methods in com.eurotech.framework.linux.net.iptables that throw EsfException
 void LinuxFirewall.addCustomRule(String rule)
           
 void LinuxFirewall.addLocalRule(int port, String protocol, String permittedNetwork, String permittedNetworkPrefix, String permittedMAC, String sourcePortRange)
           
 void LinuxFirewall.addLocalRule(String portRange, String protocol, String permittedNetwork, String permittedNetworkPrefix, String permittedMAC, String sourcePortRange)
           
 void LinuxFirewall.addNatRule(String sourceInterface, String destinationInterface, boolean masquerade)
           
 void LinuxFirewall.addPortForwardRule(String iface, String address, String protocol, int inPort, int outPort, String permittedNetwork, String permittedNetworkPrefix, String permittedMAC, String sourcePortRange)
           
 void LinuxFirewall.blockAllPorts()
           
 void LinuxFirewall.createFile(String file1)
           
 void LinuxFirewall.deleteAllLocalRules()
           
 void LinuxFirewall.deleteAllNatRules()
           
 void LinuxFirewall.deleteAllPortForwardRules()
           
 void LinuxFirewall.deleteLocalRule(LocalRule rule)
           
 void LinuxFirewall.deleteNatRule(NATRule rule)
           
 void LinuxFirewall.deletePortForwardRule(PortForwardRule rule)
           
 void LinuxFirewall.disable()
           
 void LinuxFirewall.enable()
           
 Set<LocalRule> LinuxFirewall.getLocalRules()
           
 Set<NATRule> LinuxFirewall.getNatRules()
           
 NetworkPair<IP4Address> LocalRule.getPermittedNetwork()
          Getter for permittedNetwork
 Set<PortForwardRule> LinuxFirewall.getPortForwardRules()
           
 void LinuxFirewall.replaceAllNatRules(LinkedHashSet<NATRule> newNatRules)
           
 void LinuxFirewall.unblockAllPorts()
           
 

Uses of EsfException in com.eurotech.framework.linux.net.ppp
 

Methods in com.eurotech.framework.linux.net.ppp that throw EsfException
static void PppLinux.connect(String iface, String port)
           
static void PppLinux.disconnect(String iface, String port)
           
static boolean PppLinux.isPppProcessRunning(String iface, String port)
           
static boolean PppLinux.isPppProcessRunning(String iface, String port, int tout)
           
 

Uses of EsfException in com.eurotech.framework.linux.net.rh
 

Methods in com.eurotech.framework.linux.net.rh that throw EsfException
 List<NetInterface<? extends NetInterfaceAddress>> NetworkServiceImpl.getActiveNetworkInterfaces()
           
 List<String> NetworkServiceImpl.getAllNetworkInterfaceNames()
           
 List<WifiAccessPoint> NetworkServiceImpl.getAllWifiAccessPoints()
           
 String NetworkServiceImpl.getModemPppPort(ModemDevice modemDevice)
          Given a usb port address, look up the associated ppp interface name
 NetInterface<? extends NetInterfaceAddress> NetworkServiceImpl.getNetworkInterface(String interfaceName)
           
 List<NetInterface<? extends NetInterfaceAddress>> NetworkServiceImpl.getNetworkInterfaces()
           
 NetworkState NetworkServiceImpl.getState()
           
 NetInterfaceState NetworkServiceImpl.getState(String interfaceName)
           
 List<WifiAccessPoint> NetworkServiceImpl.getWifiAccessPoints(String wifiInterfaceName)
           
 

Uses of EsfException in com.eurotech.framework.linux.net.util
 

Methods in com.eurotech.framework.linux.net.util that throw EsfException
static boolean LinuxNetworkUtil.canPing(String ipAddress, int count)
           
 boolean MiiTool.get()
           
 boolean LinkTool.get()
          ethtool 'get' operation
 boolean IwLinkTool.get()
           
 boolean EthTool.get()
           
static List<String> LinuxNetworkUtil.getAllInterfaceNames()
           
static List<WifiAccessPoint> LinuxNetworkUtil.getAvailableAccessPoints(String interfaceName)
           
static String LinuxNetworkUtil.getCurrentBroadcastAddress(String ifaceName)
           
protected static NetInterfaceConfig GenericNetworkInterface.getCurrentConfig(String interfaceName, NetInterfaceType type, NetInterfaceStatus status, boolean dhcpServerEnabled, boolean passDns, Properties esfProps)
           
static NetInterfaceConfig RedHatNetworkInterface.getCurrentConfiguration(String interfaceName, NetInterfaceType type, NetInterfaceStatus status, boolean dhcpServerEnabled, boolean passDns)
           
static NetInterfaceConfig DebianNetworkInterface.getCurrentConfiguration(String interfaceName, NetInterfaceType type, NetInterfaceStatus status, boolean dhcpServerEnabled, boolean passDns)
           
static String LinuxNetworkUtil.getCurrentIpAddress(String ifaceName)
           
static short LinuxNetworkUtil.getCurrentMtu(String ifaceName)
           
static String LinuxNetworkUtil.getCurrentNetmask(String ifaceName)
           
static String LinuxNetworkUtil.getCurrentPtpAddress(String ifaceName)
           
static Map<String,String> LinuxNetworkUtil.getEthernetDriver(String interfaceName)
           
static List<String> LinuxNetworkUtil.getInterfaceNames()
           
static String LinuxNetworkUtil.getMacAddress(String ifaceName)
           
static byte[] LinuxNetworkUtil.getMacAddressBytes(String interfaceName)
           
static String LinuxNetworkUtil.getSSID(String ifaceName)
           
static NetInterfaceType LinuxNetworkUtil.getType(String ifaceName)
           
static long LinuxNetworkUtil.getWifiBitrate(String ifaceName)
           
static EnumSet<WifiInterface.Capability> LinuxNetworkUtil.getWifiCapabilities(String ifaceName)
           
static WifiMode LinuxNetworkUtil.getWifiMode(String ifaceName)
           
static boolean LinuxNetworkUtil.isAutoConnect(String interfaceName)
           
static boolean LinuxNetworkUtil.isDhclientRunning(String interfaceName)
           
static boolean LinuxNetworkUtil.isEthernetControllerPowered(String interfaceName)
           
static boolean LinuxNetworkUtil.isLinkUp(NetInterfaceType ifaceType, String ifaceName)
           
static boolean LinuxNetworkUtil.isLinkUp(String ifaceName)
           
static boolean LinuxNetworkUtil.isSupportsMulticast(String interfaceName)
           
static boolean LinuxNetworkUtil.isUp(String interfaceName)
           
static void LinuxNetworkUtil.powerOnEthernetController(String interfaceName)
           
static void RedHatNetworkInterface.writeNewConfig(NetInterfaceConfig netInterfaceConfig)
           
static void DebianNetworkInterface.writeNewConfig(NetInterfaceConfig netInterfaceConfig)
           
 

Uses of EsfException in com.eurotech.framework.linux.net.wifi
 

Methods in com.eurotech.framework.linux.net.wifi that throw EsfException
 void WpaSupplicant.disable()
          Stops wpa_supplicant
 void Hostapd.disable()
          Stops hostapd
 void WpaSupplicant.enable()
          Launches wpa_supplicant
 void Hostapd.enable()
          Launches hostapd
static Hostapd Hostapd.getHostapd()
           
static Collection<String> WifiOptions.getSupportedOptions(String ifaceName)
           
static WpaSupplicant WpaSupplicant.getWpaSupplicant(String ifaceName)
           
static boolean WpaSupplicant.hasInstanceRunning()
          Reports if there is an instance of wpa_supplicant running
static boolean Hostapd.hasInstanceRunning()
          Reports if there is an instance of hostapd running
 boolean WpaSupplicant.isEnabled()
          Reports if wpa_supplicant is running
 boolean Hostapd.isEnabled()
          Reports if hostapd is running
static boolean WpaSupplicantManager.isRunning()
          Reports if wpa_supplicant is running
static boolean HostapdManager.isRunning()
           
static void WpaSupplicant.killAll()
          Stops all instances of wpa_supplicant
static void Hostapd.killAll()
          Stops all instances of hostapd
 void WpaSupplicant.saveConfig()
           
 void Hostapd.saveConfig()
          Save the current values to the config file
static void HostapdManager.start()
           
static void WpaSupplicantManager.start(String interfaceName, WifiMode mode, String driver)
           
static void WpaSupplicantManager.stop()
          Stops all instances of wpa_supplicant
static void HostapdManager.stop()
           
 

Constructors in com.eurotech.framework.linux.net.wifi that throw EsfException
WpaSupplicantStatus(String iface)
           
 

Uses of EsfException in com.eurotech.framework.linux.usb
 

Methods in com.eurotech.framework.linux.usb that throw EsfException
 UsbServices UsbServiceImpl.getUsbServices()
           
 

Uses of EsfException in com.eurotech.framework.net
 

Methods in com.eurotech.framework.net that throw EsfException
 void NetworkAdminService.disableInterface(String interfaceName)
          Disables the specified interface.
 void NetworkAdminService.enableInterface(String interfaceName, boolean dhcp)
          Enables the specified interface.
 List<NetInterface<? extends NetInterfaceAddress>> NetworkService.getActiveNetworkInterfaces()
          Return the active NetworkIntefaces which have active connections for the system.
 List<String> NetworkService.getAllNetworkInterfaceNames()
          Gets the names of all the network interface attached to the system.
 List<WifiAccessPoint> NetworkService.getAllWifiAccessPoints()
          Returns the list of all available WifiAccessPoints as seen from the system.
 List<NetConfig> NetworkAdminService.getFirewallConfiguration()
          Gets the firewall configuration of the system as currently specified
 String NetworkService.getModemPppPort(ModemDevice modemDevice)
           
 List<? extends NetInterfaceConfig<? extends NetInterfaceAddressConfig>> NetworkAdminService.getNetworkInterfaceConfigs()
          Returns a list of all of the configurations associated with all of the interfaces on the system.
 List<NetConfig> NetworkAdminService.getNetworkInterfaceConfigs(String interfaceName)
          Returns the configuration information for the specified NetworkInterface name.
 List<NetInterface<? extends NetInterfaceAddress>> NetworkService.getNetworkInterfaces()
          Gets the names of all the network interface attached to the system.
 NetworkState NetworkService.getState()
          Returns the overall state of the networking subsystem
 NetInterfaceState NetworkService.getState(String interfaceName)
          Returns the state of a specific network interface
 List<WifiAccessPoint> NetworkService.getWifiAccessPoints(String wifiInterfaceName)
          Returns the list of the WifiAccessPoints visible from the specified wifi network interface.
 void NetworkAdminService.manageDhcpServer(String interfaceName, boolean enable)
          Used to control DHCP servers on specified interfaces.
 void NetworkAdminService.manageFirewall(String gatewayIface)
          Updates the Firewall configuration based on current environmental conditions.
 void NetworkAdminService.renewDhcpLease(String interfaceName)
          Releases current IP address and acquires a new lease for the provided interface.
 void NetConfigIP.setAddress(T address)
          Sets the static address to be assigned to the interface.
 void NetworkAdminService.setFirewallOpenPortConfiguration(List<FirewallOpenPortConfigIP<? extends IPAddress>> firewallConfiguration)
          Sets the 'open port' portion of the firewall configuration
 void NetworkAdminService.setFirewallPortForwardingConfiguration(List<FirewallPortForwardConfigIP<? extends IPAddress>> firewallConfiguration)
          Sets the 'port forwarding' portion of the firewall configuration
 void NetConfigIP.setNetworkPrefixLength(short networkPrefixLength)
          Sets the prefix length to be used for the network interface
 void NetConfigIP.setSubnetMask(T subnetMask)
          Sets the subnet mask to be used for the network interface
 void NetworkAdminService.updateEthernetInterfaceConfig(String interfaceName, boolean autoConnect, int mtu, List<NetConfig> netConfigs)
          Updates the configuration of the specified EthernetInterface.
 void NetworkAdminService.updateModemInterfaceConfig(String interfaceName, String serialNum, String modemId, int pppNumber, boolean autoConnect, int mtu, List<NetConfig> netConfigs)
          Updates the configuration of the specified ModemInterface.
 void NetworkAdminService.updateWifiInterfaceConfig(String interfaceName, boolean autoConnect, WifiAccessPoint accessPoint, List<NetConfig> netConfigs)
          Updates the configuration of the specified WifiInterface.
 

Constructors in com.eurotech.framework.net that throw EsfException
NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, IP4Address address, IP4Address subnetMask, IP4Address gateway)
           
NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, IP4Address address, short networkPrefixLength, IP4Address gateway)
           
NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, IP6Address address, IP6Address subnetMask, IP6Address gateway)
          Constructor for a Static Configuration for a network interface based on IPv6 addresses.
NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, IP6Address address, short networkPrefixLength, IP6Address gateway)
          Constructor for a Static Configuration for a network interface based on IPv6 addresses.
 

Uses of EsfException in com.eurotech.framework.net.admin
 

Methods in com.eurotech.framework.net.admin that throw EsfException
 void NetworkAdminServiceImpl.disableInterface(String interfaceName)
           
 void NetworkAdminServiceImpl.enableInterface(String interfaceName, boolean dhcp)
           
 ComponentConfiguration NetworkConfigurationServiceImpl.getConfiguration()
           
 List<NetConfig> NetworkAdminServiceImpl.getFirewallConfiguration()
           
 NetworkConfiguration NetworkConfigurationServiceImpl.getNetworkConfiguration()
           
 NetworkConfiguration NetworkConfigurationService.getNetworkConfiguration()
           
 List<? extends NetInterfaceConfig<? extends NetInterfaceAddressConfig>> NetworkAdminServiceImpl.getNetworkInterfaceConfigs()
           
 List<NetConfig> NetworkAdminServiceImpl.getNetworkInterfaceConfigs(String interfaceName)
           
 void NetworkAdminServiceImpl.manageDhcpServer(String interfaceName, boolean enable)
           
 void NetworkAdminServiceImpl.manageFirewall(String gatewayIface)
           
 void NetworkAdminServiceImpl.renewDhcpLease(String interfaceName)
           
 void NetworkAdminServiceImpl.setFirewallOpenPortConfiguration(List<FirewallOpenPortConfigIP<? extends IPAddress>> firewallConfiguration)
           
 void NetworkAdminServiceImpl.setFirewallPortForwardingConfiguration(List<FirewallPortForwardConfigIP<? extends IPAddress>> firewallConfiguration)
           
 void NetworkAdminServiceImpl.updateEthernetInterfaceConfig(String interfaceName, boolean autoConnect, int mtu, List<NetConfig> netConfigs)
           
 void NetworkAdminServiceImpl.updateModemInterfaceConfig(String interfaceName, String serialNum, String modemId, int pppNumber, boolean autoConnect, int mtu, List<NetConfig> netConfigs)
           
 void NetworkAdminServiceImpl.updateWifiInterfaceConfig(String interfaceName, boolean autoConnect, WifiAccessPoint accessPoint, List<NetConfig> netConfigs)
           
 

Uses of EsfException in com.eurotech.framework.net.admin.modem
 

Methods in com.eurotech.framework.net.admin.modem that throw EsfException
 void Ppp.connect()
           
 void IModemLinkService.connect()
          Connect request with default timeout
 void Ppp.connect(int tout)
           
 void IModemLinkService.connect(int tout)
          Connect request
 void Ppp.disconnect()
           
 void IModemLinkService.disconnect()
          Disconnect request
 String CellularModem.getAtPort()
           
 long CellularModem.getCallRxCounter()
          Reports number of bytes received during a call
 long CellularModem.getCallTxCounter()
          Reports number of bytes tarnsmitted during a call
 String CellularModem.getDataPort()
           
 String Ppp.getIPaddress()
           
 String IModemLinkService.getIPaddress()
          Reports IP address of cellular interface
 String CellularModem.getManufacturer()
          Returns modem's manufacturer identification
 String EvdoCellularModem.getMobileDirectoryNumber()
           
 String EvdoCellularModem.getMobileIdentificationNumber()
           
 String CellularModem.getModel()
          Reports modem's model
 PppState Ppp.getPppState()
           
 PppState IModemLinkService.getPppState()
           
 PppState Ppp.getPppState(int tout)
           
 PppState IModemLinkService.getPppState(int tout)
           
 ModemRegistrationStatus CellularModem.getRegistrationStatus()
          Reports modem registration status
 String CellularModem.getRevisionID()
          Reports modem's revision identification
 String CellularModem.getSerialNumber()
          Answers modem's serial number
 ModemCdmaServiceProvider EvdoCellularModem.getServiceProvider()
           
 String CellularModem.getServiceType()
          Reports Service Type
 int CellularModem.getSignalStrength()
          Reports signal strength in dBm
 boolean EvdoCellularModem.isProvisioned()
           
 boolean CellularModem.isReachable()
           
 boolean HspaCellularModem.isSimCardReady()
           
 void EvdoCellularModem.provision()
           
 void CellularModem.reset()
          resets the modem and tries to restore the state of the modem driver.
 

Uses of EsfException in com.eurotech.framework.net.admin.modem.sierra.usb598
 

Methods in com.eurotech.framework.net.admin.modem.sierra.usb598 that throw EsfException
 String SierraUsb598.getAtPort()
           
 long SierraUsb598.getCallRxCounter()
           
 long SierraUsb598.getCallTxCounter()
           
 String SierraUsb598.getDataPort()
           
 String SierraUsb598.getManufacturer()
           
 String SierraUsb598.getMobileDirectoryNumber()
           
 String SierraUsb598.getMobileIdentificationNumber()
           
 String SierraUsb598.getModel()
           
 ModemRegistrationStatus SierraUsb598.getRegistrationStatus()
           
 String SierraUsb598.getRevisionID()
           
 String SierraUsb598.getSerialNumber()
           
 String SierraUsb598.getServiceType()
           
 int SierraUsb598.getSignalStrength()
           
 boolean SierraUsb598.isProvisioned()
           
 boolean SierraUsb598.isReachable()
           
 void SierraUsb598.provision()
           
 void SierraUsb598.reset()
           
 

Uses of EsfException in com.eurotech.framework.net.admin.modem.telit.de910
 

Methods in com.eurotech.framework.net.admin.modem.telit.de910 that throw EsfException
 String TelitDe910.getAtPort()
           
 long TelitDe910.getCallRxCounter()
           
 long TelitDe910.getCallTxCounter()
           
 String TelitDe910.getDataPort()
           
 String TelitDe910.getManufacturer()
           
 String TelitDe910.getMobileDirectoryNumber()
           
 String TelitDe910.getMobileIdentificationNumber()
           
 String TelitDe910.getModel()
           
 ModemRegistrationStatus TelitDe910.getRegistrationStatus()
           
 String TelitDe910.getRevisionID()
           
 String TelitDe910.getSerialNumber()
           
 ModemCdmaServiceProvider TelitDe910.getServiceProvider()
           
 String TelitDe910.getServiceType()
           
 int TelitDe910.getSignalStrength()
           
 boolean TelitDe910.isProvisioned()
           
 boolean TelitDe910.isReachable()
           
 void TelitDe910.provision()
           
 void TelitDe910.reset()
           
 

Uses of EsfException in com.eurotech.framework.net.admin.modem.telit.he910
 

Methods in com.eurotech.framework.net.admin.modem.telit.he910 that throw EsfException
 String TelitHe910.getAtPort()
           
 long TelitHe910.getCallRxCounter()
           
 long TelitHe910.getCallTxCounter()
           
 String TelitHe910.getDataPort()
           
 String TelitHe910.getManufacturer()
           
 String TelitHe910.getModel()
           
 ModemRegistrationStatus TelitHe910.getRegistrationStatus()
           
 String TelitHe910.getRevisionID()
           
 String TelitHe910.getSerialNumber()
           
 String TelitHe910.getServiceType()
           
 int TelitHe910.getSignalStrength()
           
 boolean TelitHe910.isReachable()
           
 boolean TelitHe910.isSimCardReady()
           
 void TelitHe910.reset()
           
 

Uses of EsfException in com.eurotech.framework.net.admin.monitor
 

Constructors in com.eurotech.framework.net.admin.monitor that throw EsfException
InterfaceState(String interfaceName)
           
 

Uses of EsfException in com.eurotech.framework.net.admin.visitor.linux
 

Methods in com.eurotech.framework.net.admin.visitor.linux that throw EsfException
 void WpaSupplicantConfigWriter.visit(NetworkConfiguration config)
           
 void WpaSupplicantConfigReader.visit(NetworkConfiguration config)
           
 void WifiConfigWriter.visit(NetworkConfiguration config)
           
 void WifiConfigReader.visit(NetworkConfiguration config)
           
 void PppConfigWriter.visit(NetworkConfiguration config)
           
 void PppConfigReader.visit(NetworkConfiguration config)
           
 void LinuxRedhatWriteVisitor.visit(NetworkConfiguration config)
           
 void LinuxRedhatReadVisitor.visit(NetworkConfiguration config)
           
 void IfcfgRedhatConfigWriter.visit(NetworkConfiguration config)
           
 void IfcfgRedhatConfigReader.visit(NetworkConfiguration config)
           
 void HostapdConfigWriter.visit(NetworkConfiguration config)
           
 void HostapdConfigReader.visit(NetworkConfiguration config)
           
 void FirewallNatConfigWriter.visit(NetworkConfiguration config)
           
 void FirewallNatConfigReader.visit(NetworkConfiguration config)
           
 void DhcpConfigWriter.visit(NetworkConfiguration config)
           
 void DhcpConfigReader.visit(NetworkConfiguration config)
           
static void IfcfgRedhatConfigWriter.writeEsfExtendedConfig(NetInterfaceConfig<? extends NetInterfaceAddressConfig> netInterfaceConfig)
           
 

Uses of EsfException in com.eurotech.framework.net.admin.visitor.linux.util
 

Methods in com.eurotech.framework.net.admin.visitor.linux.util that throw EsfException
static Properties EsfnetConfig.getProperties()
           
 

Uses of EsfException in com.eurotech.framework.net.dhcp
 

Methods in com.eurotech.framework.net.dhcp that throw EsfException
 boolean DhcpServer.isRunning()
          Returns whether or not the DhcpServer is actively running or not
 

Uses of EsfException in com.eurotech.framework.net.route
 

Methods in com.eurotech.framework.net.route that throw EsfException
 void RoutingAgentService.addInterface(NetInterfaceConfig netIfaceConfig)
          Adds interface to RoutingAgent
 String RoutingAgentService.getDefaultGateway()
          Get the default gateway
 void RoutingAgentService.removeInterface(String interfaceName)
          Removes interface from RoutingAgent
 

Uses of EsfException in com.eurotech.framework.protocol.pcn
 

Methods in com.eurotech.framework.protocol.pcn that throw EsfException
 void Pcn1001SnpChannel.close()
          Closes PCN-1001 SNP channel
 void Pcn1001Service.enableDisableAutoLed(byte opcode)
           
 void Pcn1001.enableDisableAutoLed(byte opcode)
           
 void Pcn1001Service.enableDisableCounting(byte enOpcode)
          Enables/disables counting.
 void Pcn1001.enableDisableCounting(byte opcode)
           
 void Pcn1001Service.enableDisableDiagnostics(byte opcode)
          Enables/disables diagnostics.
 void Pcn1001.enableDisableDiagnostics(byte opcode)
           
 Pcn1001Service[] Pcn1001MasterService.getAllFunctionalCounters(boolean verifyWithPoll)
          Sends SNP polls to all configured passenger counters and reports all functional units.
 byte[] SnpMessage.getBytes()
          Answers byte array of the SNP message.
 Pcn1001AddressInfoService[] Pcn1001MasterService.getPcn1001AddressInfo()
          Obtains and reports PCN-1001 address information from all functional devices.
 boolean Pcn1001Service.isFunctional()
          Reports if passenger counter is accessible via SNP protocol by sending a poll to it and obtaining a reply.
 boolean Pcn1001.isFunctional()
           
 void Pcn1001Service.obtainDateAndTime()
          Obtains date and time information.
 void Pcn1001.obtainDateAndTime()
           
 void Pcn1001Service.obtainDiagnosticStatus()
          Obtains diagnostic status.
 void Pcn1001.obtainDiagnosticStatus()
           
 void Pcn1001Service.obtainFpgaFirmwareVersion()
          Obtains PCN-1001 FPGA firmware version.
 void Pcn1001.obtainFpgaFirmwareVersion()
           
 void Pcn1001Service.obtainImgServerVersion()
          Obtains PCN-1001 counting software version.
 void Pcn1001.obtainImgServerVersion()
           
 void Pcn1001Service.obtainInOutCounters()
          Obtains IN/OUT counters.
 void Pcn1001.obtainInOutCounters()
           
 void Pcn1001Service.obtainInputLineLevel(int line)
          Obtains level of specified Input Line.
 void Pcn1001.obtainInputLineLevel(int line)
           
 void Pcn1001Service.obtainKernelVersion()
          Obtains kernel version from passenger counter
 void Pcn1001.obtainKernelVersion()
           
 void Pcn1001Service.obtainOsVersion()
          Obtains PCN-1001 operating system version.
 void Pcn1001.obtainOsVersion()
           
 Pcn1001SnpChannelService Pcn1001SnpChannelAcquisitionService.obtainPcn1001SnpChannelService(org.osgi.service.io.ConnectionFactory connFactory, Properties connectionConfig, Object user, boolean exclusive)
          Obtains SNP channel service for a passenger counter.
 Pcn1001SnpChannelService Pcn1001SnpChannelAcquisition.obtainPcn1001SnpChannelService(org.osgi.service.io.ConnectionFactory connFactory, Properties connectionConfig, Object user, boolean exclusive)
           
 void Pcn1001SnpChannelAcquisitionService.releasePcn1001SnpChannelService(Pcn1001SnpChannelService service)
          Releases supplied SNP channel service.
 void Pcn1001SnpChannelAcquisition.releasePcn1001SnpChannelService(Pcn1001SnpChannelService service)
           
 void Pcn1001Service.resetInOutCounters(boolean verifyReset)
          Resets IN/OUT counters.
 void Pcn1001.resetInOutCounters(boolean verifyReset)
           
 SnpMessage Pcn1001SnpChannelService.sendCommand(SnpMessage snpCmd, int tout)
          Sends SNP command to the passenger counter
 SnpMessage Pcn1001SnpChannel.sendCommand(SnpMessage snpCmd, int tout)
           
 void Pcn1001Service.setDateAndTime(Calendar calendar)
          Sets date and time information.
 void Pcn1001.setDateAndTime(Calendar calendar)
           
 void Pcn1001Service.setInputLine(int line, short function)
          Sets function of digital input line specified.
 void Pcn1001.setInputLine(int line, short function)
           
 void Pcn1001Service.setIpAddress(String ipAddress)
          Sets IP address.
 void Pcn1001.setIpAddress(String ipAddress)
           
 void Pcn1001Service.setLedLightIntensity(int lightIntensity)
          Sets LED light intensity.
 void Pcn1001.setLedLightIntensity(int lightIntensity)
           
 void Pcn1001Service.setOutputOpenTime(int line, short openTime)
          Sets open time for specified optocoupled output
 void Pcn1001.setOutputOpenTime(int line, short openTime)
           
 boolean SnpMessage.validCrc16()
          Reports if CRC16 of the reply message is valid
 

Constructors in com.eurotech.framework.protocol.pcn that throw EsfException
Pcn1001SnpChannel(org.osgi.service.io.ConnectionFactory connFactory, Properties connectionConfig, org.osgi.framework.BundleContext bundleContext, Object user)
          Pcn1001SnpChannel constructor.
SnpMessage(ArrayList msg)
          SnpMessage - Reply constructor
SnpMessage(int src, int dst)
          SnpMessage constructor
SnpMessage(int src, int dst, String command)
          Short SNP message constructor
SnpMessage(int src, int dst, String command, ArrayList paramlist)
          SnpMessage constructor
 

Uses of EsfException in com.eurotech.framework.usb
 

Methods in com.eurotech.framework.usb that throw EsfException
 UsbServices UsbService.getUsbServices()
          Gets the UsbServices currently available as specified by JSR-80 in the javax.usb
 



Copyright © 2013. All Rights Reserved.