| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SOCKeyedMessage
This indicates that a SOCMessage type contains a keyed text field which needs
 to be localized while sending to clients.  This is different from SOCGameTextMsg
 because this message type also contains non-text data fields.
| Method Summary | |
|---|---|
|  java.lang.String | getKey()Get the message localization key, from StringManager.get(String),
 to look up and send the text of as part of this message. | 
|  java.lang.String | toCmd(java.lang.String localizedText)Construct a message ready to be sent, like SOCMessage.toCmd(), with text localized by the server. | 
| Method Detail | 
|---|
java.lang.String getKey()
StringManager.get(String),
 to look up and send the text of as part of this message.
nulljava.lang.String toCmd(java.lang.String localizedText)
SOCMessage.toCmd(), with text localized by the server.
localizedText - Text field contents localized by the server, from getKey() and the
     client's locale, or null if getKey() == null
SOCMessage.toCmd()| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||