Class SomPumiceObject

java.lang.Object
com.isode.som.pumice.objects.SomPumiceObject
Direct Known Subclasses:
SomPumiceConnection, SomPumiceMailbox, SomPumiceMessage, SomPumiceMessageStore

public abstract class SomPumiceObject extends Object
Base class on which the other Pumice objects are built.
Author:
tc
  • Field Details

  • Constructor Details

    • SomPumiceObject

      public SomPumiceObject()
    • SomPumiceObject

      public SomPumiceObject(SomPumiceSession session)
    • SomPumiceObject

      public SomPumiceObject(SomPumiceSession session, String[] pairs)
  • Method Details

    • getSession

      public SomPumiceSession getSession()
    • notifyListeners

      protected void notifyListeners(SomCommand command, int status)
    • notifyListeners

      protected void notifyListeners(SomCommand command, int status, String detail)
    • notifyListeners

      protected void notifyListeners(SomCommand command, int status, String[] pairs)
    • notifyListener

      protected void notifyListener(SomCommandListener listener, int status)
    • addBindListener

      public void addBindListener(SomPumiceBindListener l)
    • removeBindListener

      public void removeBindListener(SomPumiceBindListener l)
    • notifyBindListeners

      protected void notifyBindListeners(int status)
    • parsePairs

      protected void parsePairs(String[] pairs)
    • clearAttributes

      protected void clearAttributes()
    • addAttribute

      protected void addAttribute(String type, String value)
    • addAttribute

      public void addAttribute(String av)
    • getIntegerAttributeValue

      protected Integer getIntegerAttributeValue(int type) throws SomException
      Throws:
      SomException
    • getStringAttributeValue

      protected String getStringAttributeValue(int type) throws SomException
      Throws:
      SomException
    • getBooleanAttributeValue

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

      public void print()
    • setSkipNotifications

      protected void setSkipNotifications(int n)