| java.lang.Object org.datashare.objects.InstantMsgData
InstantMsgData | public class InstantMsgData implements java.io.Serializable(Code) | | Used by InstantMessenger to send messages and to invite another User to a Session
author: Charles Wood version: 1.0 |
ACCEPT | final public static int ACCEPT(Code) | | msgType value, used when we are accepting an invitation to a Session
|
CANCEL | final public static int CANCEL(Code) | | msgType value, used when we are telling other user we do not want to join their Session
|
INVITE | final public static int INVITE(Code) | | msgType value, used when we are sending a Session invitation to another user
|
PLAIN | final public static int PLAIN(Code) | | msgType value, used when all we are sending is a message
|
destinationClientKeyValue | public String[] destinationClientKeyValue(Code) | | who this message is to be sent to
|
msg | public String msg(Code) | | the message to be displayed by IM
|
msgType | public int msgType(Code) | | indicates what type of message this is
|
serialVersionUID | final static long serialVersionUID(Code) | | this allows us to serialize this class without 'marshalling' errors.
|
InstantMsgData | public InstantMsgData()(Code) | | constructor
|
InstantMsgData | public InstantMsgData(String[] destinationUser, String msg)(Code) | | the normal constructor for this class when sending a plain (no reply) message
Parameters: msg - the text to send along with this message |
InstantMsgData | public InstantMsgData(String[] destinationUser, String msg, int msgType)(Code) | | the normal constructor for this class
Parameters: msg - the text to send along with this message Parameters: msgType - the type of message this instance represents, should bePLAIN, CANCEL, INVITE, or ACCEPT |
|
|