Package net.tacospice.stevenet.NetworkMessages

Examples of net.tacospice.stevenet.NetworkMessages.ChatMessage


          return;
        }

        if (object instanceof ChatMessage)
        {
          ChatMessage message = (ChatMessage) object;

          // Invalid text?
          String messageText = message.text;
          if (messageText == null)
            return;
View Full Code Here


        }

        // Chat message
        if (object instanceof ChatMessage)
        {
          ChatMessage message = (ChatMessage) object;
          logMessage("> " + message.text);

          return;
        }
View Full Code Here

  public void sendChat(String message)
  {
    if (message == null || message.length() == 0)
      return;

    ChatMessage chatMessage = new ChatMessage();
    chatMessage.text = message;

    sendTCP(chatMessage);
  }
View Full Code Here

TOP

Related Classes of net.tacospice.stevenet.NetworkMessages.ChatMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.