net.sf.juoserver.protocol
Class UnicodeSpeechRequest

java.lang.Object
  extended by net.sf.juoserver.protocol.AbstractMessage
      extended by net.sf.juoserver.protocol.UnicodeSpeechRequest
All Implemented Interfaces:
Serializable, Message

public class UnicodeSpeechRequest
extends AbstractMessage

See Also:
Serialized Form

Field Summary
protected static int CODE
           
 
Fields inherited from class net.sf.juoserver.protocol.AbstractMessage
NO_CODE, UTF8
 
Constructor Summary
UnicodeSpeechRequest(byte[] contents)
           
UnicodeSpeechRequest(MessageType messageType, int hue, int font, String language, String text)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getFont()
           
 int getHue()
           
 String getLanguage()
           
 MessageType getMessageType()
           
 String getText()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class net.sf.juoserver.protocol.AbstractMessage
encode, getCode, getLength, getName, isCompressed, wrapContents, wrapContents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CODE

protected static final int CODE
See Also:
Constant Field Values
Constructor Detail

UnicodeSpeechRequest

public UnicodeSpeechRequest(byte[] contents)

UnicodeSpeechRequest

public UnicodeSpeechRequest(MessageType messageType,
                            int hue,
                            int font,
                            String language,
                            String text)
Method Detail

getMessageType

public MessageType getMessageType()

getHue

public int getHue()

getFont

public int getFont()

getLanguage

public String getLanguage()

getText

public String getText()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Specified by:
hashCode in class AbstractMessage

equals

public boolean equals(Object obj)
Specified by:
equals in class AbstractMessage


Copyright © 2010-2012. All Rights Reserved.