hudson.plugins.jabber.im
Class IMMessage

java.lang.Object
  extended by hudson.plugins.jabber.im.IMMessage
Direct Known Subclasses:
JabberMessage

public class IMMessage
extends java.lang.Object


Constructor Summary
IMMessage(java.lang.String from, java.lang.String to, java.lang.String body)
           
 
Method Summary
 java.lang.String getBody()
          Returns the message body in a plain-text format.
 java.lang.String getFrom()
          Return the sender of the message.
 java.lang.String getTo()
          Return the addressee of the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMMessage

public IMMessage(java.lang.String from,
                 java.lang.String to,
                 java.lang.String body)
Method Detail

getTo

public java.lang.String getTo()
Return the addressee of the message. The result is in a protocol specific format. May be null.


getFrom

public java.lang.String getFrom()
Return the sender of the message. The result is in a protocol specific format.


getBody

public java.lang.String getBody()
Returns the message body in a plain-text format.



Copyright © 2009. All Rights Reserved.