Package xnap.plugin.nap.net

Examples of xnap.plugin.nap.net.User


  }
    }

    public void received()
    {
  User u = server.getUser(nick);
  u.setClientInfo(clientInfo);
  u.setConnectDuration(connectDuration);
  u.setDownloadCount(downloadCount);
  u.setFileCount(sharedCount);
  u.setIP(ip);
  u.setLevel(userLevel);
  u.setLinkSpeed(linkSpeed);
  u.setStatus(status);
  u.setUploadCount(uploadCount);

  u.notifyWhoisReceived();
 
  StringBuffer sb = new StringBuffer();
  sb.append("=== whois " + nick + " ===");
  sb.append(nick);
  sb.append("server: ");
View Full Code Here


  linkSpeed = Integer.parseInt(t.nextToken());
    }

    public void received()
    {
  User u = server.getUser(nick);
  u.setFileCount(fileCount);
  u.setLinkSpeed(linkSpeed);

  Channel c = server.getChannel(channelName);
  c.add(u);
    }
View Full Code Here

  }
    }

    public void received()
    {
  User user = server.getUser(nick);
  user.setIP(ip);
  user.setLinkSpeed(linkSpeed);
  if (clientInfo != null) {
      user.setClientInfo(clientInfo);
  }
    }
View Full Code Here

    public void received()
    {
  Preferences prefs = Preferences.getInstance();
 
  if (!message.trim().equals("//WantQueue")) {
      User user = server.getUser(nick);
      if (user.isChatIgnored()) {
      if (prefs.getSendChatIgnoreMessage()) {
        xnap.plugin.nap.net.msg.client.PrivateMessage msg
      = new xnap.plugin.nap.net.msg.client.PrivateMessage
          (nick, prefs.getChatIgnoreMessage());
          MessageHandler.send(server, msg);
View Full Code Here

  nick = t.nextToken();
    }

    public void received()
    {
  User u = server.getUser(nick);
  u.setStatus(IUser.STATUS_OFFLINE);
    }
View Full Code Here

  linkSpeed = Integer.parseInt(t.nextToken());
    }

    public void received()
    {
  User u = server.getUser(nick);
  u.setFileCount(fileCount);
  u.setLinkSpeed(linkSpeed);

  Channel c = server.getChannel(channelName);
  c.add(u);
    }
View Full Code Here

  linkSpeed = Integer.parseInt(t.nextToken());
    }

    public void received()
    {
  User u = server.getUser(nick);
  u.setLinkSpeed(linkSpeed);
  u.setStatus(IUser.STATUS_ONLINE);
    }
View Full Code Here

  linkSpeed = Integer.parseInt(t.nextToken());
    }

    public void received()
    {
  User u = server.getUser(nick);
  u.setFileCount(fileCount);
  u.setLinkSpeed(linkSpeed);

  Channel c = server.getChannel(channelName);
  c.remove(u);
    }
View Full Code Here

    }

    public void received()
    {

  User u = server.getUser(nick);
  u.setLastSeen(lastSeen);
  u.setLevel(userLevel);

  StringBuffer sb = new StringBuffer();
  sb.append("server: ");
  sb.append(server);
  sb.append("\nuser: ");
View Full Code Here

        public void actionPerformed(ActionEvent event)
  {
      IUser[] users = getUsers();
      for (int i = 0; i < users.length; i++) {
    User u = (User)users[i];
    u.update(true);
      }
        }
View Full Code Here

TOP

Related Classes of xnap.plugin.nap.net.User

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.