Class PlainDeviceID

  • All Implemented Interfaces:
    IDeviceID

    public class PlainDeviceID
    extends java.lang.Object
    implements IDeviceID
    Using device id path as id
    • Constructor Detail

      • PlainDeviceID

        public PlainDeviceID​(java.lang.String deviceID)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringID

        public java.lang.String toStringID()
        Description copied from interface: IDeviceID
        to string format
        Specified by:
        toStringID in interface IDeviceID
        Returns:
        string format device id
      • serialize

        public void serialize​(java.nio.ByteBuffer byteBuffer)
        Specified by:
        serialize in interface IDeviceID
      • deserialize

        public static PlainDeviceID deserialize​(java.nio.ByteBuffer byteBuffer)