IP*Works! V9

ipworks
Class XmppMessageInEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ipworks.XmppMessageInEvent
All Implemented Interfaces:
java.io.Serializable

public class XmppMessageInEvent
extends java.util.EventObject

This event is fired upon receipt of a message.

When a message is received, the XMPP bean will parse the sender's Jabber ID into the From , Domain , and Resource fields. These parameters can be used to track the exact instance of a user's account that originated the message.

MessageId can be used with Jabber extension protocols. The MessageText parameter is the plaintext portion of the message body. MessageHTML will contain any HTML from the message.

Type the type of message received. See MessageType for a list of possible values. For message of type "headline", Subject will reflect the subject of the message. For messages of type "chat", Thread will report the conversation thread for which the current message is a follow-up.

Other will contains any extra data associated with the message but not defined by the XMPP-IM protocol.

See Also:
Xmpp, Xmpp.MessageInEvent, Serialized Form

Field Summary
 java.lang.String domain
           
 java.lang.String from
           
 java.lang.String messageHTML
           
 java.lang.String messageId
           
 java.lang.String messageText
           
 java.lang.String messageThread
           
 int messageType
           
 java.lang.String other
           
 java.lang.String resource
           
 java.lang.String subject
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

messageId

public java.lang.String messageId

from

public java.lang.String from

domain

public java.lang.String domain

resource

public java.lang.String resource

messageType

public int messageType

subject

public java.lang.String subject

messageThread

public java.lang.String messageThread

messageText

public java.lang.String messageText

messageHTML

public java.lang.String messageHTML

other

public java.lang.String other

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.