Package com.isode.som.pumice.objects
Class SomPumiceObject
java.lang.Object
com.isode.som.pumice.objects.SomPumiceObject
- Direct Known Subclasses:
SomPumiceConnection,SomPumiceMailbox,SomPumiceMessage,SomPumiceMessageStore
Base class on which the other Pumice objects are built.
- Author:
- tc
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSomPumiceObject(SomPumiceSession session) SomPumiceObject(SomPumiceSession session, String[] pairs) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String av) protected voidaddAttribute(String type, String value) voidprotected voidprotected booleangetBooleanAttributeValue(int type) protected IntegergetIntegerAttributeValue(int type) protected StringgetStringAttributeValue(int type) protected voidnotifyBindListeners(int status) protected voidnotifyListener(SomCommandListener listener, int status) protected voidnotifyListeners(SomCommand command, int status) protected voidnotifyListeners(SomCommand command, int status, String detail) protected voidnotifyListeners(SomCommand command, int status, String[] pairs) protected voidparsePairs(String[] pairs) voidprint()voidprotected voidsetSkipNotifications(int n)
-
Field Details
-
errortext
-
somSession
-
-
Constructor Details
-
SomPumiceObject
public SomPumiceObject() -
SomPumiceObject
-
SomPumiceObject
-
-
Method Details
-
getSession
-
notifyListeners
-
notifyListeners
-
notifyListeners
-
notifyListener
-
addBindListener
-
removeBindListener
-
notifyBindListeners
protected void notifyBindListeners(int status) -
parsePairs
-
clearAttributes
protected void clearAttributes() -
addAttribute
-
addAttribute
-
getIntegerAttributeValue
- Throws:
SomException
-
getStringAttributeValue
- Throws:
SomException
-
getBooleanAttributeValue
- Throws:
SomException
-
print
public void print() -
setSkipNotifications
protected void setSkipNotifications(int n)
-