Class WesServer

java.lang.Object
org.rockhopper.smarthome.wes.jwes.model.WesServer

public class WesServer extends Object
  • Constructor Details

    • WesServer

      public WesServer(String macAddress)
      Instiantiate and initialize a WES based on its MAC Address
      Parameters:
      macAddress - MAC Address can be xx:xx:xx:xx:xx:xx (else xxxxxxxxxxxx)
    • WesServer

      public WesServer(String macAddress, WesConfig wesConfig)
  • Method Details

    • label

      public Set<Field<?,?>> label()
    • startPolling

      public boolean startPolling(WesEventListener eventListener)
    • stopPolling

      public void stopPolling()
    • getWesConfig

      public WesConfig getWesConfig()
    • getWesData

      public WesData getWesData()
    • setMacAddress

      public void setMacAddress(String macAddress)
    • getMacAddress

      public String getMacAddress()
    • forceUpdate

      public <V, W> void forceUpdate(Field<V,W> field, V newValue)