us.ihmc.utilities.listeners.messages
Class StringMessage

java.lang.Object
  extended by us.ihmc.utilities.listeners.messages.StringMessage
All Implemented Interfaces:
java.io.Serializable, ListenerMessage

public class StringMessage
extends java.lang.Object
implements ListenerMessage

See Also:
Serialized Form

Constructor Summary
StringMessage(java.lang.String string)
           
 
Method Summary
static boolean executeIfLabelMatch(java.lang.String label, java.io.DataInputStream dataInputStream, Listener3D listener3D)
           
 java.lang.String getLabel()
           
static java.lang.String getTypeLabel()
           
 void streamInData(java.io.DataInputStream dataInputStream)
           
static StringMessage streamInIfLabelMatch(java.lang.String label, java.io.DataInputStream dataInputStream)
           
 void streamOutData(java.io.DataOutputStream dataOutputStream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMessage

public StringMessage(java.lang.String string)
Method Detail

streamOutData

public void streamOutData(java.io.DataOutputStream dataOutputStream)
                   throws java.io.IOException
Specified by:
streamOutData in interface ListenerMessage
Throws:
java.io.IOException

streamInData

public void streamInData(java.io.DataInputStream dataInputStream)
                  throws java.io.IOException
Specified by:
streamInData in interface ListenerMessage
Throws:
java.io.IOException

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface ListenerMessage

getTypeLabel

public static java.lang.String getTypeLabel()

streamInIfLabelMatch

public static StringMessage streamInIfLabelMatch(java.lang.String label,
                                                 java.io.DataInputStream dataInputStream)
                                          throws java.io.IOException
Throws:
java.io.IOException

executeIfLabelMatch

public static boolean executeIfLabelMatch(java.lang.String label,
                                          java.io.DataInputStream dataInputStream,
                                          Listener3D listener3D)
                                   throws java.io.IOException
Throws:
java.io.IOException