Class Config.StatusConfig

java.lang.Object
com.inertia.promove.Config.StatusConfig
All Implemented Interfaces:
Config.AbstractConfig, Config.LegacyConfig
Enclosing class:
Config

public static class Config.StatusConfig
extends java.lang.Object
implements Config.LegacyConfig
class for status monitoring configuration
  • Field Summary

    Fields 
    Modifier and Type Field Description
    boolean enableStatus  
    int interval  
    int samplingChannel  
    Config.StatusConfigVersion statusVersion  
  • Constructor Summary

    Constructors 
    Constructor Description
    StatusConfig()  
  • Method Summary

    Modifier and Type Method Description
    int getBytes​(byte[] out)
    encode current configuration in a byte array
    Config.Mask getMask()
    get mask
    int parse​(byte[] in)
    pare input byte array to relevant configuration and return length of encoded config
    void set​(boolean _enableStatus, Config.StatusConfigVersion _statusVersion, int _samplingChannel, int _interval)  
    java.lang.String toString()
    create a string representation of the configuration

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait