Examples of LFSHost


Examples of net.sphene.goim.components.lfs.LFSAddin.LFSHost

    if (s == null)
      subscriptions.put(lfsusername.toLowerCase(),
          s = new ArrayList<String>());
    if (!s.contains(jid))
      s.add(jid);
    LFSHost host = parent.getHostOf(lfsusername);
    if (host != null) {
      JID from = new JID(lfsusername, componentJID.getDomain(), null);
      sendPresence(from, jid, lfsusername, host);
    }
  }
View Full Code Here

Examples of net.sphene.goim.components.lfs.LFSAddin.LFSHost

      userlevel = -1
  )
  public Template showInfo(HTTPModule.Args args) {
    if(args.msg.getMsgParameter() < 1) return null;
    String racerName = args.msg.getMsgParameter(0);
    LFSHost host = lfs.racersOnline.get(racerName.toLowerCase());
    args.context.put("racerName",racerName);
    args.context.put("host",host);
    args.context.put("addin",this);
    return args.getThemeTemplate("goim/lfs/showinfo.vm");
  }
View Full Code Here

Examples of net.sphene.goim.components.lfs.LFSAddin.LFSHost

        g.fillRect(0,0,image.getWidth(),image.getHeight());
        g.setColor(Color.BLACK);

        if(args.msg.getMsgParameter() > 0) {
          String racerName = args.msg.getMsgParameter(0).replace("%20"," ").toLowerCase();
          LFSHost host = lfs.racersOnline.get(racerName);
          g.drawImage(getImage(host),1,0,null);
          StringBuffer buf = new StringBuffer();
          if(!small) buf.append(racerName).append(": ");
          if(host == null) {
            buf.append("Offline");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.