Class SomQmgrObject

    • Field Detail

      • errortext

        public java.lang.String errortext
    • Constructor Detail

      • SomQmgrObject

        public SomQmgrObject()
        Create a new empty SomQmgrObject
      • SomQmgrObject

        public SomQmgrObject​(SomSession session)
        Create a new empty SomQmgrObject for a particular session
        Parameters:
        session - the SomSession for this object
      • SomQmgrObject

        public SomQmgrObject​(SomSession session,
                             java.lang.String[] pairs)
        Create a new SomQmgrObject by parsing a set of key:value pairs
        Parameters:
        session - the SomSession for this object
        pairs - key:value pairs to parse
    • Method Detail

      • getSession

        public SomSession getSession()
        Get the SomSession associated with an object
        Returns:
        the SomSession for this object
      • notifyListeners

        protected void notifyListeners​(SomCommand command,
                                       int status,
                                       java.lang.String detail)
      • notifyListener

        protected void notifyListener​(SomCommandListener listener,
                                      int status,
                                      java.lang.String detail)
      • addBindListener

        public void addBindListener​(SomQmgrBindListener l)
        Add a listener for Bind responses
        Parameters:
        l - the listener to add
      • removeBindListener

        public void removeBindListener​(SomQmgrBindListener l)
        Remove a listener for Bind responses
        Parameters:
        l - the listener to remove
      • notifyBindListeners

        protected void notifyBindListeners​(int status)
      • parsePairs

        protected void parsePairs​(java.lang.String[] pairs)
      • clearAttributes

        protected void clearAttributes()
      • addAttribute

        protected void addAttribute​(java.lang.String type,
                                    java.lang.String value)
      • addAttribute

        public void addAttribute​(java.lang.String av)
        Add an attribute to an object
        Parameters:
        av - the key:value pair to parse and add
      • getIntegerAttributeValue

        protected java.lang.Integer getIntegerAttributeValue​(int type)
                                                      throws SomException
        Throws:
        SomException
      • getDoubleAttributeValue

        protected java.lang.Double getDoubleAttributeValue​(int type)
                                                    throws SomException
        Throws:
        SomException
      • getStringAttributeValue

        protected java.lang.String getStringAttributeValue​(int type)
                                                    throws SomException
        Throws:
        SomException
      • getBooleanAttributeValue

        protected boolean getBooleanAttributeValue​(int type)
                                            throws SomException
        Throws:
        SomException
      • print

        public void print()
        Debug print function
      • print_str

        public java.lang.String print_str()
        Return debug string
        Returns:
        debug string
      • setSkipNotifications

        protected void setSkipNotifications​(int n)