Package galena.addins.modules.database.DB

Examples of galena.addins.modules.database.DB.DBConnection.commit()


        StringUtils.parseBareAddress(oldWrapper.presence.getFrom()).toLowerCase(),
        StringUtils.parseResource(oldWrapper.presence.getFrom()),
        oldWrapper.presence.getMode().toString(),
        oldWrapper.date,
        new Date());
    db.commit();
    Iterator i = oldWrapper.presence.getExtensions();
    while(i.hasNext()) {
      PacketExtension ex = (PacketExtension)i.next();
      if(ex instanceof GameStatusExtension) {
        GameStatusExtension status = (GameStatusExtension)ex;
View Full Code Here


          destination = status.atts.get("servername");
        } else {
          destination = GameStatusExtension.formatSocketAddress(status.target);
        }
        db.sendInsert(null,"goim_server","game,destination,presence",gameId,destination,id);
        db.commit();
      }
    }
    db.close();
  }
  public void login() throws XMPPException {
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.