Interface NetworkService

    • Method Detail

      • claim

        void claim​(java.lang.String id)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getCreator

        CreatorResponse getCreator()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getCreator

        CreatorResponse getCreator​(boolean manufacturerAsOwner)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createNetwork

        NetworkMeta createNetwork()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fetch

        NetworkMeta fetch​(java.lang.String id)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • share

        void share​(NetworkMeta network,
                   UserResponse friend)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • share

        void share​(java.lang.String networkId,
                   java.lang.String friendUsername)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateState

        void updateState​(java.util.UUID id,
                         java.lang.String data)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getState

        java.lang.String getState​(java.util.UUID id)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createDevice

        java.lang.String createDevice​(java.lang.String networkId)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDevice

        DeviceResponse getDevice​(java.util.UUID device)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getValue

        ValueResponse getValue​(java.util.UUID fromString)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception