targetLocal

abstract fun targetLocal(): IPolySystemService

Returns a IPolySystemService targeting the calls to the local com.poly.polyos.room.DeviceType

Returns the same instance if called from PRIMARY.

If called from CONTROLLER, the returned instance targets calls to CONTROLLER. Only the following methods are available to be targeted to CONTROLLER. Other methods if called on the this returned instance will throw com.poly.polyos.PolyOsException

By Default all calls are targeted to PRIMARY.