Package com.uwyn.drone.protocol

Examples of com.uwyn.drone.protocol.ServerMessage


        reply =  formatted_result.toString();
        return reply;
      }
      else
      {
        ServerMessage message = ServerMessage.parse(search_result.getRaw());
       
        StringBuffer  formatted_result = new StringBuffer();
        formatted_result.append(search_result.getNickname());
        formatted_result.append(" (");
        formatted_result.append(message.getPrefix().getRaw().substring(1));
        formatted_result.append(") was last seen in ");
        formatted_result.append(channel.getName());
        formatted_result.append(" on ");
        formatted_result.append(DATE_FORMAT.format(search_result.getMoment()));
        formatted_result.append(", saying '");
View Full Code Here


              return;
            }
            // handle the received message
            else
            {
              ServerMessage message = ServerMessage.parse(message_string);
              // detect the hostname of the irc server
              if (null == mConnectedHost &&
                message.getPrefix() != null)
              {
                mConnectedHost = message.getPrefix().getServerName();
              }
              fireServerMessageEvents(message);
            }
          }
          catch (SocketTimeoutException e)
View Full Code Here

TOP

Related Classes of com.uwyn.drone.protocol.ServerMessage

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.