GitHub user dlaboss reopened a pull request:

    https://github.com/apache/incubator-edgent/pull/280

    [WIP] [Edgent-377] IotGateway

    Add IotGateway
    Add IotDevice.{getDeviceType(),getDeviceId(),CMD_DEVICE}
    
    These IotDevice changes break existing IotDevice implementations but in
    practice this won't be a problem - its highly unlikely any IotDevice
    implementations exist outside of this repository (and adapting is
    trivial).  "default" can't be used due to support for Java7/Android.  
    
    Other schemes are possible that avoid this but they don't model things
    as well (an IotDevice really does have an Id), introduce even more types
    (e.g., a IotGatewayConnectedDevice), and/or are less convenient to use.
    e.g., those new IotDevice methods could be migrated to IotGateway -
    IotGateway.getDeviceId(IotDevice).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dlaboss/incubator-edgent edgent377-iotGateway

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-edgent/pull/280.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #280
    
----
commit 3d66a15305f45463405f8defce2f3ae9fe432609
Author: Dale LaBossiere <dlab...@us.ibm.com>
Date:   2017-02-01T20:39:48Z

    [Edgent-374] [COMMENTS?] IotGateway [ci-skip]
    
    Add IotGateway
    Add IotDevice.{getDeviceType(),getDeviceId(),CMD_DEVICE}
    
    These IotDevice changes break existing IotDevice implementations but in
    practice this won't be a problem - its highly unlikely any IotDevice
    implementations exist outside of this repository (and adapting is
    trivial).  "default" can't be used due to support for Java7/Android.  
    
    Other schemes are possible that avoid this but they don't model things
    as well (an IotDevice really does have an Id), introduce even more types
    (e.g., a IotGatewayConnectedDevice), and/or are less convenient to use.
    e.g., those new IotDevice methods could be migrated to IotGateway -
    IotGateway.getDeviceId(IotDevice).

commit b5841855a034aa8bc65356521126965554df3f50
Author: Dale LaBossiere <dlab...@us.ibm.com>
Date:   2017-02-01T21:40:36Z

    update package-info

commit d52591b2a90493518f347c3e8fc380f067d6ff6c
Author: Dale LaBossiere <dlab...@us.ibm.com>
Date:   2017-02-03T21:16:34Z

    updates / cleanup
    
    - add the ability to avoid use of IotDevice from a gateway context

commit aed7224a9dee2f61d276a4bf0f1f2844615e7fdd
Author: Dale LaBossiere <dlab...@us.ibm.com>
Date:   2017-02-23T22:10:13Z

    Initial IotpGateway implementation
    
    - some updates to the initial IotGateway interface
    - add IotpGateway and its runtime classes
    - add sample clients - it all seems to be working
    - TODO flesh out the new IotDevice methods in EchoIotDevice, MqttDevice
    and PubSubIotDevice

commit 66ad5f264bf589e9addaaaccce5e446d183ed7cd
Author: Dale LaBossiere <dlab...@us.ibm.com>
Date:   2017-02-23T22:34:57Z

    fix javadoc warnings

commit 13447fcaa7eff7c9423e3b987f9671eecb263650
Author: Dale LaBossiere <dlab...@us.ibm.com>
Date:   2017-02-24T13:23:15Z

    flesh out new methods in EchoIotDevice and MqttDevice

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to