Package 

Class SandO


  • 
    public class SandO
    
                        

    Serial number of device connection.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final int o
      private volatile int s
    • Constructor Summary

      Constructors 
      Constructor Description
      SandO()
    • Method Summary

      Modifier and Type Method Description
      int getO() Get the serial number of connection with the device.
      int getS() Get message sequence number.
      void setS(int s) Set message sequence number, each time you send will increment by 1.
      void SAdd() Increase sequence number of message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SandO

        SandO()
    • Method Detail

      • getO

         int getO()

        Get the serial number of connection with the device.

      • getS

         int getS()

        Get message sequence number.

      • setS

         void setS(int s)

        Set message sequence number, each time you send will increment by 1.

        Parameters:
        s - message sequence number.
      • SAdd

         void SAdd()

        Increase sequence number of message.