JML

net.sf.jml.protocol.outgoing
Class OutgoingUUX

java.lang.Object
  extended by net.sf.jml.protocol.MsnMessage
      extended by net.sf.jml.protocol.MsnOutgoingMessage
          extended by net.sf.jml.protocol.outgoing.OutgoingUUX

public class OutgoingUUX
extends MsnOutgoingMessage

Set personal message and current media.

Supported Protocol: MSNP11

Syntax: UUX trId msgLen\r\n content

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
OutgoingUUX(MsnProtocol protocol)
           
 
Method Summary
protected  boolean isSupportChunkData()
          If support chunk data, then can set chunk data.
 void setCurrentMedia(String currentMedia)
           
 void setCurrentMedia(String title, String artist, String album, GUID contentId)
           
 void setPersonalMessage(String message)
           
 
Methods inherited from class net.sf.jml.protocol.MsnOutgoingMessage
messageSent, receivedResponse
 
Methods inherited from class net.sf.jml.protocol.MsnMessage
addParam, asString, clearParams, getChunkData, getCommand, getParam, getParamCount, getProtocol, getTransactionId, isSupportTransactionId, load, save, setChunkData, setChunkData, setCommand, setParam, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutgoingUUX

public OutgoingUUX(MsnProtocol protocol)
Method Detail

isSupportChunkData

protected boolean isSupportChunkData()
Description copied from class: MsnMessage
If support chunk data, then can set chunk data.

Overrides:
isSupportChunkData in class MsnMessage
Returns:
is support chunk data

setPersonalMessage

public void setPersonalMessage(String message)

setCurrentMedia

public void setCurrentMedia(String currentMedia)

setCurrentMedia

public void setCurrentMedia(String title,
                            String artist,
                            String album,
                            GUID contentId)

JML